Difference between revisions of "Template:Evading covid"
m (Tweaks to match style of the status indicators on the left) |
(also not on talk pages) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <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="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>Corona</small></span></span>]]</span><includeonly>{{#IfEq:{{PAGENAME}}|List of rides||{{#IfEq:{{NAMESPACE}}|{{ns:3}}||[[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: | ||
* <span class="notranslate" translate="no" lang="en">POSTPONED</span> | * <span class="notranslate" translate="no" lang="en">POSTPONED</span> | ||
− | :i.e. there ''might'' still be a ride in 2020 ( | + | :i.e. there ''might'' still be a ride in 2020 (Corona measures and by then the climate still permitting)<br />'''Example:'''<span class="notranslate" translate="no" lang="en"><code><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|9 Jun|Type=POSTPONED}}</nowiki></code></span> |
:'''Up front''' of the ride location line, put {{Ride status tab - Committed to ride}} by <span class="notranslate" translate="no" lang="en">{‍{Ride status tab - Committed to ride}‍}</span> | :'''Up front''' of the ride location line, put {{Ride status tab - Committed to ride}} by <span class="notranslate" translate="no" lang="en">{‍{Ride status tab - Committed to ride}‍}</span> | ||
* <span class="notranslate" translate="no" lang="en">CANCELLED</span> | * <span class="notranslate" translate="no" lang="en">CANCELLED</span> | ||
:i.e. the organizers already decided that there will be ''no'' ride in 2020<br />'''Example:'''<span class="notranslate" translate="no" lang="en"><code><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|9 Jun|Type=CANCELLED}}</nowiki></code></span> | :i.e. the organizers already decided that there will be ''no'' ride in 2020<br />'''Example:'''<span class="notranslate" translate="no" lang="en"><code><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|9 Jun|Type=CANCELLED}}</nowiki></code></span> | ||
− | :'''Up front''' of the ride location line, put {{Ride status tab - Cancelled}} by <span class="notranslate" translate="no" lang="en">{‍{ Ride status tab - Cancelled}‍}</span> | + | :'''Up front''' of the ride location line, put {{Ride status tab - Cancelled}} by <span class="notranslate" translate="no" lang="en">{‍{ Ride status tab - Cancelled}‍}</span><br />'''<span style="visibility:hidden;">Up front </span>'''As soon as the date for 2021 is published however, put <span class="notranslate" translate="no" lang="en">{‍{Ride status tab - Committed to ride}‍}</span> |
Without a '<span class="notranslate" translate="no" lang="en">Type=</span>' parameter, the default will become shown: | Without a '<span class="notranslate" translate="no" lang="en">Type=</span>' parameter, the default will become shown: | ||
* <span class="notranslate" translate="no" lang="en">POSTPONED <small>or</small> CANCELLED</span><br />'''Example:'''<span class="notranslate" translate="no" lang="en"><code><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|9 Jun}}</nowiki></code></span> | * <span class="notranslate" translate="no" lang="en">POSTPONED <small>or</small> CANCELLED</span><br />'''Example:'''<span class="notranslate" translate="no" lang="en"><code><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|9 Jun}}</nowiki></code></span> | ||
− | :'''Up front''' of the ride location line, put {{Ride status tab - Assumed to repeat}} by <span class="notranslate" translate="no" lang="en">{‍{Ride status tab - Assumed to repeat}‍}</span> | + | :'''Up front''' of the ride location line, put {{Ride status tab - Assumed to repeat}} by <span class="notranslate" translate="no" lang="en">{‍{Ride status tab - Assumed to repeat}‍}</span><br />'''<span style="visibility:hidden;">Up front </span>'''As soon as a new date is published however, put <span class="notranslate" translate="no" lang="en">{‍{Ride status tab - Committed to ride}‍}</span>, and also:<br />'''<span style="visibility:hidden;">Up front </span>'''if still in 2020, in the template add '|<span class="notranslate" translate="no" lang="en">Type=POSTPONED</span>', if later add '|<span class="notranslate" translate="no" lang="en">Type=CANCELLED</span>'. |
<p style="border:4px solid gold;padding:.3em 1ex .3em 1ex;font-weight:700;">This template should be called ''twice'':<br />• from the <span class="notranslate" translate="no" lang="en">[[List of rides]]</span> on the line for the relevant ride location, immediately behind ': '<br />• from (a spot of your choice) within the page to which that ride location name links. This ensures it to be categorized as '<span class="notranslate" translate="no" lang="en">[[:Category:2020 evading covid]]</span>', which is a special sub-category of <span class="notranslate" translate="no" lang="en">[[:Category:2020 ride locations]]</span>. <span style="font-weight:100;">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.</span></p><p style="border:1px solid gold;padding:.3em 1ex .3em 1ex;font-weight:100;">Note for general editors of this <span class="notranslate" translate="no" lang="en">{{SITENAME}}</span> wiki: This template should be modified by the end of 2020, so as to fit moving all its calls on the <span class="notranslate" translate="no" lang="en">List of rides</span> to the right, within the <span class="notranslate" translate="no" lang="en">{‍{Previous rides}‍}</span>, 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.</p></noinclude> | <p style="border:4px solid gold;padding:.3em 1ex .3em 1ex;font-weight:700;">This template should be called ''twice'':<br />• from the <span class="notranslate" translate="no" lang="en">[[List of rides]]</span> on the line for the relevant ride location, immediately behind ': '<br />• from (a spot of your choice) within the page to which that ride location name links. This ensures it to be categorized as '<span class="notranslate" translate="no" lang="en">[[:Category:2020 evading covid]]</span>', which is a special sub-category of <span class="notranslate" translate="no" lang="en">[[:Category:2020 ride locations]]</span>. <span style="font-weight:100;">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.</span></p><p style="border:1px solid gold;padding:.3em 1ex .3em 1ex;font-weight:100;">Note for general editors of this <span class="notranslate" translate="no" lang="en">{{SITENAME}}</span> wiki: This template should be modified by the end of 2020, so as to fit moving all its calls on the <span class="notranslate" translate="no" lang="en">List of rides</span> to the right, within the <span class="notranslate" translate="no" lang="en">{‍{Previous rides}‍}</span>, 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.</p></noinclude> |