Difference between revisions of "Template:Infobox"

From TheHolo.Net Forums Wiki

Jump to:navigation, search
(New page: {{clear}} <div style="width:250px;float:right;clear:right;margin:1em 0 1em 1em;border:1px solid #0000CD;background:#4682B4;-moz-border-radius:10px;padding:10px 10px 10px 10px;"> <div style...)
 
 
(46 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
<noinclude>==usage==
 +
 +
To use the template, simply copy and paste the code below into a new character template.
 +
 +
A useful [http://www.2createawebsite.com/build/hex-colors.html link] to help you find hex codes.
 +
<pre><nowiki>{{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
 +
}}</nowiki></pre></noinclude>
 
{{clear}}
 
{{clear}}
<div style="width:250px;float:right;clear:right;margin:1em 0 1em 1em;border:1px solid #0000CD;background:#4682B4;-moz-border-radius:10px;padding:10px 10px 10px 10px;">
+
 
 +
<div style="width:250px;float:right;clear:right;margin:1em 0 1em 1em;border:1px solid {{{Color2|#8F806E}}};background:{{{Color1|#CDB79E}}};-moz-border-radius:10px;padding:10px 10px 10px 10px;">
 
<div style="text-align:center;font-size:16px;font-weight:900;line-height:1.5em;">{{{Title}}}
 
<div style="text-align:center;font-size:16px;font-weight:900;line-height:1.5em;">{{{Title}}}
<div class="hiddenStructure{{{Actor|}}}" style="width:250px;clear:left;font-size:10px;text-align:center">
+
<div style="width:250px;clear:left;font-size:12px;text-align:center">
 
</div>
 
</div>
<div class="hiddenStructure{{{Image|}}}">[[Image:{{{Image}}}|{{{ImageSize|248px}}}|center]]</div></div>
+
<div class="hiddenStructure{{{Image|}}}">[[Image:{{{Image}}}|{{{ImageSize|248px}}}|center]]<br></div></div>
<div style="clear:left;font-size:12px;text-align:center;border-top:2px solid #0000CD;">
+
<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;">Name</div>
 
<div style="width:80px;float:left;text-align:left;">Name</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Name}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Name}}}</div>
 
</div>
 
</div>
<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 {{{Color2|#8F806E}}};">
<div style="width:80px;float:left;text-align:left;">Codename</div>
+
<div style="width:170px;float:left;text-align:right;">{{{Codename}}}</div>
+
</div><div style="clear:left;font-size:12px;text-align:center;border-top:1px solid #0000CD;">
+
 
<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>
<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 {{{Color2|#8F806E}}};">
 +
<div style="width:80px;float:left;text-align:left;">Rank</div>
 +
<div style="width:170px;float:left;text-align:right;">{{{MilitaryRank}}}</div>
 +
</div>
 +
<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:170px;float:left;text-align:right;">{{{Codename}}}</div>
 +
</div>
 +
<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:170px;float:left;text-align:right;">{{{Callsign}}}</div>
 +
</div>
 +
<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>
<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 {{{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>
<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 {{{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>
<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 {{{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>
<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 {{{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>
<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 {{{Color2|#8F806E}}};">
 +
<div style="width:80px;float:left;text-align:left;">Species</div>
 +
<div style="width:170px;float:left;text-align:right;">{{{Species}}}</div>
 +
</div>
 +
<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;">{{{Place}}}</div>
+
<div style="width:170px;float:left;text-align:right;">{{{Home}}}</div>
 
</div>
 
</div>
<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 {{{Color2|#8F806E}}};">
<div style="width:80px;float:left;text-align:left;">Affiliation</div>
+
<div style="width:80px;float:left;text-align:left;">Born in...</div>
<div style="width:170px;float:left;text-align:right;">{{{Faction}}}</div>
+
<div style="width:170px;float:left;text-align:right;">{{{Year}}}</div>
 +
</div>
 +
<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:170px;float:left;text-align:right;">{{{ForceRank}}}</div>
 +
</div>
 +
<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:170px;float:left;text-align:right;">{{{Master}}}</div>
 +
</div>
 +
<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:170px;float:left;text-align:right;">{{{Apprentice}}}</div>
 
</div>
 
</div>
<div style="clear:left;font-size:12px;text-align:center;border-top:2px solid #0000CD;">
+
<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>
 
<div style="width:170px;float:left;text-align:right;">{{{Spouse}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Spouse}}}</div>
 
</div>
 
</div>
<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 {{{Color2|#8F806E}}};">
 
<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 style="clear:left;font-size:12px;text-align:center;border-top:1px solid #0000CD;">
+
</div>
 +
<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;">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 style="clear:left;font-size:12px;text-align:center;border-top:1px solid #0000CD;">
+
</div>
 +
<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>
<div style="clear:left;font-size:12px;text-align:center;border-top:2px solid #0000CD;">
+
<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:170px;float:left;text-align:right;">{{{Children}}}</div>
 +
</div>
 +
<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:170px;float:left;text-align:right;">{{{Faction}}}</div>
 +
</div>
 +
<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>
<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 {{{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>
<div class="hiddenStructure{{{Images|}}}" style="width:250px;clear:left;font-size:10px;text-align:center;border-top:2px solid #0000CD;">
+
<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:170px;float:left;text-align:right;">{{{Location}}}</div>
 +
</div>
 +
<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>
 
<br><br><br><br>
 
<br><br><br><br>
  
 
</div></div>
 
</div></div>
 +
<noinclude>[[Category:Infoboxes]]</noinclude>

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}}}