Difference between revisions of "Template:Moratorium"
m (Removed trailing space.) |
Tosta Dojen (talk | contribs) (New logic based on moratorium date; changes to formatting) |
||
Line 1: | Line 1: | ||
− | {{Message_box|id=Usrcvtext|backgroundcolor=#EFEFFF|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 {{{1}}}.}} | + | {{#iferror: {{#time: U|{{{1}}}}} |
− | <includeonly>{{CatMainOther |[[Category:Sources under Moratorium]]}}</includeonly><noinclude> | + | | {{Message_box|id=Usrcvtext|backgroundcolor=#EFEFFF|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 two months after its publication.}} |
+ | | {{#ifexpr: {{#time: U|{{{1}}}}} > {{#time: U|now}} | ||
+ | |||
+ | |{{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|{{{1}}}}}.}} | ||
+ | |||
+ | |{{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|{{{1}}}}}. Information from this source may now be used in articles on BattleTechWiki.}} | ||
+ | |||
+ | }} | ||
+ | }} | ||
+ | |||
+ | <includeonly> | ||
+ | {{CatMainOther |[[Category:Sources under Moratorium]]}} | ||
+ | {{#set:Moratorium Date={{{1|}}}}} | ||
+ | </includeonly> | ||
+ | <noinclude> | ||
---- | ---- |
Revision as of 12:31, 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, 2009}}
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 July 2, 2009. |