Template:Historical: Difference between revisions
Jump to navigation
Jump to search
imported>Sekoia m (for documentation: removing class=wikitable, using manual style info so that it doesn't mess up the example output) |
imported>Sekoia (adding a "game" parameter, for things that are specific to coh or cov) |
||
Line 2: | Line 2: | ||
|- | |- | ||
|[[Image:Mission Selected2.png]] | |[[Image:Mission Selected2.png]] | ||
|This {{#if: {{{type|}}}|{{{type}}}|article or section}} contains information that no longer applies to the present version of City of Heroes/Villains. It is provided solely for historical context. | |This {{#if: {{{type|}}}|{{{type}}}|article or section}} contains information that no longer applies to the present version of City of {{#switch: {{lc:{{{game}}}}} | ||
| h = Heroes | |||
| coh = Heroes | |||
| hero = Heroes | |||
| heroes = Heroes | |||
| cov = Villains | |||
| v = Villains | |||
| villain = Villains | |||
| villains = Villains | |||
| both = Heroes/Villains | |||
| hv = Heroes/Villains | |||
| vh = Villains/Heroes | |||
| #default = Heroes/Villains}}. It is provided solely for historical context. | |||
|}<noinclude> | |}<noinclude> | ||
== Overview == | == Overview == | ||
This template is to be used for articles or sections of articles that fit the description in the message. | 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". | |||
; 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 == | == Usage == | ||
Line 22: | Line 51: | ||
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{tl|historical|type=section}} | | style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{tl|historical|type=section}} | ||
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{historical|type=section}} | | style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{historical|type=section}} | ||
|- | |||
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{tl|historical|game=coh}} | |||
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{historical|game=coh}} | |||
|- | |||
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{tl|historical|game=v}} | |||
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{historical|game=v}} | |||
|- | |||
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{tl|historical|game=vh}} | |||
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{historical|game=vh}} | |||
|} | |} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 10:19, 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".
- 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}} |