Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:Historical"

From Paragon Wiki Archive
Jump to: navigation, search
m (for documentation: removing class=wikitable, using manual style info so that it doesn't mess up the example output)
(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}}
Badge time.png This article or section contains information that no longer applies to the current version of City of Heroes Freedom. It is provided for historical purposes.
{{historical|type=article}}
Badge time.png This article contains information that no longer applies to the current version of City of Heroes Freedom. It is provided for historical purposes.
{{historical|type=section}}
Badge time.png This section contains information that no longer applies to the current version of City of Heroes Freedom. It is provided for historical purposes.
{{historical|game=coh}}
Badge time.png This article or section contains information that no longer applies to the current version of City of Heroes. It is provided for historical purposes.
{{historical|game=v}}
Badge time.png This article or section contains information that no longer applies to the current version of City of Villains. It is provided for historical purposes.
{{historical|game=vh}}
Badge time.png This article or section contains information that no longer applies to the current version of City of Villains/Heroes. It is provided for historical purposes.