Template:Update: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(Fixes for MW/CSS)
(template now takes custom text for the subtitle; revamped page to use smarter "includeonly" approach)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| cellpadding=0 style="border:1px solid black; border-spacing:0px; padding:0px; empty-cells:show; margin-left:auto; margin-right:auto; text-align:center;" width="700pt"
<noinclude>This template allows you to easily flag an article that needs updating. All you have to do is type <nowiki>"{{update}}"</nowiki> at the top of the article, and the following header box will appear in the article and it will be placed in [[:Category:Articles that need updating]]:
| style="background-color:brown; width:1%;" |
| style="width:1%;" | [[Image:Aged parchment-60px.jpg]]  
| style="width:98%;" |
'''This page contains information that is out of date.'''<br>
Please update the information here to reflect where the community is at today.
|}


<includeonly>[[Category:Articles that need updating]]</includeonly>
{{update}}
<noinclude>[[Category:Administrative templates]]</noinclude>
 
You can also specify a reason by putting <nowiki>"{{update|The thing that needs updating is…}}"</nowiki>:
 
{{update|The thing that needs updating is…}}
 
[[Category:Administrative templates]]</noinclude>
<includeonly>{{HeaderBoxTemplateTemplate|color=brown|icon=Aged parchment-60px.jpg|iconsize=60px|text='''This page contains information that is out of date.'''<br>{{{1|Please update this information to reflect where the community is at today.}}}}}
 
{{#ifeq:{{PAGENAME}}|Update||[[Category:Articles that need updating]]}}</includeonly>

Latest revision as of 19:43, 22 August 2020

This template allows you to easily flag an article that needs updating. All you have to do is type "{{update}}" at the top of the article, and the following header box will appear in the article and it will be placed in Category:Articles that need updating:


Aged parchment-60px.jpg

This page contains information that is out of date.
Please update this information to reflect where the community is at today.


You can also specify a reason by putting "{{update|The thing that needs updating is…}}":


Aged parchment-60px.jpg

This page contains information that is out of date.
The thing that needs updating is…