Difference between revisions of "Template:Infobox"

From TheHolo.Net Forums Wiki

Jump to:navigation, search
Line 114: Line 114:
 
<div style="width:170px;float:left;text-align:right;">{{{Rank}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Rank}}}</div>
 
</div>
 
</div>
}}
+
}} {{ #if:{{{Master|}}}|
{{ #if:{{{Master|}}}|
+
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid #0000CD;">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid #0000CD;">
 
<div style="width:80px;float:left;text-align:left;">Master</div>
 
<div style="width:80px;float:left;text-align:left;">Master</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Master}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Master}}}</div>
 
</div>
 
</div>
}}
+
}} {{ #if:{{{Padawan|}}}|
{{ #if:{{{Padawan|}}}|
+
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid #0000CD;">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid #0000CD;">
 
<div style="width:80px;float:left;text-align:left;">Apprentice</div>
 
<div style="width:80px;float:left;text-align:left;">Apprentice</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Apprentice}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Apprentice}}}</div>
 
</div>
 
</div>
}}
+
}} {{ #if:{{{Ship|}}}|
{{ #if:{{{Ship|}}}|
+
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid #0000CD;">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid #0000CD;">
 
<div style="width:80px;float:left;text-align:left;">Ship</div>
 
<div style="width:80px;float:left;text-align:left;">Ship</div>
Line 137: Line 134:
 
<div style="width:170px;float:left;text-align:right;">{{{Droid}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Droid}}}</div>
 
</div>
 
</div>
}}
+
}} {{ #if:{{{Location|}}}|
{{ #if:{{{Location|}}}|
+
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid #0000CD;">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid #0000CD;">
 
<div style="width:80px;float:left;text-align:left;">Location</div>
 
<div style="width:80px;float:left;text-align:left;">Location</div>

Revision as of 19:14, 29 August 2010

usage

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

{{Infobox
| Title=Datasheet
| Image=image 
| Name=Character Name
| Codename=Codename
| Aliases=Alias
| Age=Age
| Height=height
| Weight=weight
| Eye=Eye Color
| Hair=Hair Color
| Species=Species
| Home=Home Planet
| Year=Year of Birth (BE/AE)
| Spouse=Spouse
| Mother=Mother
| Father=Father
| Siblings=Sibling<br>Sibling
| Faction=Faction
| Rank=Rank
| Master=Master
| Apprentice=Apprentices, Padawans
| Ship=Ship
| Droid=Droid
| Location=Current / most common location
}}
{{{Title}}}
[[Image:{{{Image}}}|248px|center]]
Name
{{{Name}}}

{{ #if:|

Codename
{{{Codename}}}

}} {{ #if:|

Aliases
{{{Aliases}}}

}} {{ #if:|

Age
{{{Age}}}

}} {{ #if:|

Height
{{{Height}}}

}} {{ #if:|

Weight
{{{Weight}}}

}} {{ #if:|

Eye Color
{{{Eye}}}

}} {{ #if:|

Hair Color
{{{Hair}}}

}} {{ #if:|

Species
{{{Species}}}

}} {{ #if:|

Home Planet
{{{Home}}}

}} {{ #if:|

Born in...
{{{Year}}}

}}

Spouse
{{{Spouse}}}
Mother
{{{Mother}}}
Father
{{{Father}}}
Siblings
{{{Siblings}}}
Affiliation
{{{Faction}}}

{{ #if:|

Rank
{{{Rank}}}

}} {{ #if:|

Master
{{{Master}}}

}} {{ #if:|

Apprentice
{{{Apprentice}}}

}} {{ #if:|

Ship
{{{Ship}}}

}} {{ #if:|

Droids
{{{Droid}}}

}} {{ #if:|

Location
{{{Location}}}

}}