Template:Ride location breadcrumb

From World Naked Bike Ride
Revision as of 09:22, 28 April 2020 by SomeHuman (talk | contribs) (fix against too unpredictable translation of 'breadcrumb trail')
Jump to: navigation, search

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.

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).
There it shows a proper 'breadcrumb trail' and ensures putting that ride location into Category:Country name (passed parameter) and into Category:Ride locations (calling page name).