Difference between revisions of "Template:Update"

From eRepublik Official Wiki
Jump to: navigation, search
m (styling)
 
Line 7: Line 7:
 
   | class = ambox-Update
 
   | class = ambox-Update
 
   | image = [[File:Gnome globe current event.png|42px]]
 
   | image = [[File:Gnome globe current event.png|42px]]
 +
  | width = 600px
 
   | issue = {{#if:{{{1|}}}
 
   | issue = {{#if:{{{1|}}}
 
   |{{#ifeq:{{{1|}}}|section
 
   |{{#ifeq:{{{1|}}}|section
Line 13: Line 14:
 
     }}
 
     }}
 
   |This article is '''outdated''' and the information may no longer be valid
 
   |This article is '''outdated''' and the information may no longer be valid
   }}.
+
   }}.<br>
 
   | fix  = Please update this {{{type|{{SUBJECTSPACE formatted}}}}} to reflect recent events or newly available information. {{#if:{{{2|}}}
 
   | fix  = Please update this {{{type|{{SUBJECTSPACE formatted}}}}} to reflect recent events or newly available information. {{#if:{{{2|}}}
 
   |<br /><small>Last update: {{{2}}}</small>
 
   |<br /><small>Last update: {{{2}}}</small>
Line 25: Line 26:
 
   | name  = Update
 
   | name  = Update
 
   | subst = <includeonly>{{subst:substcheck}}</includeonly>
 
   | subst = <includeonly>{{subst:substcheck}}</includeonly>
 +
  | width = 600px
 
   | type  = content
 
   | type  = content
 
   | class = ambox-Update
 
   | class = ambox-Update
Line 31: Line 33:
 
   |Parts of this {{{type|{{SUBJECTSPACE formatted}}}}} (those related to {{{1|}}}) are '''outdated'''
 
   |Parts of this {{{type|{{SUBJECTSPACE formatted}}}}} (those related to {{{1|}}}) are '''outdated'''
 
   |This {{{type|{{SUBJECTSPACE formatted}}}}} is '''outdated''' and the information may no longer be valid
 
   |This {{{type|{{SUBJECTSPACE formatted}}}}} is '''outdated''' and the information may no longer be valid
   }}. Please update this {{{type|{{SUBJECTSPACE formatted}}}}} to reflect recent events or newly available information. {{#ifexist: {{TALKPAGENAME}}
+
   }}.<br> Please update this {{{type|{{SUBJECTSPACE formatted}}}}} to reflect recent events or newly available information. {{#ifexist: {{TALKPAGENAME}}
 
   |Please see the [[{{TALKPAGENAME}}|talk page]] for more information.
 
   |Please see the [[{{TALKPAGENAME}}|talk page]] for more information.
 
   }} {{#if:{{{date|}}}|<small>''({{{date}}})''</small>}} {{{{{subst|}}}#if:{{{2|}}}
 
   }} {{#if:{{{date|}}}|<small>''({{{date}}})''</small>}} {{{{{subst|}}}#if:{{{2|}}}
Line 38: Line 40:
 
  }}
 
  }}
 
}}<noinclude>
 
}}<noinclude>
 
+
{{Documentation}}[[Category:Notice Templates]]</noinclude>
{{Documentation}}
+
 
+
[[Category:Graphical Aid Templates]]
+
 
+
</noinclude>
+

Latest revision as of 13:38, 12 July 2022

[edit] [purge]

Documentation

Usage

This template can be used to mark articles or sections with old or out-of-date information.

To add the date when the tag was added, use:

{{Update|date=April 2024}}

To specify which parts of the article need updating, use the first unnamed parameter:

{{Update|Foo [[bar]] qux}}

To display the date of the last update, use the second unnamed parameter:

{{Update||29 March 2024}}

To mark a section, use:

{{Update|section|date=April 2024}}

To explain that the article now has inaccuracies, use |inaccurate=yes:

{{Update|inaccurate=yes}}

To link to a particular section of the talk page where the update is being discussed, use |talk=Section (or |talksection=Section):

{{Update|talk=Section}}

Example

{{Update|documentation|date=April 2024}}

The template detects which namespace it is used in and changes accordingly:

Article
Category
Template

{{Update|section}} produces:

Article
Category
Template

This template will add articles to Category:Outdated.

{{Update|inaccurate=yes}}

Translation

This template is not to be translated.

See also