Difference between revisions of "Template:Moratorium"

m (Updating documentation)
m (color change)
Line 3: Line 3:
 
| {{#ifexpr: {{#time: U|{{{1}}}}} > {{#time: U|now}}
 
| {{#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=#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 {{#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.}}
+
|{{Message_box|id=Usrcvtext|backgroundcolor=#EFEFFF|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.}}
  
 
}}
 
}}
Line 27: Line 27:
  
 
Will display:
 
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}}.}}
+
{{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 {{#time: j F Y|July 2, 2037}}.}}
  
  
Line 37: Line 37:
  
 
Will display:
 
Will display:
{{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.}}
+
{{Message_box|id=Usrcvtext|backgroundcolor=#EFEFFF|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 15:27, 30 December 2020



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:


When the moratorium date has arrived, the template displays a different message. For example:

{{moratorium|July 2, 2009}}

Will display: