Difference between revisions of "Template:Country breadcrumb"
(Google Translate has a serious problem with complex markup: attempting using hex for special characters) |
m (See whether Google Translate gets close...) |
||
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><nowiki>}}</nowiki> | + | *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"> | + | 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><nowiki>}}</nowiki> | + | *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 <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 13:22, 28 April 2020
Home > List of rides > Country breadcrumb