Template:Historical: Difference between revisions
Jump to navigation
Jump to search
imported>GuyPerfect (historical) m ("only for historical purposes") |
imported>Sekoia (historical) (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 | |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
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}} | |
{{historical|type=article}} | |
{{historical|type=section}} | |
{{historical|game=coh}} | |
{{historical|game=v}} | |
{{historical|game=vh}} | |
{{historical|reason=obsolete}} | |
{{historical|reason=maybe}} | |
{{historical|reason=event}} | |
{{historical|game=v|reason=event|type=section}} |