Difference between revisions of "Template:Evading covid"

From World Naked Bike Ride
Jump to: navigation, search
m (guaranteeing not breaking the tag or losing it on a next line.)
m (Tweaks to match style of the status indicators on the left)
Line 1: Line 1:
<span style="white-space:nowrap;"><strike>{{{1|}}} 2020</strike> [[Template:Evading covid|<span style="font-size:60%;padding:.15em .7ex .15em 0;vertical-align:+.3em;color:white;background-color:#a00;">◄&#8201;&zwj;'''{{{Type|POSTPONED or CANCELLED}}}''' <small><span style="font-size:90%;">SARS</span> CoV-2</small></span>]]</span><includeonly>[[Category:2020 evading covid]]</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]<hr />{{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 />The template expects one unnamed parameter with the day of the month and the name of month, both in the format as for ride locations on the <span class="notranslate" translate="no" lang="en">[[List of rides]]</span>. If not yet having been announced before, the day of the month, and even the month (thus this parameter), can be omitted. The template will add the year '<span class="notranslate" translate="no" lang="en">2020</span>' automatically.
+
<span style="white-space:nowrap;"><strike>{{{1|}}} 2020</strike>[[Template:Evading covid|<span style="font-size:60%;padding:.16em 0 .16em 0;"><span style="color:#a00;background-color:transparent;font-size:153%;margin-right:-.28ex;vertical-align:+.02em;">◄</span><span style="color:white;background-color:#a00;vertical-align:+.2em;padding-left:.2ex;padding-right:.7ex;">'''{{{Type|POSTPONED or CANCELLED}}}''' <small><span style="font-size:90%;">SARS</span> CoV-2</small></span></span>]]</span><includeonly>[[Category:2020 evading covid]]</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]<hr />{{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 />The template expects one unnamed parameter with the day of the month and the name of month, both in the format as for ride locations on the <span class="notranslate" translate="no" lang="en">[[List of rides]]</span>. If not yet having been announced before, the day of the month, and even the month (thus this parameter), can be omitted. The template will add the year '<span class="notranslate" translate="no" lang="en">2020</span>' automatically.
  
 
An optional named parameter is '<span class="notranslate" translate="no" lang="en">Type=</span>' and should contain with capitalization as here shown, ''one'' of the following:
 
An optional named parameter is '<span class="notranslate" translate="no" lang="en">Type=</span>' and should contain with capitalization as here shown, ''one'' of the following:

Revision as of 06:19, 4 May 2020

2020POSTPONED or CANCELLED SARS CoV-2


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.
The template expects one unnamed parameter with the day of the month and the name of month, both in the format as for ride locations on the List of rides. If not yet having been announced before, the day of the month, and even the month (thus this parameter), can be omitted. The template will add the year '2020' automatically.

An optional named parameter is 'Type=' and should contain with capitalization as here shown, one of the following:

  • POSTPONED
i.e. there might still be a ride in 2020 (SARS CoV-2 measures and by then the climate still permitting)
Example:{{Evading covid|9 Jun|Type=POSTPONED}}
Up front of the ride location line, put Committed to ride by {‍{Ride status tab - Committed to ride}‍}
  • CANCELLED
i.e. the organizers already decided that there will be no ride in 2020
Example:{{Evading covid|9 Jun|Type=CANCELLED}}
Up front of the ride location line, put Cancelled by {‍{ Ride status tab - Cancelled}‍}

Without a 'Type=' parameter, the default will become shown:

  • POSTPONED or CANCELLED
    Example:{{Evading covid|9 Jun}}
Up front of the ride location line, put Assumed to repeat by {‍{Ride status tab - Assumed to repeat}‍}

This template should be called twice:
• from the List of rides on the line for the relevant ride location, immediately behind ': '
• from (a spot of your choice) within the page to which that ride location name links. This ensures it to be categorized as 'Category:2020 evading covid', which is a special sub-category of Category:2020 ride locations. Only this call may pass the day and month in some odd format (e.g. Saturday, the 9th of June), to match this ride location page's style.

Note for general editors of this World Naked Bike Ride wiki: This template should be modified by the end of 2020, so as to fit moving all its calls on the List of rides to the right, within the {‍{Previous rides}‍}, which template modification must ensure maintaining a layout that can not disturb each relevant ride location page, which must keep its call of the template for proper categorization.