Difference between revisions of "Template:Country breadcrumb"

From World Naked Bike Ride
Jump to: navigation, search
(Google Translate has a serious problem with wiki markup [near (some) tags]: using Html with inline css instead.)
(Google Translate has a serious problem with complex markup: attempting using hex for special characters)
Line 2: Line 2:
 
*USAGE 1: <span class="notranslate" translate="no" lang="en"><nowiki>{{Country breadcrumb}}</nowiki></span>
 
*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:  
 
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" lang="en"><nowiki>}}</nowiki></span>
+
*USAGE 2: <span class="notranslate" translate="no" lang="en"><nowiki>{{Country breadcrumb|</nowiki></span><span style="font-style:italic;">Translation(s) line</span><nowiki>}}</nowiki>
In case this translation(s) line receives your markup with an '=' in it,<br />e.g. <span class="notranslate" translate="no" lang="en">(&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;</span><span style="font-style:italic;">translation(s)</span>'<span class="notranslate" translate="no" lang="en">&lt;/span&gt;)</span><br />one must apply USAGE 2BIS:
+
In case this translation(s) line receives your markup with an '&#61;' in it,<br />e.g. <span class="notranslate" translate="no" lang="en">(&lt;span title<span style="color:#C99;">&#61;</span>&#34;...&#34; class<span style="color:#C99;">&#61;</span>&#34;...&#34; style<span style="color:#C99;">&#61;</span>&#34;...&#34; lang<span style="color:#C99;">&#61;</span>&#34;...&#34;&gt;</span><span style="font-style:italic;">translation(s)</span><span class="notranslate" translate="no" lang="en">&lt;&#47;span&gt;)</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" lang="en"><nowiki>}}</nowiki></span>
+
*USAGE 2BIS: <span class="notranslate" translate="no" lang="en"><nowiki>{{Country breadcrumb|1&#61;</nowiki></span><span style="font-style:italic;">Translation(s) line</span><nowiki>}}</nowiki>
 
<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 <span class="notranslate" translate="no" lang="en">[[:Category:Countries]]</span>.</p>[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
<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 <span class="notranslate" translate="no" lang="en">[[:Category:Countries]]</span>.</p>[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 11:22, 28 April 2020

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


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 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}}

This template must be called only from correctly named country pages (not from e.g. any sub-pages or ride location pages).
There it shows a proper 'breadcrumb trail' and ensures putting that country (the calling page name) into Category:Countries.