Difference between revisions of "Template:CharacterInfobox"

From LAH Wiki
Jump to: navigation, search
(New page: {| style="border:1px solid dimgray; color:{{{textcolor}}} width:220px" | style="size:125%"|'''{{{name}}}''' |- | {{{image}}} |- | {{{}}} |})
 
 
Line 1: Line 1:
{| style="border:1px solid dimgray; color:{{{textcolor}}} width:220px"
+
<noinclude>{| align=right
| style="size:125%"|'''{{{name}}}'''
+
|__ToC__
 +
|}</noinclude>
 +
{| 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>'''
 
|-
 
|-
| {{{image}}}
+
| 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>
 
|-
 
|-
| {{{}}}
+
|
|}
+
<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: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: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
 +
 
 +
Physical
 +
 
 +
--><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: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: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: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: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:40%; text-align:center">'''Real Hair Color'''</TD> <TD style="width:60%"> <includeonly>
 +
{{{realHair}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!--
 +
 
 +
Background
 +
 
 +
--><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: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: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: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: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><!--
 +
 
 +
 
 +
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:40%; text-align:center">'''Series'''</TD> <TD style="width:60%"> <includeonly>
 +
{{{series}}} </includeonly> <noinclude>Example</noinclude></TD> </TR> </TABLE> <includeonly>}}</includeonly><!--
 +
 
 +
--><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:{{{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:CharacterInfobox|veiw this template]]
 +
|}<noinclude>
 +
{{-}}
 +
==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.
 +
 
 +
{{TwoColumnList|width=100%
 +
|Col1=
 +
* '''header''' - the template header, usually the character's name
 +
* '''align''' - Where the template aligns itself on the page.  Right is standard, but it can also be aligned left or center. If left blank, it will default to right.
 +
* '''imageFile''' - the file name of the image.  The <nowiki>[[Image:]]</nowiki> code is unnecessary, and the template will resize the image to fit.
 +
* '''caption''' - a caption for the image
 +
* '''name''' - the name of the character
 +
* '''loli''' - is the character a loli? (yes, no, debatable) (leave blank if male)
 +
* '''shota''' - is the character a shota? (yes, no, debatable) (leave blank if female)
 +
* '''height''' - the height of the character, in both standard and metric if possible.
 +
* '''weight''' - the weight of the character, in both standard and metric if possible.
 +
* '''measurements''' - the character's bust, waist and hip measurements
 +
* '''eyes''' - the color of the character's eyes
 +
* '''hair''' - the color of the chracters's hair
 +
* '''realHair''' - some girls do dye their hair, you know . . .
 +
* '''age''' - age of the character
 +
* '''birthdate''' - the date of the character's birth
 +
|Col2=
 +
* '''origin''' - the character's place of origin
 +
* '''mother''' - the name of the character's mother
 +
* '''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
 +
* '''actor''' - the actor who voiced the character
 +
* '''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
 +
* '''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==
 +
The code to use, omitting any fields not used, is:
 +
<pre>
 +
{{CharacterInfobox
 +
|align=
 +
|header=
 +
|imageFile=
 +
|caption=
 +
|name=
 +
|loli=
 +
|shota=
 +
|height=
 +
|weight=
 +
|measurements=
 +
|eyes=
 +
|hair=
 +
|realhair=
 +
|age=
 +
|birthdate=
 +
|origin=
 +
|father=
 +
|mother=
 +
|custom1title=
 +
|custom1data=
 +
|custom2title=
 +
|custom2data=
 +
|custom3title=
 +
|custom3data=
 +
|custom4title=
 +
|custom4data=
 +
|series=
 +
|actor=
 +
|relatedCharacters=
 +
|creator=
 +
|custom5title=
 +
|custom5data=
 +
|custom6title=
 +
|custom6data=
 +
}}
 +
</pre>
 +
[[Category:Formatting templates]]
 +
[[Category:Infoboxes]]
 +
</noinclude>

Latest revision as of 23:05, 15 February 2009

Personal tools