Template:Historical: Difference between revisions
Jump to navigation
Jump to search
imported>Sekoia m (→Parameters) |
imported>Konoko m (testing #switch:) |
||
Line 8: | Line 8: | ||
| #default = that no longer applies to the current version of | | #default = that no longer applies to the current version of | ||
}} City of {{#switch: {{lc:{{{game}}}}} | }} City of {{#switch: {{lc:{{{game}}}}} | ||
| h | | h | ||
| coh | | coh | ||
| hero | | hero | ||
| heroes = Heroes | | heroes = Heroes | ||
| cov | | cov | ||
| v | | v | ||
| villain | | villain | ||
| villains = Villains | | villains = Villains | ||
| vh = Villains/Heroes | | vh = Villains/Heroes | ||
| both | |||
| hv | |||
| #default = Heroes/Villains}}. It is provided only for historical purposes. | | #default = Heroes/Villains}}. It is provided only for historical purposes. | ||
|}<noinclude> | |}<noinclude> |
Revision as of 22:14, 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 current 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}} |