Template:Update: Difference between revisions
m (slight reword) |
PhantomCaleb (talk | contribs) (adding the option to add a specific source of new information with premade options for new games and such) |
||
Line 1: | Line 1: | ||
{| cellspacing="3" align='center' | {{#vardefine:text| | ||
{{#ifeq:{{Zelda|{{{1|}}}}}|notZelda | |||
|{{#switch:{{lc:{{{1}}}}} | |||
|#default= available at the present time. | |||
|hh= from ''[[Hyrule Historia]]'' | |||
}} | |||
|from {{Gamelink|{{{1}}}}} | |||
}} | |||
}}<!-- | |||
-->{{#vardefine:image| | |||
{{#ifeq:{{Zelda|{{{1|}}}}}|notZelda | |||
|{{#switch:{{lc:{{{1}}}}} | |||
|#default= Ocarina of Time.png{{!}}80px | |||
|hh= Hyrule Historia English.jpg{{!}}x80px | |||
}} | |||
|{{Logo|{{{1}}}}} | |||
}} | |||
}}<!-- | |||
-->{| cellspacing="3" align='center' | |||
|- valign="top" | |- valign="top" | ||
|width="480px" style="border: 1px solid #{{ZWborder}}; background-color: #{{ZWheader}}"| | |width="480px" style="border: 1px solid #{{ZWborder}}; background-color: #{{ZWheader}}"| | ||
<div style="padding: .5em .8em .2em"> | <div style="padding: .5em .8em .2em"> | ||
[[File: | [[File:{{#var:image}}|left]] | ||
<center> | <center> | ||
'''This article or section contains content which is out of date <BR/>and needs to be <b><span class="plainlinks">[{{SERVER}}{{localurl:{{PAGENAME}}|action=edit}} updated]</span></b> accordingly to be accurate with information | '''This article or section contains content which is out of date <BR/>and needs to be <b><span class="plainlinks">[{{SERVER}}{{localurl:{{PAGENAME}}|action=edit}} updated]</span></b> accordingly to be accurate with information {{#var:text}}'''<br> | ||
</center> | </center> | ||
</div> | </div> | ||
|}<includeonly>[[Category:Articles needing attention]]</includeonly><noinclude> | |||
==Usage== | |||
This template is used to notify editors of articles that are out of date following the release of new information, namely new ''Zelda'' games. It automatically adds said articles to [[:Category:Articles needing attention]] To use this template, type the following: | |||
{{NoWikiTemp|Normal}} | |||
The full code is as follows: | |||
{{NoWikiTemp|Normal|New information source|Category}} | |||
{{Parameter|New information source|Used to identify a specific source of information. The default is "available at the present time." Please assure that the parameter is properly formatted and produces a grammatically correct sentence in the template.|Optional}} | |||
{{Parameter|Category|Entering any value will suppress the addition of [[:Category:Articles needing attention]].|Optional}} | |||
This template currently has the following pre-made options: | |||
{| class=wikitable style="text-align:center;" | |||
! Input | |||
! Result | |||
|- | |||
| '''<nowiki>{{Update|TWWHD}}</nowiki>''' | |||
|{{Update|TWWHD|everybody was kung fu fighting}} | |||
|- | |||
|'''<nowiki>{{Update|ALBW}}</nowiki>''' | |||
|{{Update|ALBW|those cats were fast as lighting}} | |||
|- | |||
|'''<nowiki>{{Update|HH}}</nowiki>''' | |||
|{{Update|HH|in fact it was a little bit frightening}} | |||
|} | |} | ||
</noinclude> | |||
Revision as of 06:07, 6 October 2013
[[File:|left]] This article or section contains content which is out of date |
Usage
This template is used to notify editors of articles that are out of date following the release of new information, namely new Zelda games. It automatically adds said articles to Category:Articles needing attention To use this template, type the following:
{{Update}}
The full code is as follows:
{{Update|New information source |Category }}
- New information source — Used to identify a specific source of information. The default is "available at the present time." Please assure that the parameter is properly formatted and produces a grammatically correct sentence in the template.
- Category — Entering any value will suppress the addition of Category:Articles needing attention.
This template currently has the following pre-made options:
Input | Result | |
---|---|---|
{{Update|TWWHD}} |
| |
{{Update|ALBW}} |
| |
{{Update|HH}} |
|