Template:Historical: Difference between revisions
Jump to navigation
Jump to search
imported>GuyPerfect (historical) m (→Parameters: Forgot to document the "change" change) |
imported>GuyPerfect (historical) m (Changed icon for now. It can be reverted, but I kinda like this one better.) |
||
Line 1: | Line 1: | ||
{| class="messagebox" | {| class="messagebox" | ||
|- | |- | ||
| style="padding-right: 5px;" | [[Image: | | style="padding-right: 5px;" | [[Image:Badge_time.png]] | ||
|This {{#if: {{{type|}}}|{{{type}}}|article or section}} contains information {{#switch: {{lc:{{{reason}}}}} | |This {{#if: {{{type|}}}|{{{type}}}|article or section}} contains information {{#switch: {{lc:{{{reason}}}}} | ||
| event = about a past event in | | event = about a past event in |
Revision as of 21:33, 20 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:
- change = about changes that took place in
- 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}} | |
{{historical|game=h|reason=change|type=section}} |