Difference between revisions of "Template:Infobox"
From TheHolo.Net Forums Wiki
(32 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
To use the template, simply copy and paste the code below into a new character template. | 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 | <pre><nowiki>{{Infobox | ||
+ | | Color1=Background Colour | ||
+ | | Color2=Line Colour | ||
| Title=Datasheet | | Title=Datasheet | ||
| Image=image | | Image=image | ||
| Name=Character Name | | Name=Character Name | ||
− | |||
| Aliases=Alias | | Aliases=Alias | ||
+ | | MilitaryRank=Military Rank | ||
+ | | Codename=Codename | ||
+ | | Callsign=Callsign | ||
| Age=Age | | Age=Age | ||
| Height=height | | Height=height | ||
Line 16: | Line 22: | ||
| Home=Home Planet | | Home=Home Planet | ||
| Year=Year of Birth (BE/AE) | | Year=Year of Birth (BE/AE) | ||
+ | | ForceRank=Force Rank (Master, Knight, Apprentice, etc) | ||
+ | | Master=Master | ||
+ | | Apprentice=Apprentices, Padawans | ||
| Spouse=Spouse | | Spouse=Spouse | ||
| Mother=Mother | | Mother=Mother | ||
| Father=Father | | Father=Father | ||
| Siblings=Sibling<br>Sibling | | Siblings=Sibling<br>Sibling | ||
+ | | Children=Children | ||
| Faction=Faction | | Faction=Faction | ||
− | |||
− | |||
− | |||
| Ship=Ship | | Ship=Ship | ||
| Droid=Droid | | Droid=Droid | ||
Line 29: | Line 36: | ||
}}</nowiki></pre></noinclude> | }}</nowiki></pre></noinclude> | ||
{{clear}} | {{clear}} | ||
− | <div style="width:250px;float:right;clear:right;margin:1em 0 1em 1em;border:1px solid # | + | |
+ | <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 | + | <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 # | + | <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 {{{Color2|#8F806E}}};"> |
− | <div style="clear:left;font-size:12px;text-align:center;border-top:1px solid # | + | <div style="width:80px;float:left;text-align:left;">Aliases</div> |
+ | <div style="width:170px;float:left;text-align:right;">{{{Aliases}}}</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;">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: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> | ||
− | + | <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 # | + | <div style="width:80px;float:left;text-align:left;">Callsign</div> |
− | <div style="width:80px;float:left;text-align:left;"> | + | <div style="width:170px;float:left;text-align:right;">{{{Callsign}}}</div> |
− | <div style="width:170px;float:left;text-align:right;">{{{ | + | |
</div> | </div> | ||
− | + | <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 # | + | |
<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 {{{Color2|#8F806E}}};"> | |
− | <div style="clear:left;font-size:12px;text-align:center;border-top:1px solid # | + | |
<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 {{{Color2|#8F806E}}};"> | |
− | <div style="clear:left;font-size:12px;text-align:center;border-top:1px solid # | + | |
<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 {{{Color2|#8F806E}}};"> | |
− | <div style="clear:left;font-size:12px;text-align:center;border-top:1px solid # | + | |
<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 {{{Color2|#8F806E}}};"> | |
− | <div style="clear:left;font-size:12px;text-align:center;border-top:1px solid # | + | |
<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 {{{Color2|#8F806E}}};"> | |
− | <div style="clear:left;font-size:12px;text-align:center;border-top:1px solid # | + | |
<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> | ||
− | + | <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 # | + | |
<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> | ||
− | + | <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 # | + | |
<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> | ||
− | }} | + | <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 # | + | <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 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 # | + | <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> | ||
− | <div style="clear:left;font-size:12px;text-align:center;border-top:1px solid # | + | <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> | ||
− | <div style="clear:left;font-size:12px;text-align:center;border-top:1px solid # | + | <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 # | + | <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: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> | ||
− | + | <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 | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<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 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 # | + | |
<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 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 # | + | |
<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: | + | |
<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}}}