Difference between revisions of "Template:Moratorium"

(Moratorium policy)
m (Fixing it up)
Line 8: Line 8:
  
 
}}
 
}}
}}
+
}}<includeonly>{{CatMainOther |[[Category:Sources under Moratorium]]}}{{#set:Moratorium Date={{{1|}}}}}</includeonly><noinclude>
<includeonly>
 
{{CatMainOther |[[Category:Sources under Moratorium]]}}
 
{{#set:Moratorium Date={{{1|}}}}}
 
</includeonly>
 
<noinclude>
 
 
{{/doc}}
 
{{/doc}}
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 17:06, 16 January 2022

Purpose

This template will automatically display one of two moratorium statements based on whether a particular date has been reached or not. It 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

{{Moratorium|year|month|day}}

  • Parameters 1, 2, and 3 are the Year, Month, and Day that the Moratorium expires (normally 2 months from the date of release).
    • If the day is omitted, the template will activate on the first day of the specified month.
    • If the month is also omitted, the template will activate on 1 January of the specified year.
    • If the year is also omitted, the template will activate immediately.

Examples

Moratorium date has not yet arrived

When the moratorium date has not yet arrived, the template displays the following message and adds the page to the Category:Sources under Moratorium:

{{moratorium|2037|07|02}}

Will display:

Moratorium date has arrived

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

{{moratorium|2009|07|02}}

Will display: