Difference between revisions of "Template:Infobox Character/adventure"

From Twinsuniverse
Jump to: navigation, search
m
m
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
{{#switch: {{lc:{{{1|}}}}}
 
{{#switch: {{lc:{{{1|}}}}}
| multiple = {{categorizer|category=Recurring Characters|label=multiple|nocat={{{nocat|false}}}}}
+
| multiple = {{categorizer|category=Recurring Characters|label=Multiple|nocat={{{nocat|false}}}}}
 
| lba1 = {{categorizer|category=LBA1 Characters|label=FunFrock's Reign|nocat={{{nocat|false}}}}}
 
| lba1 = {{categorizer|category=LBA1 Characters|label=FunFrock's Reign|nocat={{{nocat|false}}}}}
 
| lba2 = {{categorizer|category=LBA2 Characters|label=Twinsen's Odyssey|nocat={{{nocat|false}}}}}
 
| lba2 = {{categorizer|category=LBA2 Characters|label=Twinsen's Odyssey|nocat={{{nocat|false}}}}}
Line 39: Line 39:
 
  <nowiki>{{adventure|multiple}}</nowiki>
 
  <nowiki>{{adventure|multiple}}</nowiki>
  
:{{categorizer|category=Recurring Characters|label=multiple|nocat=true}}
+
:{{categorizer|category=Recurring Characters|label=Multiple|nocat=true}}
  
  

Revision as of 22:52, 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):
    1. multiple
    2. lba1
    3. lba2
    4. lba3
    5. 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.

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]


Or when both apply:

{{adventure|multiple}}
Multiple [list all]


When the in-game content of LBA3 is publicized, it may be specified as the adventure as well:

{{adventure|lba3}}
Stellar Entity Genesis [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)