Difference between revisions of "Template:Infobox MU"

From TheHolo.Net Forums Wiki

Jump to:navigation, search
m
m (added ifs)
Line 79: Line 79:
 
<div style="width:170px;float:left;text-align:right;">{{{Born}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Born}}}</div>
 
</div>
 
</div>
}}  
+
}} {{ #if:{{{Mother|}}}|
 
<div style="clear:left;font-size:12px;text-align:center;border-top:2px solid {{{Color2|#A9A9A9}}};">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:2px solid {{{Color2|#A9A9A9}}};">
 
<div style="width:80px;float:left;text-align:left;">Mother</div>
 
<div style="width:80px;float:left;text-align:left;">Mother</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Mother}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Mother}}}</div>
</div>
+
</div>}}
 +
{{ #if:{{{Father|}}}|
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#A9A9A9}}};">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#A9A9A9}}};">
 
<div style="width:80px;float:left;text-align:left;">Father</div>
 
<div style="width:80px;float:left;text-align:left;">Father</div>
Line 92: Line 93:
 
<div style="width:80px;float:left;text-align:left;">Siblings</div>
 
<div style="width:80px;float:left;text-align:left;">Siblings</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Siblings}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Siblings}}}</div>
</div> }}  
+
</div> }}
 +
{{ #if:{{{Spouse|}}}|
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#A9A9A9}}};">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#A9A9A9}}};">
 
<div style="width:80px;float:left;text-align:left;">Spouse</div>
 
<div style="width:80px;float:left;text-align:left;">Spouse</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Spouse}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Spouse}}}</div>
</div>
+
</div>}}
 
{{ #if:{{{Children|}}}|
 
{{ #if:{{{Children|}}}|
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#A9A9A9}}};">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#A9A9A9}}};">

Revision as of 20:22, 25 March 2013

usage

To use the template, simply copy and paste the code below into a new character template.

A useful link to help you find hex codes.

{{Infobox_MU
| Color1=Background Colour
| Color2=Line Colour
| Title=Datasheet
| Image=image
| Name=Character Name
| Alias=Alias
| Codename=Codename
| Age=Age
| Height=height
| Weight=weight
| Eye=Eye Color
| Hair=Hair Color
| Born=Birthplace
| Mother=Mother
| Father=Father
| Siblings=Sibling<br>Sibling
| Spouse=Spouse
| Children=Children
| Relatives=Other Relatives
| Abilities=Abilities
| Affiliation=Affiliation
| Location=Current / most common location
}}
{{{Title}}}
[[Image:{{{Image}}}|248px|center]]
Name
{{{Name}}}

{{ #if:|

Alias(es)
{{{Alias}}}

}} {{ #if:|

Codename
{{{Codename}}}

}} {{ #if:|

Age
{{{Age}}}

}} {{ #if:|

Height
{{{Height}}}

}} {{ #if:|

Weight
{{{Weight}}}

}} {{ #if:|

Eye Color
{{{Eye}}}

}} {{ #if:|

Hair Color
{{{Hair}}}

}} {{ #if:|

Birthplace
{{{Born}}}

}} {{ #if:|

Mother
{{{Mother}}}
}}

{{ #if:|

Father
{{{Father}}}

{{ #if:|

Siblings
{{{Siblings}}}
}}

{{ #if:|

Spouse
{{{Spouse}}}
}}

{{ #if:|

Children
{{{Children}}}

}} {{ #if:|

Other Relatives
{{{Relatives}}}
}}
Abilities
{{{Abilities}}}
Affiliation
{{{Affiliation}}}

{{ #if:|

Location
{{{Location}}}
}}