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

Jump to navigationJump to search
 
m (formatting adjustment)
 
(4 intermediate revisions by 4 users not shown)
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>
{{{death|}}}
+
{{{homeworld}}}</td></tr>|1{{{homeworld}}}=}}
</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 birth</td><td>
{{{species|}}}
+
{{{birth}}}</td></tr>|1{{{birth}}}=}}  
</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;">
+
{{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>
{{{gender|}}}
+
{{{death}}}</td></tr>|1{{{death}}}=}}  
</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>Family</td><td>
{{{height|}}}
+
{{{family}}}</td></tr>|1{{{family}}}=}}  
</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;">
+
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#5260E0;">'''Physical description'''</th></tr>  
{{{hair|}}}
+
{{t|1=<tr style="border-top:1px solid #00F; border-bottom:1px solid #00F; vertical-align: middle; background: #f0f0f0"><td>Species</td><td>
</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;">
+
{{{species}}}</td></tr>|1{{{species}}}=}}
{{{eyes|}}}
+
{{t|1=<tr style="border-top:1px solid #00F; border-bottom:1px solid #00F; vertical-align: middle; background: #f0f0f0"><td>Gender</td><td>
</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;">
+
{{{gender}}}</td></tr>|1{{{gender}}}=}}  
{{{era|}}}
+
{{t|1=<tr style="border-top:1px solid #00F; border-bottom:1px solid #00F; vertical-align: middle; background: #f0f0f0"><td>Height</td><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;">
+
{{{height}}}</td></tr>|1{{{height}}}=}}
{{{affiliation|}}}
+
{{t|1=<tr style="border-top:1px solid #00F; border-bottom:1px solid #00F; vertical-align: middle; background: #f0f0f0"><td>Weight</td><td>
</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>
+
{{{weight}}}</td></tr>|1{{{weight}}}=}}  
{{clear}}
+
{{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}}}=}}
 +
{{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}}}=}}  
 +
{{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}}}=}}
 +
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#5260E0;"> '''Chronological and political information'''</th></tr>  
 +
{{t|1=<tr style="border-top:1px solid #00F; border-bottom:1px solid #00F; vertical-align: middle; background: #f0f0f0"><td>Era(s)</td>
 +
<td>
 +
{{{era}}}</td></tr>|1{{{era}}}=}}
 +
{{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}}}=}}  
 +
{{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}}}=}}
 +
{{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:
<pre><nowiki>{{New Republic character infobox
+
<pre><nowiki>{{New Republic character infobox|
 
|name=
 
|name=
 
|image=
 
|image=
Line 33: Line 52:
 
|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===
+
If you do not need a certain field. '''LEAVE IT BLANK, DO NOT DELETE THE LINE'''
*hideb
 
*hidep
 
*hidec
 
 
 
===Source===
 
 
 
<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>
 
  
[[Category:Character infobox templates|{{PAGENAME}}]]
+
[[Category:Infobox templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 21:43, 3 October 2009

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

If you do not need a certain field. LEAVE IT BLANK, DO NOT DELETE THE LINE