Difference between revisions of "Template:Country breadcrumb"
(<span class="notranslate" translate="no" lang="en">) |
(Google Translate has a serious problem with wiki markup [near (some) tags]: using Html with inline css instead.) |
||
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> | + | *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> |
− | 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> | + | 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> | + | *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> |
<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:01, 28 April 2020
Home > List of rides > Country breadcrumb