Difference between revisions of "Template:Ride location sub-page breadcrumb"

From World Naked Bike Ride
Jump to: navigation, search
(User manual with translation support. Correction of the by instructions shown syntax.)
(span -> div, + margin)
 
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Home]] > [[List of rides]] [[List of rides#{{{Country}}}|>]] [[{{{Country|Missing 'Country' parameter}}}]] > [[{{{RideLocation|Missing 'RideLocation' parameter}}}]]&#8202;&#8202;<span class="notranslate" translate="no"><span style="font-style:italic;">{{{1|{{{2|{{{3|}}}}}}}}}</span> > {{PAGENAME}} <span class="noprint" style="font-size:0.75em;">&bull;&nbsp;&nbsp;[http://www.google.com/search?q=%28{{urlencode:{{PAGENAME}}}}%29+%28%22Naked+Bike+Ride%22+OR+%22WNBR%22%29 Google {{PAGENAME}} WNBR]</span></span><includeonly>[[Category:{{{RideLocation|Missing 'RideLocation' parameter for}}} sub-page]][[Category:Ride location sub-page|{{{RideLocation}}}]]</includeonly><noinclude><hr>What you see here above, is the mere result of calling this template ''without'' the compulsory parameters.{{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 sub-page, always at top of the text, use one of these <nowiki>{{...}}</nowiki> tags, in which 2 names must be passed:
+
<div style="font-size:86%; margin-bottom: 7px;">[[Home]] > [[List of rides]] [[List of rides#{{{Country}}}|>]] [[{{{Country|Missing 'Country' parameter}}}]] > [[{{{RideLocation|Missing 'RideLocation' parameter}}}]]&#8202;<span class="notranslate" translate="no" style="font-style:italic;">{{{1|{{{2|{{{3|}}}}}}}}}</span> > {{PAGENAME}}</span> <span class="noprint notranslate" translate="no" style="font-size:0.75em;">&bull;&nbsp;&nbsp;[http://www.google.com/search?q=%28+{{urlencode:{{PAGENAME}}}}+%29+%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 {{PAGENAME}} WNBR]</div><includeonly>[[Category:{{{RideLocation|Missing 'RideLocation' parameter for}}} sub-pages]][[Category:Ride location sub-pages|{{{RideLocation}}}]]</includeonly><noinclude>
  
Both names must be spelled exactly as they occur in the [[List of rides]], 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):
+
<hr>What you see here above, is the mere result of calling this template ''without'' the compulsory parameters.{{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 sub-page, always at top of the text, use one of these <nowiki>{{...}}</nowiki> tags, in which 2 names must be passed:
 +
 
 +
Both names must be spelled exactly as they occur 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 1: <span class="notranslate" translate="no" lang="en"><nowiki>{{Ride location sub-page breadcrumb|Country=</nowiki></span>''Country name''<span class="notranslate" translate="no" lang="en"><nowiki>|RideLocation=</nowiki></span>''Ride location name''<span class="notranslate" translate="no" lang="en"><nowiki>}}</nowiki></span>
 
*USAGE 1: <span class="notranslate" translate="no" lang="en"><nowiki>{{Ride location sub-page breadcrumb|Country=</nowiki></span>''Country name''<span class="notranslate" translate="no" lang="en"><nowiki>|RideLocation=</nowiki></span>''Ride location name''<span class="notranslate" translate="no" lang="en"><nowiki>}}</nowiki></span>
 
In sub-pages only, the editor(s) of a ride location may chose whether the aforementioned suffix gets shown; if so, it comes behind an extra '|':  
 
In sub-pages only, the editor(s) of a ride location may chose whether the aforementioned suffix gets shown; if so, it comes behind an extra '|':  
Line 7: Line 9:
 
In case this ride location suffix 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>''suffix''<span class="notranslate" translate="no" lang="en">&lt;/span&gt;</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">&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>''suffix''<span class="notranslate" translate="no" lang="en">&lt;/span&gt;</span><br />one must apply USAGE 2BIS:
 
*USAGE 2BIS: <span class="notranslate" translate="no" lang="en"><nowiki>{{Ride location sub-page breadcrumb|Country=</nowiki></span>''Country name''<span class="notranslate" translate="no" lang="en"><nowiki>|RideLocation=</nowiki></span>''Ride location 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 sub-page breadcrumb|Country=</nowiki></span>''Country name''<span class="notranslate" translate="no" lang="en"><nowiki>|RideLocation=</nowiki></span>''Ride location 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 ride location sub-pages (not from e.g. their main ride location page  or a country sub-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 sub-page (calling page name) into <span class="notranslate" translate="no" lang="en">Category:</span>''Ride location name'' <span class="notranslate" translate="no" lang="en">sub-page</span> (passed parameter + '<span class="notranslate" translate="no" lang="en">sub-page</span>') and into <span class="notranslate" translate="no" lang="en">[[:Category:Ride location sub-page]]</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 ride location sub-pages (not from e.g. their main ride location page  or a country sub-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 sub-page (calling page name) into <span class="notranslate" translate="no" lang="en">Category:</span>''Ride location name'' <span class="notranslate" translate="no" lang="en">sub-pages</span> (passed parameter + '<span class="notranslate" translate="no" lang="en">sub-pages</span>') and into <span class="notranslate" translate="no" lang="en">[[:Category:Ride location sub-pages]]</span>.</p>[[Category:Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 11:16, 7 March 2022

Home > List of rides [[List of rides#{{{Country}}}|>]] Missing 'Country' parameter > Missing 'RideLocation' parameter > Ride location sub-page breadcrumb •  Google Ride location sub-page breadcrumb WNBR

What you see here above, is the mere result of calling this template without the compulsory parameters.

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 ride location sub-page, always at top of the text, use one of these {{...}} tags, in which 2 names must be passed:

Both names must be spelled exactly as they occur in the List of rides, 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 1: {{Ride location sub-page breadcrumb|Country=Country name|RideLocation=Ride location name}}

In sub-pages only, the editor(s) of a ride location may chose whether the aforementioned suffix gets shown; if so, it comes behind an extra '|':

  • USAGE 2: {{Ride location sub-page breadcrumb|Country=Country name|RideLocation=Ride location name|Ride location suffix}}

In case this ride location suffix receives your markup with an '=' in it,
e.g. <span title="..." class="..." style="..." lang="...">suffix</span>
one must apply USAGE 2BIS:

  • USAGE 2BIS: {{Ride location sub-page breadcrumb|Country=Country name|RideLocation=Ride location name|1=Ride location suffix}}

This template must be called only from ride location sub-pages (not from e.g. their main ride location page or a country sub-page).
There it shows a proper 'breadcrumb trail' and ensures putting that ride location sub-page (calling page name) into Category:Ride location name sub-pages (passed parameter + 'sub-pages') and into Category:Ride location sub-pages.