Difference between revisions of "Template:Moratorium"
Tosta Dojen (talk | contribs) (New logic based on moratorium date; changes to formatting) |
Tosta Dojen (talk | contribs) m (Updating documentation) |
||
Line 9: | Line 9: | ||
}} | }} | ||
}} | }} | ||
− | |||
<includeonly> | <includeonly> | ||
{{CatMainOther |[[Category:Sources under Moratorium]]}} | {{CatMainOther |[[Category:Sources under Moratorium]]}} | ||
Line 22: | Line 21: | ||
==Usage== | ==Usage== | ||
− | Cut and paste '''<nowiki>{{moratorium|the ending date of the moratorium}}</nowiki>''' into the top of the article. | + | Cut and paste '''<nowiki>{{moratorium|the ending date of the moratorium}}</nowiki>''' into the top of the article. For example: |
+ | <pre> | ||
+ | {{moratorium|July 2, 2037}} | ||
+ | </pre> | ||
+ | |||
+ | Will display: | ||
+ | {{Message_box|id=Usrcvtext|backgroundcolor=#EFCCCC|heading=Moratorium|image=Crystal Clear app clock.svg|message=As a newly-published commercial product or download, this article's subject matter falls under the purview of BattleTechWiki's [[Policy:Moratorium]] on newly-published materials.<br />Please do not use information from this source until {{#time: j F Y|July 2, 2037}}.}} | ||
+ | |||
+ | |||
− | For example: | + | When the moratorium date has arrived, the template displays a different message. For example: |
<pre> | <pre> | ||
{{moratorium|July 2, 2009}} | {{moratorium|July 2, 2009}} | ||
Line 30: | Line 37: | ||
Will display: | Will display: | ||
− | {{Message_box|id=Usrcvtext|backgroundcolor=# | + | {{Message_box|id=Usrcvtext|backgroundcolor=#CCEFCC|heading=Moratorium|image=Crystal Clear app clock.svg|message=This article's subject matter previously fell under BattleTechWiki's [[Policy:Moratorium]] on newly-published materials.<br />The moratorium expired on {{#time: j F Y|July 2, 2009}}. Information from this source may now be used in articles on BattleTechWiki.}} |
− | |||
[[Category:Templates|Moratorium]] | [[Category:Templates|Moratorium]] | ||
</noinclude> | </noinclude> |
Revision as of 13:15, 30 December 2020
Moratorium As a newly-published commercial product or download, this article's subject matter falls under the purview of BattleTechWiki's Policy:Moratorium on newly-published materials. Please do not use information from this source until two months after its publication. |
Purpose
The moratorium template should be used when an article falls under BattleTechWiki's moratorium policy guidelines. In general, this is for a new product that has just been released and lasts for two months after release.
Usage
Cut and paste {{moratorium|the ending date of the moratorium}} into the top of the article. For example:
{{moratorium|July 2, 2037}}
Will display:
Moratorium As a newly-published commercial product or download, this article's subject matter falls under the purview of BattleTechWiki's Policy:Moratorium on newly-published materials. Please do not use information from this source until 2 July 2037. |
When the moratorium date has arrived, the template displays a different message. For example:
{{moratorium|July 2, 2009}}
Will display:
Moratorium This article's subject matter previously fell under BattleTechWiki's Policy:Moratorium on newly-published materials. The moratorium expired on 2 July 2009. Information from this source may now be used in articles on BattleTechWiki. |