Difference between revisions of "Template:Country breadcrumb"
(We can't prevent the page title to be translated by Google. We do prevent Google translating the new optional parameter for the country name in local languages, thus shown before 'Google this ride'. We prevent translating 'Google this ride' (often sloppy.) |
(catsort: name of country first in category) |
||
(17 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | [[Home]] > [[List of rides]] [[List of rides#{{PAGENAME}}|>]] {{PAGENAME}} <span class="notranslate" translate="no">{{{1|}}} <span style="font-size:0.75em;"> | + | <span style="font-size:86%;">[[Home]] > [[List of rides]] [[List of rides#{{PAGENAME}}|>]] {{PAGENAME}}  <span class="notranslate" translate="no" style="font-style:italic;">{{{1|}}}</span></span> <span class="noprint notranslate" translate="no" style="font-size:0.75em;">• [http://www.google.com/search?q={{urlencode:{{PAGENAME}}}}+%2D%22biosphere%22+%2D%22cyclonus%22+%2D%22cyclone%22+%2D%22cyclones%22+%2D%22cyclonen%22+%2D%22ciclones%22+%28+%22Naked+Bike+Ride%22+OR+%22WNBR%22+OR+%28+%22pedalpalooza%22+%28+%22naked%22+OR+%22nude%22+OR+nudist+%29+%29+OR+%22pedalada+pelada%22+OR+%22peladada%22+OR+%22Ciclistas+Nus%22+OR+cyclonudista+OR+ciclonudista+OR+cyclonudist+OR+cyclo%2Dnudist+OR+cyclonue+OR+cyclo%2Dnue+OR+ciclonudist+%29 Google its rides!]</span><includeonly>[[Category:{{PAGENAME}}| ]][[Category:Countries|{{PAGENAME}}]]</includeonly><noinclude><hr>{{Google translation link}}<span style="display:inline-block;font-size:88%;font-weight:700;margin-bottom:.75em;"><span style="font-variant:small-caps;letter-spacing:.3ex;padding:.18em 1ex .15em 1ex;color:gold;background-color:gray;">User manual</span><span style="padding:.18em .6ex .15em .8ex;background-color:gold;">To put the ''English instructions'' in another language, click its 2-character code in the above series.</span></span><br />In each country page, always at top of the text, use one of these <nowiki>{{...}}</nowiki> tags: |
+ | *USAGE 1: <span class="notranslate" translate="no" lang="en"><nowiki>{{Country breadcrumb}}</nowiki></span> | ||
+ | But in case underneath the country title in the <span class="notranslate" translate="no" lang="en">[[List of rides]]</span>, 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: <span class="notranslate" translate="no" lang="en"><nowiki>{{Country breadcrumb|</nowiki></span><span style="font-style:italic;">Translation(s) line</span><span class="notranslate" translate="no"><nowiki>}}</nowiki></span> | ||
+ | In case this translation(s) line receives your markup with an '=' in it,<br />e.g. <span class="notranslate" translate="no" lang="en">(<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>"..."></span><span style="font-style:italic;">translation(s)</span><span class="notranslate" translate="no" lang="en"></span>)</span><br />one must apply USAGE 2BIS: | ||
+ | *USAGE 2BIS: <span class="notranslate" translate="no" lang="en"><nowiki>{{Country breadcrumb|1=</nowiki></span><span style="font-style:italic;">Translation(s) line</span><span class="notranslate" translate="no"><nowiki>}}</nowiki></span> | ||
+ | <p style="border:4px solid gold;padding:.3em 1ex .3em 1ex;font-weight:700;">This template must be called ''only'' from correctly named country pages (not from e.g. any sub-pages or ride location pages).<br />There it shows a proper <span class="notranslate" translate="no" lang="en">[[wikipedia:breadcrumb navigation|'breadcrumb trail']]</span> and ensures putting that country (the calling page name) into a category by that very name and into <span class="notranslate" translate="no" lang="en">[[:Category:Countries]]</span>.</p>[[Category:Templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 00:54, 9 September 2021
Home > List of rides > Country breadcrumb