Difference between revisions of "Template:CharacterInfobox"
From LAH Wiki
m (forgot to add loli and shota to code section) |
|||
Line 2: | Line 2: | ||
|__ToC__ | |__ToC__ | ||
|}</noinclude> | |}</noinclude> | ||
− | {| style="width: | + | {| style="width:240px; border:1px solid dimgray" align=<includeonly>{{#if: {{{align|}}}|{{{align}}}|right}}</includeonly> |
| style="font-size:125%; text-align:center" |'''<includeonly>{{{header}}}</includeonly><noinclude>Header</noinclude>''' | | style="font-size:125%; text-align:center" |'''<includeonly>{{{header}}}</includeonly><noinclude>Header</noinclude>''' | ||
|- | |- | ||
− | | style="border:1px solid dimgrey; text-align:center; background:black"| [[image:<includeonly>{{{imageFile}}}</includeonly><noinclude>ExampleAvvy.png</noinclude>| | + | | style="border:1px solid dimgrey; text-align:center; background:black"| [[image:<includeonly>{{{imageFile}}}</includeonly><noinclude>ExampleAvvy.png</noinclude>|230px]] |
{{#if:{{{caption|}}}|{{{caption}}}}}<noinclude>Image Caption</noinclude> | {{#if:{{{caption|}}}|{{{caption}}}}}<noinclude>Image Caption</noinclude> | ||
|- | |- | ||
| | | | ||
− | <includeonly>{{#if:{{{name|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width: | + | <includeonly>{{#if:{{{name|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:40%; text-align:center">'''Name'''</TD> <TD style="width:67%"> <includeonly> |
+ | {{{name}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | ||
− | --><includeonly>{{#if:{{{loli|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width: | + | --><includeonly>{{#if:{{{loli|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:40%; text-align:center">'''Loli?'''</TD> <TD style="width:67%"> <includeonly> |
+ | {{{loli}}} </includeonly> <noinclude>Yes/No</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | ||
− | --><includeonly>{{#if:{{{shota|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width: | + | --><includeonly>{{#if:{{{shota|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:40%; text-align:center">'''Shota?'''</TD> <TD style="width:67%"> <includeonly> |
+ | {{{shota}}} </includeonly> <noinclude>Yes/No</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | ||
This first section is for in universe data | This first section is for in universe data | ||
Line 19: | Line 22: | ||
Physical | Physical | ||
− | --><includeonly>{{#if:{{{height|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width: | + | --><includeonly>{{#if:{{{height|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:40%; text-align:center">'''Height'''</TD> <TD style="width:60%"> <includeonly> |
+ | {{{height}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | ||
− | --><includeonly>{{#if:{{{weight|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width: | + | --><includeonly>{{#if:{{{weight|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:40%; text-align:center">'''Weight'''</TD> <TD style="width:60%"> <includeonly> |
+ | {{{weight}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | ||
− | --><includeonly>{{#if:{{{measurements|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width: | + | --><includeonly>{{#if:{{{measurements|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:40%; text-align:center">'''B/W/H'''</TD> <TD style="width:60%"> <includeonly> |
+ | {{{measurements}}} </includeonly> <noinclude># # #</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | ||
− | --><includeonly>{{#if:{{{eyes|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width: | + | --><includeonly>{{#if:{{{eyes|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:40%; text-align:center">'''Eye Color'''</TD> <TD style="width:60%"> <includeonly> |
+ | {{{eyes}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | ||
− | --><includeonly>{{#if:{{{hair|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width: | + | --><includeonly>{{#if:{{{hair|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:40%; text-align:center">'''Hair Color'''</TD> <TD style="width:60%"> <includeonly> |
+ | {{{hair}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | ||
− | --><includeonly>{{#if:{{{realHair|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width: | + | --><includeonly>{{#if:{{{realHair|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:40%; text-align:center">'''Real Hair Color'''</TD> <TD style="width:60%"> <includeonly> |
+ | {{{realHair}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | ||
Background | Background | ||
− | --><includeonly>{{#if:{{{age|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width: | + | --><includeonly>{{#if:{{{age|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:40%; text-align:center">'''Age'''</TD> <TD style="width:60%"> <includeonly> |
+ | {{{age}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | ||
− | --><includeonly>{{#if:{{{birthdate|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width: | + | --><includeonly>{{#if:{{{birthdate|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:40 text-align:center">'''Date of Birth'''</TD> <TD style="width:60%"> <includeonly> |
+ | {{{birthdate}}} </includeonly> <noinclude>#</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | ||
− | --><includeonly>{{#if:{{{origin|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width: | + | --><includeonly>{{#if:{{{origin|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:40%; text-align:center">'''Place of Origin'''</TD> <TD style="width:60%"> <includeonly> |
+ | {{{origin}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | ||
− | --><includeonly>{{#if:{{{father|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width: | + | --><includeonly>{{#if:{{{father|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:40%; text-align:center">'''Father'''</TD> <TD style="width:60%"> <includeonly> |
+ | {{{father}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | ||
− | --><includeonly>{{#if:{{{mother|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width: | + | --><includeonly>{{#if:{{{mother|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:40%; text-align:center">'''Mother'''</TD> <TD style="width:60%"> <includeonly> |
+ | {{{mother}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | ||
+ | |||
+ | --><includeonly>{{#if:{{{custom1title|}}}|</includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:40%; text-align:center"><includeonly>'''{{{custom1title}}}'''</includeonly> <noinclude>'''Custom'''</noinclude></TD> <TD style="width:60%"> | ||
+ | <includeonly>{{{custom1data}}}</includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | ||
+ | |||
+ | --><includeonly>{{#if:{{{custom2title|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:40%; text-align:center"><includeonly>'''{{{custom2title}}}'''</includeonly> <noinclude>'''Custom'''</noinclude></TD> <TD style="width:60%"> <includeonly> | ||
+ | {{{custom2data}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | ||
+ | |||
+ | --><includeonly>{{#if:{{{custom3title|}}}|</includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:40%; text-align:center"><includeonly>'''{{{custom3title}}}'''</includeonly> <noinclude>'''Custom'''</noinclude></TD> <TD style="width:60%"> <includeonly> | ||
+ | {{{custom3data}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | ||
+ | |||
+ | --><includeonly>{{#if:{{{custom4title|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:40%; text-align:center"><includeonly>'''{{{custom4title}}}'''</includeonly><noinclude>'''Custom'''</noinclude></TD> <TD style="width:60%"> <includeonly> | ||
+ | {{{custom4data}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | ||
--><table style="height:3px; background=transparent><TR><TD></TD></TR></TABLE><!-- | --><table style="height:3px; background=transparent><TR><TD></TD></TR></TABLE><!-- | ||
+ | |||
This second section is for out of universe data | This second section is for out of universe data | ||
− | --><includeonly>{{#if:{{{series|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width: | + | --><includeonly>{{#if:{{{series|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:40%; text-align:center">'''Series'''</TD> <TD style="width:60%"> <includeonly> |
+ | {{{series}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | ||
− | --><includeonly>{{#if:{{{ | + | --><includeonly>{{#if:{{{actor|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:40%; text-align:center">'''Voice Actor'''</TD> <TD style="width:60%"> <includeonly> |
+ | {{{actor}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | ||
− | --><includeonly>{{#if:{{{relatedCharacters|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width: | + | --><includeonly>{{#if:{{{creator|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:40%; text-align:center">'''Created by'''</TD> <TD style="width:60%"> <includeonly> |
+ | {{{creator}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | ||
+ | |||
+ | --><includeonly>{{#if:{{{relatedCharacters|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:40%; text-align:center">'''Related Characters'''</TD> <TD style="width:60%"> <includeonly> | ||
+ | {{{relatedCharacters}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | ||
+ | |||
+ | --><includeonly>{{#if:{{{custom5title|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:40%; text-align:center"><includeonly>'''{{{custom5title}}}'''</includeonly><noinclude>'''Custom'''</noinclude></TD> <TD style="width:60%"> <includeonly> | ||
+ | {{{custom5data}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!-- | ||
+ | |||
+ | --><includeonly>{{#if:{{{custom6title|}}}| </includeonly><table style="width:100%; border:1px dotted dimgray; background:black"> <TR> <TD style="width:40%; text-align:center"><includeonly>'''{{{custom6title}}}'''</includeonly><noinclude>'''Custom'''</noinclude></TD> <TD style="width:60%"> <includeonly> | ||
+ | {{{custom6data}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly> | ||
|- | |- | ||
− | |style="text-align:center; font-size:75%"|[[Template: | + | |style="text-align:center; font-size:75%"|[[Template:CharacterInfobox|veiw this template]] |
|}<noinclude> | |}<noinclude> | ||
− | |||
{{-}} | {{-}} | ||
− | |||
==Usage== | ==Usage== | ||
This is a template for including a character profile in a standard way. The following fields may be filled in, and any may be omitted, with the exception of the header and imageFile. | This is a template for including a character profile in a standard way. The following fields may be filled in, and any may be omitted, with the exception of the header and imageFile. | ||
Line 75: | Line 112: | ||
* '''measurements''' - the character's bust, waist and hip measurements | * '''measurements''' - the character's bust, waist and hip measurements | ||
* '''eyes''' - the color of the character's eyes | * '''eyes''' - the color of the character's eyes | ||
− | |||
* '''hair''' - the color of the chracters's hair | * '''hair''' - the color of the chracters's hair | ||
* '''realHair''' - some girls do dye their hair, you know . . . | * '''realHair''' - some girls do dye their hair, you know . . . | ||
* '''age''' - age of the character | * '''age''' - age of the character | ||
* '''birthdate''' - the date of the character's birth | * '''birthdate''' - the date of the character's birth | ||
+ | |Col2= | ||
* '''origin''' - the character's place of origin | * '''origin''' - the character's place of origin | ||
* '''mother''' - the name of the character's mother | * '''mother''' - the name of the character's mother | ||
* '''father''' - the name of the character's fother | * '''father''' - the name of the character's fother | ||
+ | * '''custom1title''' - a costom field for in-universe character-specific info | ||
+ | * '''custom1data''' - the data for costum1title | ||
+ | * '''custom2title''' - a costom field for in-universe character-specific info | ||
+ | * '''custom2data''' - the data for costum1title | ||
+ | * '''custom3title''' - a costom field for in-universe character-specific info | ||
+ | * '''custom3data''' - the data for costum1title | ||
+ | * '''custom4title''' - a costom field for in-universe character-specific info | ||
+ | * '''custom4data''' - the data for costum1title | ||
* '''series''' - the series in which the character appears | * '''series''' - the series in which the character appears | ||
+ | * '''actor''' - the actor who voiced the character | ||
* '''relatedCharacters''' - characters related to the character (preferably limited to those who have an article on LAH Wiki | * '''relatedCharacters''' - characters related to the character (preferably limited to those who have an article on LAH Wiki | ||
* '''creator''' - the name of the creator or creators of the character | * '''creator''' - the name of the creator or creators of the character | ||
+ | * '''custom5title''' - a costom field for out-of-universe character-specific info | ||
+ | * '''custom5data''' - the data for costum1title | ||
+ | * '''custom6title''' - a costom field for out-of-universe character-specific info | ||
+ | * '''custom6data''' - the data for costum1title | ||
}} | }} | ||
− | |||
==Code== | ==Code== | ||
The code to use, omitting any fields not used, is: | The code to use, omitting any fields not used, is: | ||
<pre> | <pre> | ||
− | {{ | + | {{CharacterInfobox |
− | | header= | + | |align= |
− | | imageFile= | + | |header= |
− | | caption= | + | |imageFile= |
− | | name= | + | |caption= |
− | | loli= | + | |name= |
− | | shota= | + | |loli= |
− | | height= | + | |shota= |
− | | weight= | + | |height= |
− | | measurements= | + | |weight= |
− | | eyes= | + | |measurements= |
− | | hair= | + | |eyes= |
− | | realhair= | + | |hair= |
− | | age= | + | |realhair= |
− | | birthdate= | + | |age= |
− | | origin= | + | |birthdate= |
− | | father= | + | |origin= |
− | | mother= | + | |father= |
− | | series= | + | |mother= |
− | | relatedCharacters= | + | |custom1title= |
− | | creator= | + | |custom1data= |
+ | |custom2title= | ||
+ | |custom2data= | ||
+ | |custom3title= | ||
+ | |custom3data= | ||
+ | |custom4title= | ||
+ | |custom4data= | ||
+ | |series= | ||
+ | |actor= | ||
+ | |relatedCharacters= | ||
+ | |creator= | ||
+ | |custom5title= | ||
+ | |custom5data= | ||
+ | |custom6title= | ||
+ | |custom6data= | ||
}} | }} | ||
</pre> | </pre> |