Difference between revisions of "Template:Ride location breadcrumb"

From World Naked Bike Ride
Jump to: navigation, search
(Google search: country name not within quotes: allow Google to get e.g. name in other languages. New search string.)
m (Google search string: minor modification)
Line 1: Line 1:
<span style="font-size:86%">[[Home]] > [[List of rides]] [[List of rides#{{{Country}}}|>]] [[{{{Country|Missing 'Country' parameter}}}]] > {{PAGENAME}}&#8202;<span class="notranslate" translate="no" style="font-style:italic;">{{{1|{{{2|}}}}}}</span></span> <span class="noprint notranslate" translate="no" style="font-size:0.75em;">&bull;&nbsp;&nbsp;[http://www.google.com/search?q={{urlencode:{{PAGENAME}}}}+%2D%22biosphere%22+%2D%22cyclonus%22+%2D%22cyclonu%22+%2D%22cyclone%22+%2D%22cyclones%22+%2D%22cyclonen%22+%2D%22ciclones%22+%28+%22Naked+Bike+Ride%22+OR+%22WNBR%22+OR+%28+%22pedalpalooza%22+%28+%22naked%22+OR+nud%2A+%29+%29+OR+%22pedalada+pelada%22+OR+%22peladada%22+OR+%22Ciclistas+Nus%22+OR+cyclonudista+OR+ciclonudista+OR+cyclonudist+OR+cyclo%2Dnudist+OR+cyclonue+OR+cyclo%2Dnue+OR+ciclonudist+%29 Google this ride!]</span><includeonly>[[Category:{{{Country|Ride locations with missing 'Country' parameter}}}]][[Category:Ride locations|{{PAGENAME}}]]</includeonly><noinclude><hr>What you see here above, is the mere result of calling this template ''without'' the compulsory main parameter.{{Google translation link}}<span style="display:inline-block;font-size:88%;font-weight:700;margin-bottom:.75em;"><span style="font-variant:small-caps;letter-spacing:.3ex;padding:.18em 1ex .15em 1ex;color:gold;background-color:gray;">User manual</span><span style="padding:.18em .6ex .15em .8ex;background-color:gold;">To put the ''English instructions'' in another language, click its 2-character code in the above series.</span></span><br />In each ride location page, always at top of the text, use one of these <nowiki>{{...}}</nowiki> tags, in which a name must be passed:
+
<span style="font-size:86%">[[Home]] > [[List of rides]] [[List of rides#{{{Country}}}|>]] [[{{{Country|Missing 'Country' parameter}}}]] > {{PAGENAME}}&#8202;<span class="notranslate" translate="no" style="font-style:italic;">{{{1|{{{2|}}}}}}</span></span> <span class="noprint notranslate" translate="no" style="font-size:0.75em;">&bull;&nbsp;&nbsp;[http://www.google.com/search?q={{urlencode:{{PAGENAME}}}}+%2D%22biosphere%22+%2D%22cyclonus%22+%2D%22cyclonu%22+%2D%22cyclone%22+%2D%22cyclones%22+%2D%22cyclonen%22+%2D%22ciclones%22+%28+%22Naked+Bike+Ride%22+OR+%22WNBR%22+OR+%28+%22pedalpalooza%22+%28+%22naked%22+OR+%22nude%22+OR+nudist+%29+%29+OR+%22pedalada+pelada%22+OR+%22peladada%22+OR+%22Ciclistas+Nus%22+OR+cyclonudista+OR+ciclonudista+OR+cyclonudist+OR+cyclo%2Dnudist+OR+cyclonue+OR+cyclo%2Dnue+OR+ciclonudist+%29 Google this ride!]</span><includeonly>[[Category:{{{Country|Ride locations with missing 'Country' parameter}}}]][[Category:Ride locations|{{PAGENAME}}]]</includeonly><noinclude><hr>What you see here above, is the mere result of calling this template ''without'' the compulsory main parameter.{{Google translation link}}<span style="display:inline-block;font-size:88%;font-weight:700;margin-bottom:.75em;"><span style="font-variant:small-caps;letter-spacing:.3ex;padding:.18em 1ex .15em 1ex;color:gold;background-color:gray;">User manual</span><span style="padding:.18em .6ex .15em .8ex;background-color:gold;">To put the ''English instructions'' in another language, click its 2-character code in the above series.</span></span><br />In each ride location page, always at top of the text, use one of these <nowiki>{{...}}</nowiki> tags, in which a name must be passed:
  
 
It must be spelled exactly as it occurs as the country title in the <span class="notranslate" translate="no" lang="en">[[List of rides]]</span>, also the ride location suffix [the area, and/or the ride location name in other language(s)] if such occurs there (immediately behind the ride location name):
 
It must be spelled exactly as it occurs as the country title in the <span class="notranslate" translate="no" lang="en">[[List of rides]]</span>, also the ride location suffix [the area, and/or the ride location name in other language(s)] if such occurs there (immediately behind the ride location name):

Revision as of 14:32, 13 May 2020

Home > List of rides [[List of rides#{{{Country}}}|>]] Missing 'Country' parameter > Ride location breadcrumb  •  Google this ride!


What you see here above, is the mere result of calling this template without the compulsory main parameter.

Google translation: CZ / DE / EL / EN / ES / FR / IT / JA / KO / NL / PT / RU / ZH / ZT User manualTo put the English instructions in another language, click its 2-character code in the above series.
In each ride location page, always at top of the text, use one of these {{...}} tags, in which a name must be passed:

It must be spelled exactly as it occurs as the country title in the List of rides, also the ride location suffix [the area, and/or the ride location name in other language(s)] if such occurs there (immediately behind the ride location name):

  • USAGE 1: {{Ride location breadcrumb|Country=Country name}}

Or, if present in the List of rides, also the aforementioned suffix must be passed behind an extra '|':

  • USAGE 2: {{Ride location breadcrumb|Country=Country name|Ride location suffix}}

In case this ride location suffix receives your markup with an '=' in it,
e.g. <span title="..." class="..." style="..." lang="...">suffix</span>
one must apply USAGE 2BIS:

  • USAGE 2BIS: {{Ride location breadcrumb|Country=Country name|1=Ride location suffix}}

This template must be called only from correctly named ride location pages (not from e.g. any sub-page or a country page).
There it shows a proper 'breadcrumb trail' and ensures putting that ride location (calling page name) into Category:Country name (passed parameter) and into Category:Ride locationsMore about ride location categories.