Difference between revisions of "Template:Ride location breadcrumb"

From World Naked Bike Ride
Jump to: navigation, search
(Showing template usage)
m (Fix copy/paste error in the shown 'usage 2bis' syntax.)
Line 6: Line 6:
 
*USAGE 2: <nowiki>{{Ride location breadcrumb|Country=</nowiki>''Country name''|''Ride location suffix''<nowiki>}}</nowiki>
 
*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:
 
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''|1=''Ride location suffix''<nowiki>}}</nowiki>[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 00:59, 28 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|1=Ride location suffix}}