Difference between revisions of "Template:Infobox Item/critical"
J McKalling (Talk | contribs) (Created page with "<includeonly> {{#switch: {{lc:{{{1|}}}}} | no = {{categorizer|category=Noncritical items|label=No|display=infobox|nocat={{{nocat|false}}}}} | yes = {{categorizer|category=Crit...") |
(No difference)
|
Revision as of 18:22, 24 December 2012
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
- 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}}
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|yes}} {{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.