Template:Historical: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Thirty7
(changing default to the current name of the game, CoH Freedom... CoH/V distinctions are some what otudated)
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="messagebox"
<div role="note" class="messagebox" <includeonly>data-nosnippet</includeonly> style="display: flex; padding: 0.5em; max-width: 70ch; align-items: center;">
|-
<div style="flex: none;">[[File:Badge_time.png|link=|alt=]]</div>
| style="padding-right: 5px;" | [[Image:Badge_time.png]]
<p style="margin: 0 0 0 0.5em;">{{#if:{{{text|}}}|{{{text}}}|This {{#if: {{{type|}}}|{{{type}}}|article or section}} contains information {{#if:{{{customreason|}}}|{{{customreason}}}|{{#switch: {{lc:{{{reason}}}}}
|{{#if:{{{text|}}}|{{{text}}}|This {{#if: {{{type|}}}|{{{type}}}|article or section}} contains information {{#if:{{{customreason|}}}|{{{customreason}}}|{{#switch: {{lc:{{{reason}}}}}
| event = about a past event in
| event = about a past event in
| change = about changes that took place in  
| change = about changes that took place in  
Line 10: Line 9:
| notused = about a system or idea that was never implemented into
| notused = about a system or idea that was never implemented into
| 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
| #default = that no longer applies to the current version of
| #default = that no longer applies to the current version of
}} }} City of {{#switch: {{lc:{{{game}}}}}
}} }} Homecoming: City of {{#switch: {{lc:{{{game}}}}}
| f
| f
| freedom = Heroes Freedom
| freedom = Heroes Freedom
Line 25: Line 25:
| both
| both
| hv
| hv
| #default = Heroes Freedom}}. {{#if:{{{more|}}}|{{{more}}}|It is provided for historical purposes.}} }}
| #default = Heroes/Villains}}{{#if:{{{nopaid|}}}|; the content is now freely available to all players}}. {{#if:{{{more|}}}|{{{more}}}|It is provided for historical purposes.}} }}</p>
|}<noinclude>{{Documentation}}</noinclude>
</div><noinclude>{{Documentation}}</noinclude>

Latest revision as of 06:03, 12 October 2024

This article or section contains information that no longer applies to the current version of Homecoming: City of Heroes/Villains. It is provided for historical purposes.

[edit] [purge] Documentation

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}}

This article or section contains information that no longer applies to the current version of Homecoming: City of Heroes/Villains. It is provided for historical purposes.

{{historical|type=article}}

This article contains information that no longer applies to the current version of Homecoming: City of Heroes/Villains. It is provided for historical purposes.

{{historical|type=section}}

This section contains information that no longer applies to the current version of Homecoming: City of Heroes/Villains. It is provided for historical purposes.

{{historical|game=f}}

This article or section contains information that no longer applies to the current version of Homecoming: City of Heroes Freedom. It is provided for historical purposes.

{{historical|game=coh}}

This article or section contains information that no longer applies to the current version of Homecoming: City of Heroes. It is provided for historical purposes.

{{historical|game=v}}

This article or section contains information that no longer applies to the current version of Homecoming: City of Villains. It is provided for historical purposes.

{{historical|game=vh}}

This article or section contains information that no longer applies to the current version of Homecoming: City of Villains/Heroes. It is provided for historical purposes.

{{historical|reason=obsolete}}

This article or section contains information that no longer applies to the current version of Homecoming: City of Heroes/Villains. It is provided for historical purposes.

{{historical|reason=maybe}}

This article or section contains information that may not apply to the current version of Homecoming: City of Heroes/Villains. It is provided for historical purposes.

{{historical|reason=event}}

This article or section contains information about a past event in Homecoming: City of Heroes/Villains. It is provided for historical purposes.

{{historical|reason=nopaid}}

This article or section contains information about content which required payment in the past, but is now available to all players in the current version of Homecoming: City of Heroes/Villains. It is provided for historical purposes.

{{historical|game=v|reason=event|type=section}}

This section contains information about a past event in Homecoming: City of Villains. It is provided for historical purposes.

{{historical|game=h|reason=change|type=section}}

This section contains information about changes that took place in Homecoming: City of Heroes. It is provided for historical purposes.