Difference between revisions of "Template:Ride location breadcrumb"
(Template function: Going by my more original concept: A Google translation of a calling page may include certain parts of the breadcrumb.) |
m (In the instructions, one more term should be allowed to get a Google translation) |
||
Line 5: | Line 5: | ||
Or, if present in the <span class="notranslate" translate="no" lang="en">List of rides</span>, also the aforementioned suffix must be passed behind an extra '|': | Or, if present in the <span class="notranslate" translate="no" lang="en">List of rides</span>, also the aforementioned suffix must be passed behind an extra '|': | ||
*USAGE 2: <span class="notranslate" translate="no" lang="en"><nowiki>{{Ride location breadcrumb|Country=</nowiki></span>''Country name''<span class="notranslate" translate="no" lang="en">|</span>''Ride location suffix''<span class="notranslate" translate="no" lang="en"><nowiki>}}</nowiki></span> | *USAGE 2: <span class="notranslate" translate="no" lang="en"><nowiki>{{Ride location breadcrumb|Country=</nowiki></span>''Country name''<span class="notranslate" translate="no" lang="en">|</span>''Ride location suffix''<span class="notranslate" translate="no" lang="en"><nowiki>}}</nowiki></span> | ||
− | In case this ride location suffix 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>"...">''suffix''</span></span><br />one must apply USAGE 2BIS: | + | In case this ride location suffix 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>''suffix''<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>{{Ride location breadcrumb|Country=</nowiki></span>''Country name''<span class="notranslate" translate="no" lang="en">|1=</span>''Ride location suffix''<span class="notranslate" translate="no" lang="en"><nowiki>}}</nowiki></span> | *USAGE 2BIS: <span class="notranslate" translate="no" lang="en"><nowiki>{{Ride location breadcrumb|Country=</nowiki></span>''Country name''<span class="notranslate" translate="no" lang="en">|1=</span>''Ride location suffix''<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 ride location pages (not from e.g. any sub-page or a country page).<br />There it shows a proper <span class="notranslate" translate="no" lang="en">[[wikipedia:breadcrumb navigation|'breadcrumb trail']]</span> and ensures putting that ride location (calling page name) into <span class="notranslate" translate="no" lang="en">Category:</span>''Country name'' (passed parameter) and into <span class="notranslate" translate="no" lang="en">[[:Category:Ride locations]]</span>.</p> | <p style="border:4px solid gold;padding:.3em 1ex .3em 1ex;font-weight:700;">This template must be called ''only'' from correctly named ride location pages (not from e.g. any sub-page or a country page).<br />There it shows a proper <span class="notranslate" translate="no" lang="en">[[wikipedia:breadcrumb navigation|'breadcrumb trail']]</span> and ensures putting that ride location (calling page name) into <span class="notranslate" translate="no" lang="en">Category:</span>''Country name'' (passed parameter) and into <span class="notranslate" translate="no" lang="en">[[:Category:Ride locations]]</span>.</p> | ||
[[Category:Templates|{{PAGENAME}}]]</noinclude> | [[Category:Templates|{{PAGENAME}}]]</noinclude> |
Revision as of 14:56, 28 April 2020
Home > List of rides [[List of rides#{{{Country}}}|>]] Missing 'Country' parameter > Ride location breadcrumb
What you see here above, is the mere result of calling this template without the main compulsory parameter.