Template:Infobox Item/critical

From Twinsuniverse
Jump to: navigation, search
Infobox Item/critical
Purpose

Infobox [list all]

Single tag

No [list all]

Multi-line

No [list all]

Protected

No [list all]

Game related

Yes [list all]

Categorization
Suppressible

Recursively [list all]

Choice

Single category [list all]

Categories

Multiple: [list all]

Variables
Names

none [list all]

Subpages

This template offers the choice to define the criticality category of an (item) article. It can also automatically categorize a page under that category.

An item is critical, when it is required to have or use it for the default storyline of the game. This does not include bug exploiting.

Parameters

  1. Whether or not critical (no parameter name and value is case insensitive):
    • no
    • yes
    • acquired
    • any other (non)empty value defaults to: unknown
  • nocat: Whether or not to suppress categorization under the chosen category (defaults to false, which means auto categorization).


Note: eventhough the name of this template implies a default value of "yes", leaving the parameter empty or out resolves to "unknown" instead.

Syntax

{{Infobox Item/critical|value}}

Examples

Common use includes the only parameter with either values "yes" or "no":

{{Infobox Item/critical|yes}}
{{Infobox Item/critical|no}}
Yes [list all]
No [list all]


Some items are not critical to the game, but are acquired when doing something else that is critical. In that case, use this value:

{{Infobox Item/critical|acquired}}
Acquired [list all]


The case of the value is not important:

{{Infobox Item/critical|acquiRED}}
Acquired [list all]


You may leave "critical" undefined (which would raise the Items of unknown criticality maintenance task) by not specifying any valid value, so these all have the same result:

{{Infobox Item/critical}}
{{Infobox Item/critical|}}
{{Infobox Item/critical|yeah}}
{{Infobox Item/critical|true}}
{{Infobox Item/critical|aye, it's critical!}}
{{Infobox Item/critical|whatever}}
{{Infobox Item/critical|nope?}}
{{Infobox Item/critical|false}}
{{Infobox Item/critical|null}}
{{Infobox Item/critical|zero}}
{{Infobox Item/critical|hospital}}
{{Infobox Item/critical|not}}
unknown [list all]


The nocat parameter may be used to suppress automatic categorization like this (any value will do):

{{Infobox Item/critical|yes|nocat=true}}

This would render the same result as the first example above, but would not automatically categorize under Category:Critical items. This feature works both on valid values and the maintenance task mentioned above.