Template:Historical: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>GuyPerfect
m ("only for historical purposes")
imported>Sekoia
(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

File:Hourglass.png 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}}
File:Hourglass.png 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.
{{historical|type=article}}
File:Hourglass.png This article contains information that no longer applies to the current version of City of Heroes/Villains. It is provided only for historical purposes.
{{historical|type=section}}
File:Hourglass.png This section contains information that no longer applies to the current version of City of Heroes/Villains. It is provided only for historical purposes.
{{historical|game=coh}}
File:Hourglass.png This article or section contains information that no longer applies to the current version of City of Heroes. It is provided only for historical purposes.
{{historical|game=v}}
File:Hourglass.png This article or section contains information that no longer applies to the current version of City of Villains. It is provided only for historical purposes.
{{historical|game=vh}}
File:Hourglass.png This article or section contains information that no longer applies to the current version of City of Villains/Heroes. It is provided only for historical purposes.
{{historical|reason=obsolete}}
File:Hourglass.png 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.
{{historical|reason=maybe}}
File:Hourglass.png This article or section contains information that may not apply to the current version of City of Heroes/Villains. It is provided only for historical purposes.
{{historical|reason=event}}
File:Hourglass.png This article or section contains information about a past event in City of Heroes/Villains. It is provided only for historical purposes.
{{historical|game=v|reason=event|type=section}}
File:Hourglass.png This section contains information about a past event in City of Villains. It is provided only for historical purposes.