Difference between revisions of "Template:Ride location sub-page breadcrumb"

From World Naked Bike Ride
Jump to: navigation, search
m (Usage text more clear)
m (clearly mention '|')
Line 3: Line 3:
 
Both names must be spelled exactly as they occur 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):
 
Both names must be spelled exactly as they occur 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: <nowiki>{{Ride location breadcrumb|Country=</nowiki>''Country name''<nowiki>|RideLocation=</nowiki>''Ride location name''<nowiki>}}</nowiki>
 
*USAGE 1: <nowiki>{{Ride location breadcrumb|Country=</nowiki>''Country name''<nowiki>|RideLocation=</nowiki>''Ride location name''<nowiki>}}</nowiki>
In sub-pages only, the editor(s) of a ride location may chose whether the aforementioned suffix gets shown, if so:  
+
In sub-pages only, the editor(s) of a ride location may chose whether the aforementioned suffix gets shown; if so, it comes behind an extra '|':  
 
*USAGE 2: <nowiki>{{Ride location breadcrumb|Country=</nowiki>''Country name''<nowiki>|RideLocation=</nowiki>''Ride location name''|''Ride location suffix''<nowiki>}}</nowiki>
 
*USAGE 2: <nowiki>{{Ride location breadcrumb|Country=</nowiki>''Country name''<nowiki>|RideLocation=</nowiki>''Ride location 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:
 
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:
 
*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>
 
*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:35, 27 April 2020

Home > List of rides [[List of rides#{{{Country}}}|>]] Missing 'Country' parameter > Missing 'RideLocation' parameter > Ride location sub-page breadcrumb   •  Google Ride location sub-page breadcrumb WNBR


What you see here above, is the mere result of calling this template without the compulsory parameters.
In each ride location sub-page, always at top of the text, use one of these {{...}} tags, in which 2 names must be passed:

Both names must be spelled exactly as they occur 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|RideLocation=Ride location name}}

In sub-pages only, the editor(s) of a ride location may chose whether the aforementioned suffix gets shown; if so, it comes behind an extra '|':

  • USAGE 2: {{Ride location breadcrumb|Country=Country name|RideLocation=Ride location 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}}