Difference between revisions of "Template:NamesOf"

From World Naked Bike Ride
Jump to: navigation, search
m (Fix syntax error.)
(Fix syntax error.)
Line 1: Line 1:
{{#ifexist:Category:{{{1}}}|<div style="margin-top:-.25em;">{{#if:{{{2|}}}|&#8202;<span style="font-style:italic;">({{{2|}}}{{#if:{{{3|}}}|&#8202;</span>/<span style="font-style:italic;">{{{3}}}{{#if:{{{4|}}}|&#8202;</span>/<span style="font-style:italic;">{{{4}}}{{#if:{{{5|}}}|&#8202;</span>/<span style="font-style:italic;">{{{5}}}{{#if:{{{6|}}}|&#8202;</span>/<span style="font-style:italic;">{{{6}}}{{#if:{{{7|}}}|&#8202;</span>/<span style="font-style:italic;">{{{7}}}{{#if:{{{8|}}}}}}}|&#8202;</span>/<span style="font-size:x-small;">etcetera.}}}}}}}})</span>}}</span><br clear="all" />|<span>&#8201;[[{{{1|Missing name of country or ride location (in English)}}}]]{{#if:{{{2|}}}|&#8202;<span style="font-style:italic;">({{{2|}}}{{#if:{{{3|}}}|&#8202;</span>/<span style="font-style:italic;">{{{3}}}{{#if:{{{4|}}}|&#8202;</span>/<span style="font-style:italic;">{{{4}}}{{#if:{{{5|}}}|&#8202;</span>/<span style="font-style:italic;">{{{5}}}{{#if:{{{6|}}}|&#8202;</span>/<span style="font-style:italic;">{{{6}}}{{#if:{{{7|}}}|&#8202;</span>/<span style="font-style:italic;">{{{7}}}{{#if:{{{8|}}}}}}}|&#8202;</span>/<span style="font-size:x-small;">etcetera.}}}}}}}})</span>}}</div>}}<noinclude>[[Category:Templates|{{PAGENAME}}]]<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 />This template should be called from the '<span class="notranslate" translate="no" lang="en">[[List of rides]]</span>' page and, as far as it will also serve a purpose on the '<span class="notranslate" translate="no" lang="en">[[Archived ride locations]]</span>' page, also from the latter:
+
{{#ifexist:Category:{{{1}}}|<div style="margin-top:-.25em;">{{#if:{{{2|}}}|&#8202;<span style="font-style:italic;">({{{2|}}}{{#if:{{{3|}}}|&#8202;</span>/<span style="font-style:italic;">{{{3}}}{{#if:{{{4|}}}|&#8202;</span>/<span style="font-style:italic;">{{{4}}}{{#if:{{{5|}}}|&#8202;</span>/<span style="font-style:italic;">{{{5}}}{{#if:{{{6|}}}|&#8202;</span>/<span style="font-style:italic;">{{{6}}}{{#if:{{{7|}}}|&#8202;</span>/<span style="font-style:italic;">{{{7}}}{{#if:{{{8|}}}}}}}|&#8202;</span>/<span style="font-size:x-small;">etcetera.}}}}}}}})</span>}}</div><br clear="all" />|&#8201;[[{{{1|Missing name of country or ride location (in English)}}}]]{{#if:{{{2|}}}|&#8202;<span style="font-style:italic;">({{{2|}}}{{#if:{{{3|}}}|&#8202;</span>/<span style="font-style:italic;">{{{3}}}{{#if:{{{4|}}}|&#8202;</span>/<span style="font-style:italic;">{{{4}}}{{#if:{{{5|}}}|&#8202;</span>/<span style="font-style:italic;">{{{5}}}{{#if:{{{6|}}}|&#8202;</span>/<span style="font-style:italic;">{{{6}}}{{#if:{{{7|}}}|&#8202;</span>/<span style="font-style:italic;">{{{7}}}{{#if:{{{8|}}}}}}}|&#8202;</span>/<span style="font-size:x-small;">etcetera.}}}}}}}})</span>}}</span>}}<noinclude>[[Category:Templates|{{PAGENAME}}]]<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 />This template should be called from the '<span class="notranslate" translate="no" lang="en">[[List of rides]]</span>' page and, as far as it will also serve a purpose on the '<span class="notranslate" translate="no" lang="en">[[Archived ride locations]]</span>' page, also from the latter:
 
*Only for a country in which one or more general or regional native languages are other than English: immediately ''underneath'' the country name (chapter title):<pre class="notranslate" translate="no" style="margin:.3em 0 0 0;padding:0;">{{NamesOf|Belgium|België|Belgique|Belgien}}</pre>The first parameter must be identical to the chapter name (and will not be repeated by this template)<br />'''Note:''' The page for the country (obviously by the same name as the 1st parameter) should have been created and call the template <span class="notranslate" translate="no" lang="en" style="white-space:nowrap;">{&zwj;{Country breadcrumb}&zwj;}</span>
 
*Only for a country in which one or more general or regional native languages are other than English: immediately ''underneath'' the country name (chapter title):<pre class="notranslate" translate="no" style="margin:.3em 0 0 0;padding:0;">{{NamesOf|Belgium|België|Belgique|Belgien}}</pre>The first parameter must be identical to the chapter name (and will not be repeated by this template)<br />'''Note:''' The page for the country (obviously by the same name as the 1st parameter) should have been created and call the template <span class="notranslate" translate="no" lang="en" style="white-space:nowrap;">{&zwj;{Country breadcrumb}&zwj;}</span>
 
*Necessarily for each ride location name, immediately without a space ''behind'' <span class="notranslate" translate="no" lang="en" style="white-space:nowrap;">{&zwj;{Ride status tab - ...}&zwj;}</span><pre class="notranslate" translate="no" style="margin:.3em 0 0 0;padding:0;">{{NamesOf|Brussels|Bruxelles|Brussel}}</pre>or, where only English is considered nowadays native:<pre class="notranslate" translate="no" style="margin:.3em 0 0 0;padding:0;">{{NamesOf|Chicago}}</pre>The first parameter must be the ride location name in English. The template will show it with a link to the ride location page by that name (in red in case that page still would needsto be created).</noinclude>
 
*Necessarily for each ride location name, immediately without a space ''behind'' <span class="notranslate" translate="no" lang="en" style="white-space:nowrap;">{&zwj;{Ride status tab - ...}&zwj;}</span><pre class="notranslate" translate="no" style="margin:.3em 0 0 0;padding:0;">{{NamesOf|Brussels|Bruxelles|Brussel}}</pre>or, where only English is considered nowadays native:<pre class="notranslate" translate="no" style="margin:.3em 0 0 0;padding:0;">{{NamesOf|Chicago}}</pre>The first parameter must be the ride location name in English. The template will show it with a link to the ride location page by that name (in red in case that page still would needsto be created).</noinclude>

Revision as of 02:26, 5 May 2020

Missing name of country or ride location (in English)


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

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.
This template should be called from the 'List of rides' page and, as far as it will also serve a purpose on the 'Archived ride locations' page, also from the latter:

  • Only for a country in which one or more general or regional native languages are other than English: immediately underneath the country name (chapter title):
    {{NamesOf|Belgium|België|Belgique|Belgien}}
    The first parameter must be identical to the chapter name (and will not be repeated by this template)
    Note: The page for the country (obviously by the same name as the 1st parameter) should have been created and call the template {‍{Country breadcrumb}‍}
  • Necessarily for each ride location name, immediately without a space behind {‍{Ride status tab - ...}‍}
    {{NamesOf|Brussels|Bruxelles|Brussel}}
    or, where only English is considered nowadays native:
    {{NamesOf|Chicago}}
    The first parameter must be the ride location name in English. The template will show it with a link to the ride location page by that name (in red in case that page still would needsto be created).