Difference between revisions of "Template:Update"

From eRepublik Official Wiki
Jump to: navigation, search
(Created page with "{{main other | demospace = {{{demospace|}}} |{{ambox | name = Update | subst = <includeonly>{{subst:substcheck}}</includeonly> | type = content | class = ambox-Up...")
 
m (styling)
 
(One intermediate revision by one other user not shown)
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 12: Line 13:
 
     |Parts of this article (those related to {{{1|}}}) are '''outdated'''
 
     |Parts of this article (those related to {{{1|}}}) are '''outdated'''
 
     }}
 
     }}
   |This article is '''outdated'''
+
   |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 30: Line 32:
 
   | text  = {{#if:{{{1|}}}
 
   | text  = {{#if:{{{1|}}}
 
   |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'''
+
   |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=May 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||13 April 2024}}

To mark a section, use:

{{Update|section|date=May 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=May 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