Difference between revisions of "Template:NamesOf"

From World Naked Bike Ride
Jump to: navigation, search
m (Updated info (following the template Archived, which obtained a here relevant 2nd functionality))
m (minor correction of user manual)
 
Line 2: Line 2:
 
*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>
 
*On the line of each ride location, immediately without a space character following ''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>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 need to be created). Thus, where only the English language is considered nowadays native:<pre class="notranslate" translate="no" style="margin:.3em 0 0 0;padding:0;">{{NamesOf|Chicago}}</pre>In this case, especially when a country has many ride locations that should not show <span style="font-size:86%;">(a suggestion in edit mode <small>['<span class="notranslate" translate="no" lang="en">Edit</span>' tab]</small> to add)</span> a native name, one may omit the template call and instead write ''with'' leading space character: <code class="notranslate" translate="no" style="margin:0;padding:0;"><nowiki>&nbsp;[[Chicago]]</nowiki></code>
 
*On the line of each ride location, immediately without a space character following ''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>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 need to be created). Thus, where only the English language is considered nowadays native:<pre class="notranslate" translate="no" style="margin:.3em 0 0 0;padding:0;">{{NamesOf|Chicago}}</pre>In this case, especially when a country has many ride locations that should not show <span style="font-size:86%;">(a suggestion in edit mode <small>['<span class="notranslate" translate="no" lang="en">Edit</span>' tab]</small> to add)</span> a native name, one may omit the template call and instead write ''with'' leading space character: <code class="notranslate" translate="no" style="margin:0;padding:0;"><nowiki>&nbsp;[[Chicago]]</nowiki></code>
*In the '<span class="notranslate" translate="no" lang="en">[[List of rides]]</span>' page from the 'Archived' line, for each ride location: As for aforementioned active ones and also here without a leading space character: neither behind '{&zwj;{<span class="notranslate" translate="no" lang="en">Archived</span>}&zwj;}:', nor behind a '&#8202;&zwj;;&#8202;&zwj;' separator, which spaces also here are required where the template is not used.</noinclude>
+
*In the '<span class="notranslate" translate="no" lang="en">[[List of rides]]</span>' page from the 'Archived' line, for each ride location: As for aforementioned active ones and also here without a leading space character: neither behind '{&zwj;{<span class="notranslate" translate="no" lang="en">Archived|</span>''Country_name''}&zwj;}', nor behind a '&#8202;&zwj;;&#8202;&zwj;' separator, which spaces also here are required where the template is not used.</noinclude>

Latest revision as of 13:40, 6 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 1st 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}‍}
  • On the line of each ride location, immediately without a space character following behind {‍{Ride status tab - ...}‍}
    {{NamesOf|Brussels|Bruxelles|Brussel}}
    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 need to be created). Thus, where only the English language is considered nowadays native:
    {{NamesOf|Chicago}}
    In this case, especially when a country has many ride locations that should not show (a suggestion in edit mode ['Edit' tab] to add) a native name, one may omit the template call and instead write with leading space character:  [[Chicago]]
  • In the 'List of rides' page from the 'Archived' line, for each ride location: As for aforementioned active ones and also here without a leading space character: neither behind '{‍{Archived|Country_name}‍}', nor behind a ' ‍; ‍' separator, which spaces also here are required where the template is not used.