Difference between revisions of "Template:Ride location breadcrumb"

From World Naked Bike Ride
Jump to: navigation, search
m (Sh0w the categories list with country name first, then (all) the 'ride location' categories)
(Showing template usage)
Line 1: Line 1:
[[Home]] > [[List of rides]] [[List of rides#{{{Country}}}|>]] [[{{{Country|Missing 'Country' parameter}}}]] > {{PAGENAME}}&#8202;&#8202;<span class="notranslate" translate="no"><span style="font-style:italic;">{{{1|{{{2|}}}}}}</span> <span class="noprint" style="font-size:0.75em;">- [http://www.google.com/search?q=%22{{urlencode:{{PAGENAME}}}}%22+%28%22Naked+Bike+Ride%22+OR+%22WNBR%22%29 Google this ride!]</span></span><includeonly>[[Category:{{{Country|Ride locations with missing 'Country' parameter}}}]][[Category:Ride locations|{{PAGENAME}}]]</includeonly><noinclude><!--
+
[[Home]] > [[List of rides]] [[List of rides#{{{Country}}}|>]] [[{{{Country|Missing 'Country' parameter}}}]] > {{PAGENAME}}&#8202;&#8202;<span class="notranslate" translate="no"><span style="font-style:italic;">{{{1|{{{2|}}}}}}</span> <span class="noprint" style="font-size:0.75em;">&bull;&nbsp;&nbsp;[http://www.google.com/search?q=%22{{urlencode:{{PAGENAME}}}}%22+%28%22Naked+Bike+Ride%22+OR+%22WNBR%22%29 Google this ride!]</span></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 main compulsory parameter.<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:
  
USAGE 1: {{Template:Ride location breadcrumb|Country=EnterCountryHere}}
+
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 2: {{Template:Ride location breadcrumb|Country=EnterCountryHere|EnterRideLocationNonEnglishName(s)Here}}
+
*USAGE 1: <nowiki>{{Ride location breadcrumb|Country=</nowiki>''Country name''<nowiki>}}</nowiki>
In case this RideLocationNonEnglishName(s) contains (markup with) an '=', one must apply USAGE 2BIS:
+
Or, if present in the List of rides, also the aforementioned suffix must be passed behind an extra '|':
USAGE 2BIS: {{Template:Ride location breadcrumb|Country=EnterCountryHere|2=EnterRideLocationNonEnglishName(s)Here}}
+
*USAGE 2: <nowiki>{{Ride location breadcrumb|Country=</nowiki>''Country name''|''Ride location suffix''<nowiki>}}</nowiki>
 
+
In case this ride location suffix receives your markup with an '=' in it,<br />e.g. &lt;span title<span style="color:#C99;">=</span>"..." class<span style="color:#C99;">=</span>"..." style<span style="color:#C99;">=</span>"..." lang<span style="color:#C99;">=</span>"..."&gt;''suffix''&lt;/span&gt;<br />one must apply USAGE 2BIS:
-->[[Category:Templates|{{PAGENAME}}]]</noinclude>
+
*USAGE 2BIS: <nowiki>{{Ride location breadcrumb|Country=</nowiki>''Country name''<nowiki>|RideLocation=</nowiki>''Ride location name''|1=''Ride location suffix''<nowiki>}}</nowiki>[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 05:46, 27 April 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 main compulsory parameter.
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|RideLocation=Ride location name|1=Ride location suffix}}