Difference between revisions of "Template:Country breadcrumb"

From World Naked Bike Ride
Jump to: navigation, search
(Prevent having to pass wiki markup into the optional anonymous parameter)
(Visualized usage)
Line 1: Line 1:
[[Home]] > [[List of rides]] [[List of rides#{{PAGENAME}}|>]] {{PAGENAME}} <span class="notranslate" translate="no"><span style="font-style:italic;">{{{1|}}}</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:Countries|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
+
[[Home]] > [[List of rides]] [[List of rides#{{PAGENAME}}|>]] {{PAGENAME}}&#8202;&#8202;<span class="notranslate" translate="no"><span style="font-style:italic;">{{{1|}}}</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:Countries|{{PAGENAME}}]]</includeonly><noinclude><hr>In each country page, always at top of the text, use one of these <nowiki>{{...}}</nowiki> tags:
 +
*USAGE 1: <nowiki>{{Country breadcrumb}}</nowiki>
 +
But in case underneath the country title in the [[List of rides]], its name appears in other language(s),<br >that line exactly as you see it there must be passed behind a '|' as follows:
 +
*USAGE 2: <nowiki>{{Country breadcrumb|</nowiki>''Translation(s) line''<nowiki>}}</nowiki>
 +
In case this translation(s) line 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;''translation(s)''&lt;/span&gt;)<br />one must apply USAGE 2BIS:
 +
*USAGE 2BIS: <nowiki>{{Country breadcrumb|1=</nowiki>''Translation(s) line''<nowiki>}}</nowiki>[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 04:45, 27 April 2020

Home > List of rides > Country breadcrumb   •  Google this ride!


In each country page, always at top of the text, use one of these {{...}} tags:

  • USAGE 1: {{Country breadcrumb}}

But in case underneath the country title in the List of rides, its name appears in other language(s),
that line exactly as you see it there must be passed behind a '|' as follows:

  • USAGE 2: {{Country breadcrumb|Translation(s) line}}

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

  • USAGE 2BIS: {{Country breadcrumb|1=Translation(s) line}}