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

From Twinsuniverse
Jump to: navigation, search
m (Examples)
m
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
{{#switch: {{lc:{{{1|}}}}}
 
{{#switch: {{lc:{{{1|}}}}}
 +
| 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 10: Line 11:
 
==Parameters==
 
==Parameters==
 
* The selected adventure from the following values (no parameter name and values are case insensitive):
 
* The selected adventure from the following values (no parameter name and values are case insensitive):
 +
*# ''multiple''
 
*# ''lba1''
 
*# ''lba1''
 
*# ''lba2''
 
*# ''lba2''
Line 16: Line 18:
 
* '''nocat''': Whether or not to suppress categorization under the chosen category (defaults to false, which means auto categorization).
 
* '''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:''' 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==
 
==Syntax==
Line 34: Line 34:
  
 
:{{categorizer|category=LBA2 Characters|label=Twinsen's Odyssey|nocat=true}}
 
:{{categorizer|category=LBA2 Characters|label=Twinsen's Odyssey|nocat=true}}
 +
 +
 +
Or when both apply:
 +
<nowiki>{{adventure|multiple}}</nowiki>
 +
 +
:{{categorizer|category=Recurring Characters|label=multiple|nocat=true}}
  
  

Revision as of 22:39, 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)