Template:Historical: Difference between revisions
Jump to navigation
Jump to search
imported>Konoko (historical) m (testing #switch:) |
imported>GuyPerfect (historical) m (Added "change" reason) |
||
Line 4: | Line 4: | ||
|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 | ||
| change = about changes that took place in | |||
| maybe = that may not apply to the current version of | | maybe = that may not apply to the current version of | ||
| obsolete = that no longer applies to the current version of | | obsolete = that no longer applies to the current version of | ||
Line 85: | Line 86: | ||
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{tl|historical|game=v|reason=event|type=section}} | | 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}} | | style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{historical|game=v|reason=event|type=section}} | ||
|- | |||
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{tl|historical|game=h|reason=change|type=section}} | |||
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{historical|game=h|reason=change|type=section}} | |||
|} | |} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 03:06, 18 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}} | |
{{historical|game=h|reason=change|type=section}} |