Template:Historical: Difference between revisions

From Unofficial Homecoming Wiki
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&#61;section}}
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{tl|historical|type&#61;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&#61;coh}}
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{historical|game=coh}}
|-
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{tl|historical|game&#61;v}}
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{historical|game=v}}
|-
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{tl|historical|game&#61;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

Mission Selected2.png This 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.

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}}
Mission Selected2.png This 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.
{{historical|type=article}}
Mission Selected2.png This article contains information that no longer applies to the present version of City of Heroes/Villains. It is provided solely for historical context.
{{historical|type=section}}
Mission Selected2.png This section contains information that no longer applies to the present version of City of Heroes/Villains. It is provided solely for historical context.
{{historical|game=coh}}
Mission Selected2.png This article or section contains information that no longer applies to the present version of City of Heroes. It is provided solely for historical context.
{{historical|game=v}}
Mission Selected2.png This article or section contains information that no longer applies to the present version of City of Villains. It is provided solely for historical context.
{{historical|game=vh}}
Mission Selected2.png This article or section contains information that no longer applies to the present version of City of Villains/Heroes. It is provided solely for historical context.