Difference between revisions of "Template:Infobox"

From TheHolo.Net Forums Wiki

Jump to:navigation, search
 
Line 46: Line 46:
 
<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:{{{Aliases|}}}|
 
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="width:80px;float:left;text-align:left;">Aliases</div>
 
<div style="width:80px;float:left;text-align:left;">Aliases</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Aliases}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Aliases}}}</div>
 
</div>
 
</div>
}} {{ #if:{{{MilitaryRank|}}}|
 
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="width:80px;float:left;text-align:left;">Rank</div>
 
<div style="width:80px;float:left;text-align:left;">Rank</div>
 
<div style="width:170px;float:left;text-align:right;">{{{MilitaryRank}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{MilitaryRank}}}</div>
 
</div>
 
</div>
}} {{ #if:{{{Codename|}}}|
 
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<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:{{{Callsign|}}}|
 
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="width:80px;float:left;text-align:left;">Callsign</div>
 
<div style="width:80px;float:left;text-align:left;">Callsign</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Callsign}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Callsign}}}</div>
 
</div>
 
</div>
}} {{ #if:{{{Age|}}}|
 
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<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|}}}|
 
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<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|}}}|
 
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<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|}}}|
 
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<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|}}}|
 
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<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:{{{Species|}}}|
 
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="width:80px;float:left;text-align:left;">Species</div>
 
<div style="width:80px;float:left;text-align:left;">Species</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Species}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Species}}}</div>
 
</div>
 
</div>
}} {{ #if:{{{Home|}}}|
 
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="width:80px;float:left;text-align:left;">Home Planet</div>
 
<div style="width:80px;float:left;text-align:left;">Home Planet</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Home}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Home}}}</div>
 
</div>
 
</div>
}} {{ #if:{{{Year|}}}|
 
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="width:80px;float:left;text-align:left;">Born in...</div>
 
<div style="width:80px;float:left;text-align:left;">Born in...</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Year}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Year}}}</div>
 
</div>
 
</div>
}} {{ #if:{{{ForceRank|}}}|
 
 
<div style="clear:left;font-size:12px;text-align:center;border-top:2px solid {{{Color2|#8F806E}}};">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:2px solid {{{Color2|#8F806E}}};">
 
<div style="width:80px;float:left;text-align:left;">Rank</div>
 
<div style="width:80px;float:left;text-align:left;">Rank</div>
 
<div style="width:170px;float:left;text-align:right;">{{{ForceRank}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{ForceRank}}}</div>
 
</div>
 
</div>
}} {{ #if:{{{Master|}}}|
 
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<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:{{{Apprentice|}}}|
 
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<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>
}}
 
 
<div style="clear:left;font-size:12px;text-align:center;border-top:2px solid {{{Color2|#8F806E}}};">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:2px solid {{{Color2|#8F806E}}};">
 
<div style="width:80px;float:left;text-align:left;">Spouse</div>
 
<div style="width:80px;float:left;text-align:left;">Spouse</div>
Line 134: Line 118:
 
<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|}}}|
 
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<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:{{{Children|}}}|
 
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<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>
 
<div style="clear:left;font-size:12px;text-align:center;border-top:2px solid {{{Color2|#8F806E}}};">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:2px solid {{{Color2|#8F806E}}};">
 
<div style="width:80px;float:left;text-align:left;">Affiliation</div>
 
<div style="width:80px;float:left;text-align:left;">Affiliation</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Faction}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Faction}}}</div>
 
</div>
 
</div>
{{ #if:{{{Ship|}}}|
 
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="width:80px;float:left;text-align:left;">Ship</div>
 
<div style="width:80px;float:left;text-align:left;">Ship</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Ship}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Ship}}}</div>
 
</div>
 
</div>
}}
 
{{ #if:{{{Droid|}}}|
 
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="width:80px;float:left;text-align:left;">Droids</div>
 
<div style="width:80px;float:left;text-align:left;">Droids</div>
 
<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|}}}|
 
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid {{{Color2|#8F806E}}};">
 
<div style="width:80px;float:left;text-align:left;">Location</div>
 
<div style="width:80px;float:left;text-align:left;">Location</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Location}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Location}}}</div>
 
</div>
 
</div>
}}
 
 
<div class="hiddenStructure{{{Images|}}}" style="width:250px;clear:left;font-size:12px;text-align:center;border-top:2px solid {{{Color2|#8F806E}}};">
 
<div class="hiddenStructure{{{Images|}}}" style="width:250px;clear:left;font-size:12px;text-align:center;border-top:2px solid {{{Color2|#8F806E}}};">
 
<br><br><br><br>
 
<br><br><br><br>

Latest revision as of 22:47, 26 September 2015

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
| Color1=Background Colour
| Color2=Line Colour
| Title=Datasheet
| Image=image 
| Name=Character Name
| Aliases=Alias
| MilitaryRank=Military Rank
| Codename=Codename
| Callsign=Callsign
| Age=Age
| Height=height
| Weight=weight
| Eye=Eye Color
| Hair=Hair Color
| Species=Species
| Home=Home Planet
| Year=Year of Birth (BE/AE)
| ForceRank=Force Rank (Master, Knight, Apprentice, etc)
| Master=Master
| Apprentice=Apprentices, Padawans
| Spouse=Spouse
| Mother=Mother
| Father=Father
| Siblings=Sibling<br>Sibling
| Children=Children
| Faction=Faction
| Ship=Ship
| Droid=Droid
| Location=Current / most common location
}}
{{{Title}}}
[[Image:{{{Image}}}|248px|center]]
Name
{{{Name}}}
Aliases
{{{Aliases}}}
Rank
{{{MilitaryRank}}}
Codename
{{{Codename}}}
Callsign
{{{Callsign}}}
Age
{{{Age}}}
Height
{{{Height}}}
Weight
{{{Weight}}}
Eye Color
{{{Eye}}}
Hair Color
{{{Hair}}}
Species
{{{Species}}}
Home Planet
{{{Home}}}
Born in...
{{{Year}}}
Rank
{{{ForceRank}}}
Master
{{{Master}}}
Apprentice
{{{Apprentice}}}
Spouse
{{{Spouse}}}
Mother
{{{Mother}}}
Father
{{{Father}}}
Siblings
{{{Siblings}}}
Children
{{{Children}}}
Affiliation
{{{Faction}}}
Ship
{{{Ship}}}
Droids
{{{Droid}}}
Location
{{{Location}}}