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...")
 
Line 12: Line 12:
 
     |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
 
   }}.
 
   }}.
 
   | 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|}}}
Line 30: Line 30:
 
   | 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}}
 
   }}. 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.

Revision as of 21:48, 16 August 2016

[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