Difference between revisions of "Template:Infobox MU"

From TheHolo.Net Forums Wiki

Jump to:navigation, search
m (added ifs)
 
(3 intermediate revisions by 2 users not shown)
Line 39: Line 39:
 
<div style="width:170px;float:left;text-align:right;">{{{Name}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Name}}}</div>
 
</div>
 
</div>
{{ #if:{{{Alias|}}}|
+
{{#if:{{{Alias|}}}|
 
<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;">Alias(es)</div>
 
<div style="width:80px;float:left;text-align:left;">Alias(es)</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Alias}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Alias}}}</div>
 
</div>
 
</div>
}} {{ #if:{{{Codename|}}}|
+
}} {{#if:{{{Codename|}}}|
 
<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;">Codename</div>
 
<div style="width:80px;float:left;text-align:left;">Codename</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Codename}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Codename}}}</div>
 
</div>
 
</div>
}} {{ #if:{{{Age|}}}|
+
}} {{#if:{{{Age|}}}|
 
<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;">Age</div>
 
<div style="width:80px;float:left;text-align:left;">Age</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Age}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Age}}}</div>
 
</div>
 
</div>
}} {{ #if:{{{Height|}}}|
+
}} {{#if:{{{Height|}}}|
 
<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;">Height</div>
 
<div style="width:80px;float:left;text-align:left;">Height</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Height}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Height}}}</div>
 
</div>
 
</div>
}} {{ #if:{{{Weight|}}}|
+
}} {{#if:{{{Weight|}}}|
 
<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;">Weight</div>
 
<div style="width:80px;float:left;text-align:left;">Weight</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Weight}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Weight}}}</div>
 
</div>
 
</div>
}} {{ #if:{{{Eye|}}}|
+
}} {{#if:{{{Eye|}}}|
 
<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;">Eye Color</div>
 
<div style="width:80px;float:left;text-align:left;">Eye Color</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Eye}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Eye}}}</div>
 
</div>
 
</div>
}} {{ #if:{{{Hair|}}}|
+
}} {{#if:{{{Hair|}}}|
 
<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;">Hair Color</div>
 
<div style="width:80px;float:left;text-align:left;">Hair Color</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Hair}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Hair}}}</div>
 
</div>
 
</div>
}} {{ #if:{{{Born|}}}|
+
}} {{#if:{{{Born|}}}|
 
<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;">Birthplace</div>
 
<div style="width:80px;float:left;text-align:left;">Birthplace</div>
 
<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|}}}|
+
}} {{#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|}}}|
+
{{#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>
 
<div style="width:170px;float:left;text-align:right;">{{{Father}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Father}}}</div>
</div>
+
</div>}}
{{ #if:{{{Siblings|}}}|
+
{{#if:{{{Siblings|}}}|
 
<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;">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|}}}|  
+
{{#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}}};">
 
<div style="width:80px;float:left;text-align:left;">Children</div>
 
<div style="width:80px;float:left;text-align:left;">Children</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Children}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Children}}}</div>
 
</div>
 
</div>
}} {{ #if:{{{Relatives|}}}|
+
}} {{#if:{{{Relatives|}}}|
 
<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;">Other Relatives</div>
 
<div style="width:80px;float:left;text-align:left;">Other Relatives</div>

Latest revision as of 13:39, 16 October 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}}}
}}