Difference between revisions of "Template:New Republic character infobox"

Jump to navigationJump to search
 
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:250px; background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;">
+
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 .5em 1em; width:250px; background:#fff; border-collapse:collapse; border:1px solid #00F; font-size:smaller; line-height:1.5; ">
<tr><td colspan="2"><div id="infoboxinternal">
+
<tr style="text-align:center; background:#f0f0f0;">
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#ffffff; border-collapse:collapse;">
+
<td colspan="2" style="padding:0; background:#0F1C8A; color:#fff;">{{{image}}}</td>
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:#0F1C8A;">{{{image|}}}</td></tr>
+
</tr>
<tr style="text-align:center; color:#ffffff; background:#0F1C8A; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> {{t|1=|1{{{hideb|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#5260E0;">'''Biographical information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Homeworld</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
<tr style="color:#fff; background:#009; font-size:larger;">
{{{homeworld|}}}
+
<th colspan="2">{{{name}}}</th>
</td></tr>|1{{{homeworld|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Date&nbsp;of&nbsp;birth</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
</tr>  
{{{birth|}}}
+
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#5260E0;">'''Biographical information'''</th></tr>  
</td></tr>|1{{{birth|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Date&nbsp;of&nbsp;death</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
{{t|1=<tr style="border-top:1px solid #00F; border-bottom:1px solid #00F; vertical-align: middle; background: #f0f0f0"><td>Homeworld</td><td>{{{homeworld}}}</td></tr>|1{{{homeworld}}}=}}
{{{death|}}}
+
{{t|1=<tr style="border-top:1px solid #00F; border-bottom:1px solid #00F; vertical-align: middle; background: #f0f0f0"><td>Date of birth</td><td>{{{birth}}}</td></tr>|1{{{birth}}}=}}
</td></tr>|1{{{death|}}}=}} {{t|1=|1{{{hidep|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#5260E0;">'''Physical description'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Species</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
{{t|1=<tr style="border-top:1px solid #00F; border-bottom:1px solid #00F; vertical-align: middle; background: #f0f0f0"><td>Date of death</td><td>{{{death}}}</td></tr>|1{{{death}}}=}}  
{{{species|}}}
+
{{t|1=<tr style="border-top:1px solid #00F; border-bottom:1px solid #00F; vertical-align: middle; background: #f0f0f0"><td>Family</td><td>{{{family}}}</td></tr>|1{{{family}}}=}}
</td></tr>|1{{{species|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Gender</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#5260E0;">'''Physical description'''</th></tr>  
{{{gender|}}}
+
{{t|1=<tr style="border-top:1px solid #00F; border-bottom:1px solid #00F; vertical-align: middle; background: #f0f0f0"><td>Species</td><td>{{{species}}}</td></tr>|1{{{species}}}=}}
</td></tr>|1{{{gender|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Height</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
{{t|1=<tr style="border-top:1px solid #00F; border-bottom:1px solid #00F; vertical-align: middle; background: #f0f0f0"><td>Gender</td><td> {{{gender}}}</td></tr>|1{{{gender}}}=}}  
{{{height|}}}
+
{{t|1=<tr style="border-top:1px solid #00F; border-bottom:1px solid #00F; vertical-align: middle; background: #f0f0f0"><td>Height</td><td>{{{height}}}</td></tr>|1{{{height}}}=}}
</td></tr>|1{{{height|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Hair&nbsp;color</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
{{t|1=<tr style="border-top:1px solid #00F; border-bottom:1px solid #00F; vertical-align: middle; background: #f0f0f0"><td>Weight</td><td>{{{weight}}}</td></tr>|1{{{weight}}}=}}  
{{{hair|}}}
+
{{t|1=<tr style="border-top:1px solid #00F; border-bottom:1px solid #00F; vertical-align: middle; background: #f0f0f0"><td>Hair color</td><td>{{{hair}}}</td></tr>|1{{{hair}}}=}}
</td></tr>|1{{{hair|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Eye&nbsp;color</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
{{t|1=<tr style="border-top:1px solid #00F; border-bottom:1px solid #00F; vertical-align: middle; background: #f0f0f0"><td>Eye color</td><td>{{{eyes}}}</td></tr>|1{{{eyes}}}=}}  
{{{eyes|}}}
+
{{t|1=<tr style="border-top:1px solid #00F; border-bottom:1px solid #00F; vertical-align: middle; background: #f0f0f0"><td>Distinguishing features</td><td>{{{features}}}</td></tr>|1{{{features}}}=}}
</td></tr>|1{{{eyes|}}}=}} {{t|1=|1{{{hidec|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#5260E0;">'''Chronological and political information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Era(s)</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#5260E0;"> '''Chronological and political information'''</th></tr>  
{{{era|}}}
+
{{t|1=<tr style="border-top:1px solid #00F; border-bottom:1px solid #00F; vertical-align: middle; background: #f0f0f0"><td>Era(s)</td>
</td></tr>|1{{{era|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Affiliation</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
<td>{{{era}}}</td></tr>|1{{{era}}}=}}
{{{affiliation|}}}
+
{{t|1=<tr style="border-top:1px solid #00F; border-bottom:1px solid #00F; vertical-align: middle; background: #f0f0f0"><td>Affiliation</td><td>{{{affiliation}}}</td></tr>|1{{{affiliation}}}=}}  
</td></tr>|1{{{affiliation|}}}=}} </table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td style="text-align:left; width:51%;">&nbsp;&nbsp;[[Template:New Republic character infobox|[Source]]]</td></tr></table><noinclude>
+
{{t|1=<tr style="border-top:1px solid #00F; border-bottom:1px solid #00F; vertical-align: middle; background: #f0f0f0"><td>Associations</td><td>{{{associations}}}</td></tr>|1{{{associations}}}=}}
{{clear}}
+
{{t|1=<tr style="border-top:1px solid #00F; border-bottom:1px solid #00F; vertical-align: middle; background: #f0f0f0"><td>Ranks</td><td>{{{ranks}}}</td></tr>|1{{{ranks}}}=}}  
 +
{{t|1=<tr style="border-top:1px solid #00F; border-bottom:1px solid #00F; vertical-align: middle; background: #f0f0f0"><td>Titles</td><td>{{{titles}}}</td></tr>|1{{{titles}}}=}}
 +
</table>
 +
<noinclude>
 +
 
 
===Usage instructions===
 
===Usage instructions===
 
Paste the following code into the top of an article, filling all known fields:
 
Paste the following code into the top of an article, filling all known fields:
Line 33: Line 37:
 
|birth=
 
|birth=
 
|death=
 
|death=
 +
|family=
 
|species=
 
|species=
 
|gender=
 
|gender=
 
|height=
 
|height=
 +
|weight
 
|hair=
 
|hair=
 
|eyes=
 
|eyes=
 +
|features=
 
|era=
 
|era=
 
|affiliation=
 
|affiliation=
 +
|associations=
 +
|ranks=
 +
|titles=
 
}}</nowiki></pre>
 
}}</nowiki></pre>
  
===Display parameters===
 
*hideb
 
*hidep
 
*hidec
 
  
 
===Source===
 
===Source===
 
+
<nowiki>
<nowiki>{{subst:slh|#0F1C8A|250px}} {{subst:sls|Biographical information|#5260E0|hideb}} {{subst:sld|Homeworld|homeworld}} {{subst:sld|Date&nbsp;of&nbsp;birth|birth}} {{subst:sld|Date&nbsp;of&nbsp;death|death}} {{subst:sls|Physical description|#5260E0|hidep}} {{subst:sld|Species|species}} {{subst:sld|Gender|gender}} {{subst:sld|Height|height}} {{subst:sld|Hair&nbsp;color|hair}} {{subst:sld|Eye&nbsp;color|eyes}} {{subst:sls|Chronological and political information|#5260E0|hidec}} {{subst:sld|Era(s)|era}} {{subst:sld|Affiliation|affiliation}} {{subst:slf}}</nowiki>
+
{{subst:slh|#009}}  
 +
{{subst:sls|Biographical information|#ddb}}  
 +
{{subst:sld|Homeworld|homeworld}}  
 +
{{subst:sld|Date of birth|birth}}  
 +
{{subst:sld|Date of death|death}}  
 +
{{subst:sld|Family|family}}
 +
{{subst:sls|Physical description|#ddb}}  
 +
{{subst:sld|Species|species}}  
 +
{{subst:sld|Gender|gender}}  
 +
{{subst:sld|Height|height}}  
 +
{{subst:sld|Weight|weight}}
 +
{{subst:sld|Hair color|hair}}  
 +
{{subst:sld|Eye color|eyes}}  
 +
{{subst:sld|Distinguishing features|features}}
 +
{{subst:sls|Chronological and political information|#ddb}}  
 +
{{subst:sld|Era(s)|era}}  
 +
{{subst:sld|Affiliation|affiliation}}  
 +
{{subst:sld|Associations|associations}}
 +
{{subst:sld|Ranks|ranks}}
 +
{{subst:sld|Titles|titles}}
 +
{{subst:slf}}
 +
</nowiki>
  
 
[[Category:Character infobox templates|{{PAGENAME}}]]
 
[[Category:Character infobox templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 11:16, 9 September 2006

{{{image}}}
{{{name}}}
Biographical information
Homeworld{{{homeworld}}}
Date of birth{{{birth}}}
Date of death{{{death}}}
Family{{{family}}}
Physical description
Species{{{species}}}
Gender {{{gender}}}
Height{{{height}}}
Weight{{{weight}}}
Hair color{{{hair}}}
Eye color{{{eyes}}}
Distinguishing features{{{features}}}
Chronological and political information
Era(s) {{{era}}}
Affiliation{{{affiliation}}}
Associations{{{associations}}}
Ranks{{{ranks}}}
Titles{{{titles}}}


Usage instructions

Paste the following code into the top of an article, filling all known fields:

{{New Republic character infobox
|name=
|image=
|homeworld=
|birth=
|death=
|family=
|species=
|gender=
|height=
|weight
|hair=
|eyes=
|features=
|era=
|affiliation=
|associations=
|ranks=
|titles=
}}


Source

{{subst:slh|#009}} {{subst:sls|Biographical information|#ddb}} {{subst:sld|Homeworld|homeworld}} {{subst:sld|Date of birth|birth}} {{subst:sld|Date of death|death}} {{subst:sld|Family|family}} {{subst:sls|Physical description|#ddb}} {{subst:sld|Species|species}} {{subst:sld|Gender|gender}} {{subst:sld|Height|height}} {{subst:sld|Weight|weight}} {{subst:sld|Hair color|hair}} {{subst:sld|Eye color|eyes}} {{subst:sld|Distinguishing features|features}} {{subst:sls|Chronological and political information|#ddb}} {{subst:sld|Era(s)|era}} {{subst:sld|Affiliation|affiliation}} {{subst:sld|Associations|associations}} {{subst:sld|Ranks|ranks}} {{subst:sld|Titles|titles}} {{subst:slf}}