Difference between revisions of "Template:Infobox Character/adventure"
J McKalling (Talk | contribs) (Created page with "<includeonly> {{#switch: {{lc:{{{1|}}}}} | lba1 = {{categorizer|category=LBA1 Characters|label=FunFrock's Reign|nocat={{{nocat|false}}}}} | lba2 = {{categorizer|category=LBA2 ...") |
J McKalling (Talk | contribs) m (→Parameters) |
||
Line 17: | Line 17: | ||
'''''Note:''' the lba3 value is of cource a placeholder until the highly anticipated sequel is finally released. Do not use this value yet. | '''''Note:''' the lba3 value is of cource a placeholder until the highly anticipated sequel is finally released. Do not use this value yet. | ||
+ | |||
'''''Note:''' it isn't supported yet to specify multiple values, it should become possible to declare a character to both adventures or a combo.'' | '''''Note:''' it isn't supported yet to specify multiple values, it should become possible to declare a character to both adventures or a combo.'' | ||
Revision as of 22:24, 22 November 2012
This template offers a multiple choice for defining which adventure a (character) article belongs to. It can also automatically categorize a page under that category.
Parameters
- The selected adventure from the following values (no parameter name and values are case insensitive):
- lba1
- lba2
- lba3
- 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: the lba3 value is of cource a placeholder until the highly anticipated sequel is finally released. Do not use this value yet.
Note: it isn't supported yet to specify multiple values, it should become possible to declare a character to both adventures or a combo.
Syntax
{{adventure|value}}
Examples
Any of the above values may be used like this:
{{adventure|lba1}}
- FunFrock's Reign [list all]
Or this:
{{adventure|lba2}}
- Twinsen's Odyssey [list all]
The case of the value is not important:
{{adventure|LBA2}}
- Twinsen's Odyssey [list all]
The nocat parameter may be used to suppress automatic categorization like this (any value will do):
{{adventure|lba1|nocat=true}}
(this would render the same result as the first example above, but would not automatically categorize under Category:LBA1 Characters)