Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:Historical"

From Paragon Wiki Archive
Jump to: navigation, search
m ("only for historical purposes")
(adding a "reason" parameter, with documentation)
Line 2: Line 2:
 
|-
 
|-
 
| style="padding-right: 5px;" | [[Image:Hourglass.png|35px]]
 
| style="padding-right: 5px;" | [[Image:Hourglass.png|35px]]
|This {{#if: {{{type|}}}|{{{type}}}|article or section}} contains information that no longer applies to the present version of City of {{#switch: {{lc:{{{game}}}}}
+
|This {{#if: {{{type|}}}|{{{type}}}|article or section}} contains information {{#switch: {{lc:{{{reason}}}}}
 +
| event = about a past event in
 +
| maybe = that may not apply to the current version of
 +
| obsolete = that no longer applies to the current version of
 +
| #default = that no longer applies to the current version of
 +
}} City of {{#switch: {{lc:{{{game}}}}}
 
| h = Heroes
 
| h = Heroes
 
| coh = Heroes
 
| coh = Heroes
Line 26: Line 31:
 
: Default: "article or section"
 
: Default: "article or section"
 
: Accepts: Anything, but should probably be "article" or "section".
 
: Accepts: Anything, but should probably be "article" or "section".
 +
 +
; reason
 +
: Purpose: A keyword that indicates which reason this is historical. Fills in the spot between "... contains information ..." and "...City of...".
 +
: Default: that no longer applies to the present version of
 +
: Accepts:
 +
:* event = about a past event in
 +
:* maybe = that may not apply to the current version of
 +
:* obsolete = that no longer applies to the current version of
  
 
; game
 
; game
Line 60: Line 73:
 
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{tl|historical|game=vh}}
 
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{tl|historical|game=vh}}
 
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{historical|game=vh}}
 
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{historical|game=vh}}
 +
|-
 +
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{tl|historical|reason=obsolete}}
 +
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{historical|reason=obsolete}}
 +
|-
 +
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{tl|historical|reason=maybe}}
 +
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{historical|reason=maybe}}
 +
|-
 +
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{tl|historical|reason=event}}
 +
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{historical|reason=event}}
 +
|-
 +
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{tl|historical|game=v|reason=event|type=section}}
 +
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{historical|game=v|reason=event|type=section}}
 
|}
 
|}
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 20:35, 17 May 2007

35px This article or section contains information that no longer applies to the current version of City of Heroes/Villains. It is provided only for historical purposes.

Overview

This template is to be used for articles or sections of articles that fit the description in the message.

Parameters

All parameters are optional. If not supplied, a default value will be used.

type
Purpose: Indicates whether the message applies to the whole article or just a section.
Default: "article or section"
Accepts: Anything, but should probably be "article" or "section".
reason
Purpose: A keyword that indicates which reason this is historical. Fills in the spot between "... contains information ..." and "...City of...".
Default: that no longer applies to the present version of
Accepts:
  • event = about a past event in
  • maybe = that may not apply to the current version of
  • obsolete = that no longer applies to the current version of
game
Purpose: Indicates which game the message applies to. Will be preceded by "City of ".
Default: "Heroes/Villains"
Accepts:
  • h, coh, hero, heroes for "Heroes"
  • v, cov, villain, villains for "Villains"
  • both, hv for "Heroes/Villains"
  • vh for "Villains/Heroes"

Usage

Template Call Result
{{historical}}
Badge time.png This article or section contains information that no longer applies to the current version of City of Heroes Freedom. It is provided for historical purposes.
{{historical|type=article}}
Badge time.png This article contains information that no longer applies to the current version of City of Heroes Freedom. It is provided for historical purposes.
{{historical|type=section}}
Badge time.png This section contains information that no longer applies to the current version of City of Heroes Freedom. It is provided for historical purposes.
{{historical|game=coh}}
Badge time.png This article or section contains information that no longer applies to the current version of City of Heroes. It is provided for historical purposes.
{{historical|game=v}}
Badge time.png This article or section contains information that no longer applies to the current version of City of Villains. It is provided for historical purposes.
{{historical|game=vh}}
Badge time.png This article or section contains information that no longer applies to the current version of City of Villains/Heroes. It is provided for historical purposes.
{{historical|reason=obsolete}}
Badge time.png This article or section contains information that no longer applies to the current version of City of Heroes Freedom. It is provided for historical purposes.
{{historical|reason=maybe}}
Badge time.png This article or section contains information that may not apply to the current version of City of Heroes Freedom. It is provided for historical purposes.
{{historical|reason=event}}
Badge time.png This article or section contains information about a past event in City of Heroes Freedom. It is provided for historical purposes.
{{historical|game=v|reason=event|type=section}}
Badge time.png This section contains information about a past event in City of Villains. It is provided for historical purposes.