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

From Twinsuniverse
Jump to: navigation, search
m
m
Line 45: Line 45:
  
 
==Syntax==
 
==Syntax==
  <nowiki>{{infobox character/adventure|lba1=value|lba2=value|lba3=value}}</nowiki>
+
  <nowiki>{{Infobox Character/adventure|lba1=value|lba2=value|lba3=value}}</nowiki>
  
 
==Examples==
 
==Examples==
 
Common use include either the '''lba1''' or '''lba2''' parameter to specify the one adventure a character is in (value "yes" is recommended):
 
Common use include either the '''lba1''' or '''lba2''' parameter to specify the one adventure a character is in (value "yes" is recommended):
  <nowiki>{{infobox character/adventure|lba1=yes}}</nowiki>
+
  <nowiki>{{Infobox Character/adventure|lba1=yes}}</nowiki>
  <nowiki>{{infobox character/adventure|lba2=yes}}</nowiki>
+
  <nowiki>{{Infobox Character/adventure|lba2=yes}}</nowiki>
  
 
:{{categorizer|category=LBA1 characters|label=FunFrock's Reign|nocat=true}}
 
:{{categorizer|category=LBA1 characters|label=FunFrock's Reign|nocat=true}}
Line 57: Line 57:
  
 
You can also specify multiple adventures for one character (<span style="color:red">warning</span>: this will force a table cell to split in two, so do not do this outside table cells!):
 
You can also specify multiple adventures for one character (<span style="color:red">warning</span>: this will force a table cell to split in two, so do not do this outside table cells!):
  <nowiki>{{infobox character/adventure|lba1=yes|lba2=yes}}</nowiki>
+
  <nowiki>{{Infobox Character/adventure|lba1=yes|lba2=yes}}</nowiki>
  
 
:{{categorizer|category=Recurring characters|label=Multiple:|nocat=true}}
 
:{{categorizer|category=Recurring characters|label=Multiple:|nocat=true}}
Line 65: Line 65:
  
 
It doesn't matter which value you use, any nonempty value other than "no" will express a ''positive'' value, so these all have the same result:
 
It doesn't matter which value you use, any nonempty value other than "no" will express a ''positive'' value, so these all have the same result:
  <nowiki>{{infobox character/adventure|lba1=aye, let's do this!}}</nowiki>
+
  <nowiki>{{Infobox Character/adventure|lba1=aye, let's do this!}}</nowiki>
  <nowiki>{{infobox character/adventure|lba1=false}}</nowiki>
+
  <nowiki>{{Infobox Character/adventure|lba1=false}}</nowiki>
  <nowiki>{{infobox character/adventure|lba1=not}}</nowiki>
+
  <nowiki>{{Infobox Character/adventure|lba1=not}}</nowiki>
  <nowiki>{{infobox character/adventure|lba1=maybe}}</nowiki>
+
  <nowiki>{{Infobox Character/adventure|lba1=maybe}}</nowiki>
  <nowiki>{{infobox character/adventure|lba1=0}}</nowiki>
+
  <nowiki>{{Infobox Character/adventure|lba1=0}}</nowiki>
  <nowiki>{{infobox character/adventure|lba1=zero}}</nowiki>
+
  <nowiki>{{Infobox Character/adventure|lba1=zero}}</nowiki>
  <nowiki>{{infobox character/adventure|lba1=null}}</nowiki>
+
  <nowiki>{{Infobox Character/adventure|lba1=null}}</nowiki>
  <nowiki>{{infobox character/adventure|lba1=n}}</nowiki>
+
  <nowiki>{{Infobox Character/adventure|lba1=n}}</nowiki>
  <nowiki>{{infobox character/adventure|lba1=whatever}}</nowiki>
+
  <nowiki>{{Infobox Character/adventure|lba1=whatever}}</nowiki>
  <nowiki>{{infobox character/adventure|lba1=yes}}</nowiki>
+
  <nowiki>{{Infobox Character/adventure|lba1=yes}}</nowiki>
  <nowiki>{{infobox character/adventure|lba1=YES}}</nowiki>
+
  <nowiki>{{Infobox Character/adventure|lba1=YES}}</nowiki>
  
 
:{{categorizer|category=LBA1 characters|label=FunFrock's Reign|nocat=true}}
 
:{{categorizer|category=LBA1 characters|label=FunFrock's Reign|nocat=true}}
Line 81: Line 81:
  
 
The only ways to express a ''negative'' value is by leaving out the parameter, leaving it empty or specifying "no" (case insensitive), so these all have the same result:
 
The only ways to express a ''negative'' value is by leaving out the parameter, leaving it empty or specifying "no" (case insensitive), so these all have the same result:
  <nowiki>{{infobox character/adventure|lba1=yes}}</nowiki>
+
  <nowiki>{{Infobox Character/adventure|lba1=yes}}</nowiki>
  <nowiki>{{infobox character/adventure|lba1=yes|lba2=}}</nowiki>
+
  <nowiki>{{Infobox Character/adventure|lba1=yes|lba2=}}</nowiki>
  <nowiki>{{infobox character/adventure|lba1=yes|lba2=no}}</nowiki>
+
  <nowiki>{{Infobox Character/adventure|lba1=yes|lba2=no}}</nowiki>
  <nowiki>{{infobox character/adventure|lba1=yes|lba2=NO}}</nowiki>
+
  <nowiki>{{Infobox Character/adventure|lba1=yes|lba2=NO}}</nowiki>
  
 
:{{categorizer|category=LBA1 characters|label=FunFrock's Reign|nocat=true}}
 
:{{categorizer|category=LBA1 characters|label=FunFrock's Reign|nocat=true}}
Line 90: Line 90:
  
 
When the in-game content of [[Little Big Adventure 3]] is publicized, it may be specified as the adventure as well:
 
When the in-game content of [[Little Big Adventure 3]] is publicized, it may be specified as the adventure as well:
  <nowiki>{{infobox character/adventure|lba3=yes}}</nowiki>
+
  <nowiki>{{Infobox Character/adventure|lba3=yes}}</nowiki>
  
 
:{{categorizer|category=LBA3 characters|label=Stellar Entity Genesis|nocat=true}}
 
:{{categorizer|category=LBA3 characters|label=Stellar Entity Genesis|nocat=true}}
Line 96: Line 96:
  
 
You may leave the "adventure" undefined (which would raise the [[:Category:Characters from an unknown adventure|Characters from an unknown adventure]] maintenance task) by not specifying any positive value for any of the options, so these all have the same result:
 
You may leave the "adventure" undefined (which would raise the [[:Category:Characters from an unknown adventure|Characters from an unknown adventure]] maintenance task) by not specifying any positive value for any of the options, so these all have the same result:
  <nowiki>{{infobox character/adventure}}</nowiki>
+
  <nowiki>{{Infobox Character/adventure}}</nowiki>
  <nowiki>{{infobox character/adventure|lba1=no}}</nowiki>
+
  <nowiki>{{Infobox Character/adventure|lba1=no}}</nowiki>
  <nowiki>{{infobox character/adventure|lba1=|lba2=|lba3=}}</nowiki>
+
  <nowiki>{{Infobox Character/adventure|lba1=|lba2=|lba3=}}</nowiki>
  
 
:{{categorizer|category=Characters from an unknown adventure|label=unknown|nocat=true}}
 
:{{categorizer|category=Characters from an unknown adventure|label=unknown|nocat=true}}
Line 104: Line 104:
  
 
The '''nocat''' parameter may be used to suppress automatic categorization like this (any value will do):
 
The '''nocat''' parameter may be used to suppress automatic categorization like this (any value will do):
  <nowiki>{{infobox character/adventure|lba1=yes|nocat=true}}</nowiki>
+
  <nowiki>{{Infobox Character/adventure|lba1=yes|nocat=true}}</nowiki>
  
 
This would render the same result as the first example above, but would not automatically categorize under [[:Category:LBA1 characters]]. This feature works both on valid values and the maintenance task mentioned above.
 
This would render the same result as the first example above, but would not automatically categorize under [[:Category:LBA1 characters]]. This feature works both on valid values and the maintenance task mentioned above.
  
 
[[Category:Article Categorizers|character]]</noinclude>
 
[[Category:Article Categorizers|character]]</noinclude>

Revision as of 19:53, 4 December 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

  • lba1: Whether or not to select the first adventure "FunFrock's Reign" (defaults to no, enable by any other nonempty value)
  • lba2: Whether or not to select the second adventure "Twinsen's Odyssey" (defaults to no, enable by any other nonempty value)
  • lba3: Whether or not to select the third adventure "Stellar Entity Genesis" (defaults to no, enable by any other nonempty value)
  • nocat: Whether or not to suppress categorization under the chosen categories (defaults to false, which means auto categorization).


Note: the lba3 parameter is of cource a placeholder for until the highly anticipated sequel is finally released. Do not use it yet.

Note: this categorizer is multiple choice: you can specify any combination of the three options.

Note: if neither lba1, lba2 or lba3 specify a positive value, the default 'unknown' will be used.

Syntax

{{Infobox Character/adventure|lba1=value|lba2=value|lba3=value}}

Examples

Common use include either the lba1 or lba2 parameter to specify the one adventure a character is in (value "yes" is recommended):

{{Infobox Character/adventure|lba1=yes}}
{{Infobox Character/adventure|lba2=yes}}
FunFrock's Reign [list all]
Twinsen's Odyssey [list all]


You can also specify multiple adventures for one character (warning: this will force a table cell to split in two, so do not do this outside table cells!):

{{Infobox Character/adventure|lba1=yes|lba2=yes}}
Multiple: [list all]


It doesn't matter which value you use, any nonempty value other than "no" will express a positive value, so these all have the same result:

{{Infobox Character/adventure|lba1=aye, let's do this!}}
{{Infobox Character/adventure|lba1=false}}
{{Infobox Character/adventure|lba1=not}}
{{Infobox Character/adventure|lba1=maybe}}
{{Infobox Character/adventure|lba1=0}}
{{Infobox Character/adventure|lba1=zero}}
{{Infobox Character/adventure|lba1=null}}
{{Infobox Character/adventure|lba1=n}}
{{Infobox Character/adventure|lba1=whatever}}
{{Infobox Character/adventure|lba1=yes}}
{{Infobox Character/adventure|lba1=YES}}
FunFrock's Reign [list all]


The only ways to express a negative value is by leaving out the parameter, leaving it empty or specifying "no" (case insensitive), so these all have the same result:

{{Infobox Character/adventure|lba1=yes}}
{{Infobox Character/adventure|lba1=yes|lba2=}}
{{Infobox Character/adventure|lba1=yes|lba2=no}}
{{Infobox Character/adventure|lba1=yes|lba2=NO}}
FunFrock's Reign [list all]


When the in-game content of Little Big Adventure 3 is publicized, it may be specified as the adventure as well:

{{Infobox Character/adventure|lba3=yes}}
Stellar Entity Genesis [list all]


You may leave the "adventure" undefined (which would raise the Characters from an unknown adventure maintenance task) by not specifying any positive value for any of the options, so these all have the same result:

{{Infobox Character/adventure}}
{{Infobox Character/adventure|lba1=no}}
{{Infobox Character/adventure|lba1=|lba2=|lba3=}}
unknown [list all]


The nocat parameter may be used to suppress automatic categorization like this (any value will do):

{{Infobox Character/adventure|lba1=yes|nocat=true}}

This would render the same result as the first example above, but would not automatically categorize under Category:LBA1 characters. This feature works both on valid values and the maintenance task mentioned above.