Difference between revisions of "Template:Archived"

From World Naked Bike Ride
Jump to: navigation, search
(+ User manual.)
(Special usage (not documented in the User manual): reproduce the same as in List of rides in case it's called from Talk:Archived ride locations [the user manual for the archival procedure])
Line 1: Line 1:
{{#ifeq:{{PAGENAME}}|List of rides|<span class="plainlinks" style="display:inline-block;line-height:.8em;background-color:#EEE;border:1px solid #999;borders:1px 0 1px 1px;vertical-align:.1em;padding:0 .25ex .12em .7ex;font-variant:small-caps;font-size:86%;">[http://wiki.worldnakedbikeride.org/index.php?title=Archived_ride_locations#{{{1|}}} archived<span font-size:86%;">:</span>]</span>|'''This page has been ''archived''.''' {{{TextIfNoRideLocation|'''Please visit the [[Talk:Archived ride locations|''talk page'' of 'Archived ride locations']] if you would like to start or restart a ride at {{PAGENAME}}{{{1|}}}.'''}}}<hr style="margin-top:1em;" /><includeonly>[[Category:Archived pages|{{PAGENAME}}]]</includeonly>}}<noinclude>[[Category:Templates|{{PAGENAME}}]]What you see here above (with the horizontal line), is the result of calling this template (without parameter) from a page that is <span style="font-variant:small-caps;">archived</span>.<br /><!--REPEATED 'THEN' OF #ifef--><span class="plainlinks" style="display:inline-block;line-height:.8em;background-color:#EEE;border:1px solid #999;borders:1px 0 1px 1px;vertical-align:.1em;padding:0 .25ex .12em .7ex;font-variant:small-caps;font-size:86%;">[http://wiki.worldnakedbikeride.org/index.php?title=Archived_ride_locations#{{{1|}}} archived<span font-size:86%;">:</span>]</span><!--END OF REPEAT--> This here in front (linking to the 'Archived ride locations' overview) can only been seen within the '[[List of rides]]' page.<br />{{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 is not archived, it serves archiving. It has ''two'' distinct functions:<br />'''1) In the '<span class="notranslate" translate="no" lang="en">[[List of rides]]</span>' page''', underneath a country title and when appropriate that name in native language(es), it should be followed by the (series of) link(s) tot the individual archived ride location page(s). Invoking the template's 'Archived' link, shows these locations in the manner of the more recently active ones on the List of rides. A reader would likely be interested in the ones behind the template, thus pass the exact country name (as in that title) but ''any space character replaced with underscore'' '&#8202;_&#8202;'&zwj; as a parameter: The reader will end up precisely there.
+
!!!{{NAMESPACE}}:{{PAGENAME}}!!!{{#ifeq:{{NAMESPACE}}{{PAGENAME}}|{{#ifeq:{{PAGENAME}}|List of rides|:List of rides|Talk:Archived ride locations}}|<span class="plainlinks" style="display:inline-block;line-height:.8em;background-color:#EEE;border:1px solid #999;borders:1px 0 1px 1px;vertical-align:.1em;padding:0 .25ex .12em .7ex;font-variant:small-caps;font-size:86%;">[http://wiki.worldnakedbikeride.org/index.php?title=Archived_ride_locations#{{{1|}}} archived<span font-size:86%;">:</span>]</span>|'''This page has been ''archived''.''' {{{TextIfNoRideLocation|'''Please visit the [[Talk:Archived ride locations|''talk page'' of 'Archived ride locations']] if you would like to start or restart a ride at {{PAGENAME}}{{{1|}}}.'''}}}<hr style="margin-top:1em;" /><includeonly>[[Category:Archived pages|{{PAGENAME}}]]</includeonly>}}<noinclude>[[Category:Templates|{{PAGENAME}}]]What you see here above (with the horizontal line), is the result of calling this template (without parameter) from a page that is <span style="font-variant:small-caps;">archived</span>.<br /><!--REPEATED 'THEN' OF #ifef--><span class="plainlinks" style="display:inline-block;line-height:.8em;background-color:#EEE;border:1px solid #999;borders:1px 0 1px 1px;vertical-align:.1em;padding:0 .25ex .12em .7ex;font-variant:small-caps;font-size:86%;">[http://wiki.worldnakedbikeride.org/index.php?title=Archived_ride_locations#{{{1|}}} archived<span font-size:86%;">:</span>]</span><!--END OF REPEAT--> This here in front (linking to the 'Archived ride locations' overview) can only been seen within the '[[List of rides]]' page.<br />{{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 is not archived, it serves archiving. It has ''two'' distinct functions:<br />'''1) In the '<span class="notranslate" translate="no" lang="en">[[List of rides]]</span>' page''', underneath a country title and when appropriate that name in native language(es), it should be followed by the (series of) link(s) tot the individual archived ride location page(s). Invoking the template's 'Archived' link, shows these locations in the manner of the more recently active ones on the List of rides. A reader would likely be interested in the ones behind the template, thus pass the exact country name (as in that title) but ''any space character replaced with underscore'' '&#8202;_&#8202;'&zwj; as a parameter: The reader will end up precisely there.
 
<pre class="notranslate" translate="no" style="margin:.3em 0 0 0;padding:0 0 .15em 0;">{{Archived|New_Zealand}}</pre>
 
<pre class="notranslate" translate="no" style="margin:.3em 0 0 0;padding:0 0 .15em 0;">{{Archived|New_Zealand}}</pre>
 
'''2) In a ride location page that became archived''', simply letting the reader realize that fact. The talk page linked here at top of this template shows also the archiving procedure. It is unusual though possible to add text behind "<span class="notranslate" translate="no" lang="en">start or restart a ride at</span> ''name of the archived ride location page''</span>", simply put it in a parameter (the template will move the '&#8202;.&#8202;' behind your text), e.g.:
 
'''2) In a ride location page that became archived''', simply letting the reader realize that fact. The talk page linked here at top of this template shows also the archiving procedure. It is unusual though possible to add text behind "<span class="notranslate" translate="no" lang="en">start or restart a ride at</span> ''name of the archived ride location page''</span>", simply put it in a parameter (the template will move the '&#8202;.&#8202;' behind your text), e.g.:

Revision as of 23:59, 11 May 2020

!!!Template:Archived!!!This page has been archived. Please visit the talk page of 'Archived ride locations' if you would like to start or restart a ride at Archived.


What you see here above (with the horizontal line), is the result of calling this template (without parameter) from a page that is archived.
archived: This here in front (linking to the 'Archived ride locations' overview) can only been seen within the 'List of rides' page.

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 is not archived, it serves archiving. It has two distinct functions:
1) In the 'List of rides' page, underneath a country title and when appropriate that name in native language(es), it should be followed by the (series of) link(s) tot the individual archived ride location page(s). Invoking the template's 'Archived' link, shows these locations in the manner of the more recently active ones on the List of rides. A reader would likely be interested in the ones behind the template, thus pass the exact country name (as in that title) but any space character replaced with underscore ' _ '‍ as a parameter: The reader will end up precisely there.

{{Archived|New_Zealand}}

2) In a ride location page that became archived, simply letting the reader realize that fact. The talk page linked here at top of this template shows also the archiving procedure. It is unusual though possible to add text behind "start or restart a ride at name of the archived ride location page", simply put it in a parameter (the template will move the ' . ' behind your text), e.g.:

{{Archived|, and please contact John (see chapter Eager volunteers)}}

2bis) In other archived pages: For special usage, beyond this user manual. Please contact an admin on this World Naked Bike Ride wiki before continuing in this direction.

The usage 2) and 2bis) ensures putting the calling page name into Category:Archived pages
Known weakness: It is not possible to pass a vertical bar ' | ' in a parameter. One can pass [‍[linked page name]‍] but not [‍[linked page name|shown text]‍].