Difference between revisions of "Template:Ride location breadcrumb"
m (Apparently we may need to keep the category "Ride locations with missing 'Country' parameter" less informative than hoped for.) |
(hide "Home >" for printer) |
||
(16 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | [[Home]] > [[List of rides]] [[List of rides#{{{Country}}}|>]] [[{{{Country|Missing 'Country' parameter}}}]] > {{PAGENAME}} <span class="notranslate" translate="no" | + | <span style="font-size:86%"><span class="noprint">[[Home]] > </span>[[List of rides]] [[List of rides#{{{Country}}}|>]] [[{{{Country|Missing 'Country' parameter}}}]] > {{PAGENAME}} <span class="notranslate" translate="no" style="font-style:italic;">{{{1|{{{2|}}}}}}</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 this ride!]</span><includeonly>[[Category:{{{Country|Ride locations with missing 'Country' parameter}}}]][[Category:Ride locations|{{PAGENAME}}]]</includeonly><noinclude><hr>What you see here above, is the mere result of calling this template ''without'' the compulsory main parameter.{{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 ride location page, always at top of the text, use one of these <nowiki>{{...}}</nowiki> tags, in which a name must be passed: |
− | USAGE 1: {{ | + | It must be spelled exactly as it occurs as the country title in the <span class="notranslate" translate="no" lang="en">[[List of rides]]</span>, also the ride location suffix [the area, and/or the ride location name in other language(s)] if such occurs there (immediately behind the ride location name): |
− | USAGE 2: {{ | + | *USAGE 1: <span class="notranslate" translate="no" lang="en"><nowiki>{{Ride location breadcrumb|Country=</nowiki></span>''Country name''<span class="notranslate" translate="no" lang="en"><nowiki>}}</nowiki></span> |
− | In case this | + | 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 2BIS: {{ | + | *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>"..."></span>''suffix''<span class="notranslate" translate="no" lang="en"></span></span><br />one must apply USAGE 2BIS: | |
− | -->[[Category:Templates|{{PAGENAME}}]]</noinclude> | + | *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 class="notranslate" translate="no">[[Help:Ride location categories|<span class="translate" translate="yes">More about ride location categories</span>]]</span>.</span></p> | ||
+ | [[Category:Templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 14:24, 13 June 2023
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 compulsory main parameter.