Difference between revisions of "Template:Update needed"

m (Added the Moratorium warning to the Update needed template.)
m
 
(25 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Message_box|id=Usrcvtext|backgroundcolor=White|heading=Update Needed|image=Emblem-important.svg|message=This article needs to be updated with material from ''{{{1}}}''. Once this title clears the [[Policy:Moratorium|Moratorium period]], or if it already has, please consider revisiting this article and updating it with the new material, removing this tag once all information has been added.}}  
+
{{Ambox
<includeonly>[[Category:Sources needing updates]]</includeonly>
+
| name  = update_needed
<noinclude>
+
| subst = <includeonly>{{subst:substcheck}}</includeonly>
 
+
| style = width: auto; margin-right: 0px;
----
+
| textstyle = margin: 0 10%;width: auto;
 
+
| small = {{{small|}}}
==Purpose==
+
| type  = notice
This ''Update Needed'' template should be used on an article that has been identified as needing information provided within a product not yet used within the article (and possibly currently under BattleTechWiki's [[Policy:Moratorium|moratorium policy]]). Doing so will also automatically place the article within the [[:Category:Sources needing updates|Sources needing updates]] category.
+
| text = <div>This article needs to be updated with material from ''{{{1}}}''{{#if:{{{2|}}}|, ''{{{2}}}''}}{{#if:{{{3|}}}|, ''{{{3}}}''}}{{#if:{{{4|}}}|, ''{{{4}}}''}}{{#if:{{{5|}}}|, ''{{{5}}}''}}{{#if:{{{6|}}}|, ''{{{6}}}''}}{{#if:{{{7|}}}|, ''{{{7}}}''}}{{#if:{{{8|}}}|, ''{{{8}}}''}}{{#if:{{{9|}}}|, ''{{{9}}}''}}{{#if:{{{10|}}}|, ''{{{10}}}''}}{{#if:{{{11|}}}|, ''{{{11}}}''}}{{#if:{{{12|}}}|, ''{{{12}}}''}}{{#if:{{{13|}}}|, ''{{{13}}}''}}{{#if:{{{14|}}}|, ''{{{14}}}''}}{{#if:{{{15|}}}|, ''{{{15}}}''}}. Once these titles clear the [[Policy:Moratorium|Moratorium period]], or if they already have, please consider revisiting this article and updating it with the new material.</div>
 
+
| removalnotice = yes
Please do not add it to articles until after the [[Policy:Moratorium|moratorium period]] has passed.
+
| date  = {{{date|}}}
 
+
| all  = Articles needing updates
==Usage==
+
}}
Cut and paste '''<nowiki>{{Update Needed|[[product article name]]}}</nowiki>''' into the top of the article.
+
<includeonly>{{#set:Update Needed From={{{1}}}}}{{#if:{{{2|}}}|{{#set:Update Needed From={{{2}}}}}}}{{#if:{{{3|}}}|{{#set:Update Needed From={{{3}}}}}}}{{#if:{{{4|}}}|{{#set:Update Needed From={{{4}}}}}}}{{#if:{{{5|}}}|{{#set:Update Needed From={{{5}}}}}}}{{#if:{{{6|}}}|{{#set:Update Needed From={{{6}}}}}}}{{#if:{{{7|}}}|{{#set:Update Needed From={{{7}}}}}}}{{#if:{{{8|}}}|{{#set:Update Needed From={{{8}}}}}}}{{#if:{{{9|}}}|{{#set:Update Needed From={{{9}}}}}}}{{#if:{{{10|}}}|{{#set:Update Needed From={{{10}}}}}}}{{#if:{{{11|}}}|{{#set:Update Needed From={{{11}}}}}}}{{#if:{{{12|}}}|{{#set:Update Needed From={{{12}}}}}}}{{#if:{{{13|}}}|{{#set:Update Needed From={{{13}}}}}}}{{#if:{{{14|}}}|{{#set:Update Needed From={{{14}}}}}}}{{#if:{{{15|}}}|{{#set:Update Needed From={{{15}}}}}}}</includeonly><noinclude>
 
+
{{Documentation}}
For example:
+
<!-- Add cats and interwikis to the /doc subpage, not here! -->
<pre>
 
{{Update Needed|[[Handbook: Major Periphery States]]}}
 
</pre>
 
 
 
Will display:
 
{{Message_box|id=Usrcvtext|backgroundcolor=White|heading=Update Needed|image=Emblem-important.svg|message=This article needs to be updated with material from ''[[Handbook: Major Periphery States]]''. Once this title clears the [[Policy:Moratorium|Moratorium period]], or if it already has, please consider revisiting this article and updating it with the new material.}}
 
 
 
 
 
[[Category:Templates|Update Needed]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 17:51, 7 February 2024