Template:Family: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
No edit summary
 
(14 intermediate revisions by 5 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;">
{| class="infoboxtemp" width="250" align="right" cellpadding="3" cellspacing="0"
<tr><td colspan="2"><div id="infoboxinternal">
|-
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#ffffff; border-collapse:collapse;">
{{#if: {{{image|}}}|
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:#8D00B5;">
{{!}}  class="infoboximage" colspan="2" {{!}} {{{image}}}}}
{{{image|}}}
|-
</td></tr><tr style="text-align:center; color:#ffffff; background:#8D00B5; 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:#AB7AB8;">'''Familial 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;">
| colspan="2" class="name family" | '''{{{name}}}'''
{{{homeworld|}}}
|-
</td></tr>|1{{{homeworld|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}">
| colspan="2" class="header family" | '''Societal information'''
 
|-
<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;">
{{#if: {{{homeworld|}}}|
{{{species|}}}
{{!}} class="infoboxinfoheader" {{!}} Homeworld:
</td></tr>|1{{{species|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}">
{{!}} class="infoboxinfodata" {{!}}
{{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;">
{{{homeworld}}}}}
{{{era|}}}
|-
</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;">
{{#if: {{{capital|}}}|
{{{affiliation|}}}
{{!}} class="infoboxinfoheader" {{!}} Capital:
</td></tr>|1{{{affiliation|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="text-align:left; width:51%;">&nbsp;&nbsp;[[Template:Family charinfo|[Source]]]</td></tr>
{{!}} class="infoboxinfodata" {{!}}
</table><noinclude>
{{{capital}}}}}
{{clear}}
|-
 
{{#if: {{{language|}}}|
 
{{!}} class="infoboxinfoheader" {{!}} Official language:
{{!}} class="infoboxinfodata" {{!}}
{{{language}}}}}
|-
{{#if: {{{dissolved|}}}|
{{!}} class="infoboxinfoheader" {{!}} Date of dissolution:
{{!}} class="infoboxinfodata" {{!}}  
{{{dissolved}}}}}
|-
{{#if: {{{restored|}}}|
{{!}} class="infoboxinfoheader" {{!}} Date of restoration:
{{!}} class="infoboxinfodata" {{!}}
{{{restored}}}}}
|-
| colspan="2" class="header family" | '''Political Information'''
|-
{{#if: {{{commander|}}}|
{{!}} class="infoboxinfoheader" {{!}} Family Leader:
{{!}} class="infoboxinfodata" {{!}}  
{{{commander}}}}}
|-
{{#if: {{{affiliation|}}}|
{{!}} class="infoboxinfoheader" {{!}} Affilation:
{{!}} class="infoboxinfodata" {{!}}
{{{affiliation}}}}}
|-
{{#if: {{{era|}}}|
{{!}} class="infoboxinfoheader" {{!}} Era(s):
{{!}} class="infoboxinfodata" {{!}}
{{{era}}}}}
|-
| colspan="2" class="infoboxfooter family" | {{Link color|Template:Family|#8c8977|[ Source ]}}
|}
<noinclude>
{{Clear}}
===Usage instructions===
===Usage instructions===
Paste the following code into the top of an article, filling all known fields:
Paste the following code at the beginning of the article, filing all relevant fields. If a field doesn't apply, just leave it blank.
<pre><nowiki>{{Family charinfo
<pre>
|name=
<nowiki>
|image=
{{Family
|homeworld=
| image =
|species=
| name =  
|era=
| homeworld =
|affiliation=
| capital =
| language =  
| dissolved =  
| restored =
| commander =  
| affiliation
| era =  
}}
}}
</nowiki></pre>
</nowiki>
 
</pre>
===Display parameters===
*hideb
*hidep
*hidec
 
===Source===
<nowiki>{{subst:slh|#8D00B5|250px}} {{subst:sls|Biographical information|#7E3D8F|hideb}} {{subst:sld|Homeworld|homeworld}} {{subst:sld|Species|species}} {{subst:sls|Chronological and political information|#7E3D8F|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 18:44, 27 July 2015

{{{name}}}
Societal information
Political Information
[ Source ]


Usage instructions

Paste the following code at the beginning of the article, filing all relevant fields. If a field doesn't apply, just leave it blank.


{{Family
| image = 
| name = 
| homeworld = 
| capital = 
| language = 
| dissolved = 
| restored =
| commander = 
| affiliation =  
| era = 
}}