Template:Historical/doc: Difference between revisions
Jump to navigation
Jump to search
imported>Sekoia (historical) m (→Parameters: small addition) |
(Hanging |- (probably my fault, oops)) |
||
(7 intermediate revisions by 4 users not shown) | |||
Line 22: | Line 22: | ||
:* obsolete = that no longer applies to the current version of | :* obsolete = that no longer applies to the current version of | ||
:* issue = about a major update to | :* issue = about a major update to | ||
:* nopaid = about content which required payment in the past, but is now available to all players in the current version of | |||
; customreason | ; customreason | ||
Line 28: | Line 29: | ||
; game | ; game | ||
: Purpose: Indicates which game the message applies to | : Purpose: Indicates which game the message applies to. | ||
: Default: "Heroes | : Default: "City of Heroes Freedom" | ||
: Accepts: | : Accepts: | ||
:*h, coh, hero, heroes ''for'' "Heroes" | :*f, freedom ''for'' "City of Heroes Freedom" | ||
:*v, cov, villain, villains ''for'' "Villains" | :*h, coh, hero, heroes ''for'' "City of Heroes" | ||
:*both, hv ''for'' "Heroes/Villains" | :*v, cov, villain, villains ''for'' "City of Villains" | ||
:*vh ''for'' "Villains/Heroes" | :*both, hv ''for'' "City of Heroes/Villains" | ||
:*vh ''for'' "City of Villains/Heroes" | |||
; more | ; more | ||
Line 59: | Line 61: | ||
| 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=f}} | |||
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{historical|game=f}} | |||
|- | |- | ||
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{tl|historical|game=coh}} | | style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{tl|historical|game=coh}} | ||
Line 77: | Line 82: | ||
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{tl|historical|reason=event}} | | style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{tl|historical|reason=event}} | ||
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{historical|reason=event}} | | style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{historical|reason=event}} | ||
|- | |||
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{tl|historical|reason=nopaid}} | |||
| style="border: 1px #aaaaaa solid; padding: 0.2em;" | {{historical|reason=nopaid}} | |||
|- | |- | ||
| 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}} | ||
Line 87: | Line 95: | ||
<includeonly><!-- | <includeonly><!-- | ||
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. --> | ++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. --> | ||
[[Category:Templates]] | [[Category:Editors Tags Templates|{{PAGENAME}}]] | ||
</includeonly> | </includeonly> |
Latest revision as of 16:13, 12 January 2024
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
- notused = about a system or idea that was never implemented into
- obsolete = that no longer applies to the current version of
- issue = about a major update to
- nopaid = about content which required payment in the past, but is now available to all players in the current version of
- customreason
- Purpose: Supplies a customized reason when there exists no reason= option that will work. Try to use only for special cases! If a more generalized reason can be added to reason=, that may be better. If used, this will disable reason=.
- Accepts: Anything.
- game
- Purpose: Indicates which game the message applies to.
- Default: "City of Heroes Freedom"
- Accepts:
- f, freedom for "City of Heroes Freedom"
- h, coh, hero, heroes for "City of Heroes"
- v, cov, villain, villains for "City of Villains"
- both, hv for "City of Heroes/Villains"
- vh for "City of Villains/Heroes"
- more
- Purpose: Used to replace the last sentence with more descriptive sentence, when applicable.
- Accepts: Anything.
- text
- Purpose: Used to provide custom text to replace the entire text structure that is normally used. Thus, all other parameters will have no effect. This should be used fairly sparingly.
- Accepts: Anything.
Usage
Template Call | Result |
---|---|
{{historical}} | |
{{historical|type=article}} | |
{{historical|type=section}} | |
{{historical|game=f}} | |
{{historical|game=coh}} | |
{{historical|game=v}} | |
{{historical|game=vh}} | |
{{historical|reason=obsolete}} | |
{{historical|reason=maybe}} | |
{{historical|reason=event}} | |
{{historical|reason=nopaid}} | |
{{historical|game=v|reason=event|type=section}} | |
{{historical|game=h|reason=change|type=section}} |