Difference between revisions of "Template:Infobox Character/magical"
From Twinsuniverse
J McKalling (Talk | contribs) m (→Examples) |
J McKalling (Talk | contribs) m (→Examples) |
||
Line 24: | Line 24: | ||
Or this: | Or this: | ||
<nowiki>{{magical|no}}</nowiki> | <nowiki>{{magical|no}}</nowiki> | ||
+ | |||
+ | :{{categorizer|category=Nonmagical Characters|label=No|nocat=true}} | ||
+ | |||
+ | |||
+ | You may even leave out the argument, which will default to not magical like this: | ||
+ | <nowiki>{{magical}}</nowiki> | ||
:{{categorizer|category=Nonmagical Characters|label=No|nocat=true}} | :{{categorizer|category=Nonmagical Characters|label=No|nocat=true}} |
Revision as of 00:27, 22 November 2012
This template offers the choice to define the magical category of a (character) article. It can also automatically categorize a page under that category.
Parameters
- Whether or not magical (no parameter name and values are case insensitive):
- no
- any other (non)empty value defaults to: yes
- nocat: Whether or not to suppress categorization under the magical category (defaults to false, which means auto categorization).
Syntax
{{magical|value}}
Examples
The template may be used like this:
{{magical|yes}}
- Yes [list all]
Or this:
{{magical|no}}
- No [list all]
You may even leave out the argument, which will default to not magical like this:
{{magical}}
- No [list all]
The case of the value is not important:
{{magical|NO}}
- No [list all]
The nocat parameter may be used to suppress automatic categorization like this (any value will do):
{{magical|yes|nocat=true}}
(this would render the same result as the first example above, but would not automatically categorize under Category:Magical Characters)