Template:Update: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
mNo edit summary
(→‎top: Maintenance template)
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{#vardefine:text|
<includeonly>{{#invoke:Update|Main}}</includeonly><noinclude>
{{#if:{{{1|}}}
{{#invoke:Documentation|Template}}
  |&nbsp;following the release of {{#ifeq:{{Zelda|{{{1|}}}}}|notZelda
  |{{#ifeq:{{lc:{{{1}}}}}|hh
    |''[[Hyrule Historia]]''
    |{{{1}}}
    }}
  |{{GameLink|{{{1}}}}}
  }}
}}
}}<!--
 
-->{{#vardefine:image|
{{#ifeq:{{Zelda|{{{1|}}}}}|notZelda
  |{{#switch:{{lc:{{{1}}}}}
  |#default= Ocarina of Time.png{{!}}75px
  |hh= Hyrule Historia English.jpg{{!}}x70px{{!}}link=Hyrule Historia{{!}}Hyrule Historia
  }}
  |{{Logo|{{{1}}}}}{{!}}110px{{!}}link={{Zelda|{{{1}}}}}
}}
}}<!--
 
-->{{Mbox
|image  = [[File:{{#var:image}}|center]]
|header = This article or section is out of date{{#var:text}}.
|info  = It needs to be updated to be accurate with information {{#if:{{{2|}}}|{{{2}}}|available at the present time}}.
}}{{#if:{{{3|}}}||<includeonly>[[Category:Articles to be updated]]</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 to be updated]]. To use this template, type the following:
 
{{NoWikiTemp|Normal}}
 
The full code is as follows:
 
{{NoWikiTemp|Normal|New information source|Details|Category}}
 
{{Parameter|New information source|Used to identify a specific source of new information. This adds the phrase, "following the release of" and the name of a new source. The entered value should be an abbreviation for a ''Zelda'' game OR "HH" for ''[[Hyrule Historia]]''.|Optional}}
{{Parameter|Details|Used to elaborate on any specific missing or out of date information. Replaces "available at the present time" in the template body. 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 to be updated]].|Optional}}
 
This template currently has the following pre-made options:
 
{| style="text-align:center; border: 1px solid #{{ZWborder}}; border-collapse: collapse;"
!style="border: 1px solid #{{ZWborder}}; background-color: #{{ZWheader}};"| Input
!style="border: 1px solid #{{ZWborder}}; background-color: #{{ZWheader}};"| Result
|- style="border: 1px solid #{{ZWborder}};"
|style="border: 1px solid #{{ZWborder}};" |'''<nowiki>{{Update|TWWHD}}</nowiki>'''
|style="border: 1px solid #{{ZWborder}};" | {{Update|TWWHD||everybody was kung fu fighting}}
|- style="border: 1px solid #{{ZWborder}};"
|style="border: 1px solid #{{ZWborder}};" | '''<nowiki>{{Update|ALBW}}</nowiki>'''
|style="border: 1px solid #{{ZWborder}};" | {{Update|ALBW||those cats were fast as lighting}}
|- style="border: 1px solid #{{ZWborder}};"
|style="border: 1px solid #{{ZWborder}};" | '''<nowiki>{{Update|HH}}</nowiki>'''
|style="border: 1px solid #{{ZWborder}};" | {{Update|HH||in fact it was a little bit frightening}}
|}
 
[[Category:Maintenance templates]]
[[Category:Maintenance templates]]
</noinclude>
</noinclude>

Latest revision as of 00:47, 21 April 2023

Purpose

This template is used to notify editors of articles that are out of date following the release of new information, namely new Zelda games.

Usage

SyntaxBoilerplate
{{Update|<infoSources>}}
{{Update}}
ParameterStatusDescriptionAccepted values
1infoSourcesoptionalUsed to identify one or more specific sources of new information as a comma-separated list.See Data:Franchise

This template is used to notify editors of articles that are out of date following the release of new information, namely new ''Zelda'' games.

Template parameters

ParameterDescriptionTypeStatus
infoSources1

Used to identify one or more specific sources of new information as a comma-separated list.

Stringoptional
__

Dummy parameter. Do not use.

Unknownoptional

Examples

#InputOutputCategories added
1{{Update}}
This article or section is out of date.
It needs to be updated to be accurate with information available at the present time.
2{{Update|BotW}}
This article or section is out of date.
It needs to be updated with information from Breath of the Wild.
3{{Update|E}}
This article or section is out of date.
It needs to be updated with information from Encyclopedia.
4{{Update|E, BotW}}
This article or section is out of date.
It needs to be updated with information from:
5{{Update|fakeGame}}
This article or section is out of date.
It needs to be updated to be accurate with information available at the present time.