Template:Family: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
No edit summary
Line 2: Line 2:
<tr><td colspan="2"><div id="infoboxinternal">
<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;">
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#ffffff; border-collapse:collapse;">
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:#8D00B5;">
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:{{{imageBG|#{{{BG1|999999}}}}}};">{{{image|}}}</td></tr>
{{{image|}}}
<tr style="text-align:center; color:#ffffff; background:#{{{BG1|999999}}}; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> {{t|1=|1{{{hidep|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#{{{BG2|CCCCCC}}};">'''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;">Type of government</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
</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;">
{{{type|}}}
</td></tr>|1{{{type|}}}=}} {{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;">Founding document</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{founding|}}}
</td></tr>|1{{{founding|}}}=}} {{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;">Head of State</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{headofstate|}}}
</td></tr>|1{{{headofstate|}}}=}} {{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;">Head of Government</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{headofgov|}}}
</td></tr>|1{{{headofgov|}}}=}} {{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;">Commander-in-chief</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{commander|}}}
</td></tr>|1{{{commander|}}}=}} {{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;">De facto leader</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{defacto|}}}
</td></tr>|1{{{defacto|}}}=}} {{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;">Executive branch</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{executive|}}}
</td></tr>|1{{{executive|}}}=}} {{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;">Legislative branch</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{legislative|}}}
</td></tr>|1{{{legislative|}}}=}} {{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;">
{{{homeworld|}}}
{{{homeworld|}}}
</td></tr>|1{{{homeworld|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}">
</td></tr>|1{{{homeworld|}}}=}} {{t|1=|1{{{hides|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#{{{BG2|CCCCCC}}};">'''Societal 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;">Capital</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{capital|}}}
<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;">
</td></tr>|1{{{capital|}}}=}} {{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;">Official language</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{species|}}}
{{{language|}}}
</td></tr>|1{{{species|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}">
</td></tr>|1{{{language|}}}=}} {{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;">Currency</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{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;">
{{{currency|}}}
</td></tr>|1{{{currency|}}}=}} {{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;">State religious body</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{religious|}}}
</td></tr>|1{{{religious|}}}=}} {{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;">National holiday</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{holiday|}}}
</td></tr>|1{{{holiday|}}}=}} {{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;">Anthem</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{anthem|}}}
</td></tr>|1{{{anthem|}}}=}} {{t|1=|1{{{hideh|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#{{{BG2|CCCCCC}}};">'''Historical 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;">Formed from</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{formed|}}}
</td></tr>|1{{{formed|}}}=}} {{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 of establishment</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{established|}}}
</td></tr>|1{{{established|}}}=}} {{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 of reorganization</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{reorganized|}}}
</td></tr>|1{{{reorganized|}}}=}} {{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 of fragmentation</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{fragmented|}}}
</td></tr>|1{{{fragmented|}}}=}} {{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 of dissolution</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{dissolved|}}}
</td></tr>|1{{{dissolved|}}}=}}{{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 of restoration</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{restored|}}}
</td></tr>|1{{{restored|}}}=}} {{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;">
{{{era|}}}
{{{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;">
</td></tr>|1{{{era|}}}=}} </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:Government infobox|[Source]]]</td></tr></table><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><noinclude>
{{{affiliation|}}}
</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>
</table><noinclude>
{{clear}}
{{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.<br />
<pre><nowiki>{{Family charinfo
'''Note: This template has customizable colors for both primary and secondary headings. However, the heading colors will default to shades of gray; choose your colors appropriately.'''
|name=
<pre>
|image=
<nowiki>
|homeworld=
{{government infobox
|species=
| BG1 = <--primary heading coloring
|era=
| BG2 = <--secondary heading coloring
|affiliation=
| image =
| name =  
| type =
| founding =
| headofstate =
| headofgov =
| commander =
| defacto =
| executive =
| legislative =
| judicial =
| capital =
| language =
| currency =
| religious =
| holiday =
| anthem =
| formed =
| established =
| reorganized =  
| fragmented =  
| dissolved =  
| restored =  
| era =  
}}
}}
</nowiki></pre>
</nowiki>
</pre>


===Display parameters===
===Display parameters===
*hideb
*hidep
*hidep
*hidec
*hides
*hideh


===Source===
===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>
<nowiki>
{{subst:slh|#{{{BG1|999999}}}|250px}} {{subst:sls|Political information|#{{{BG2|CCCCCC}}}|hidep}} {{subst:sld|Type&nbsp;of&nbsp;government|type}} {{subst:sld|Founding&nbsp;document|founding}} {{subst:sld|Head&nbsp;of&nbsp;State|headofstate}} {{subst:sld|Head&nbsp;of&nbsp;Government|headofgov}} {{subst:sld|Commander-in-chief|commander}} {{subst:sld|De&nbsp;facto&nbsp;leader|defacto}} {{subst:sld|Executive&nbsp;branch|executive}} {{subst:sld|Legislative&nbsp;branch|legislative}} {{subst:sld|Judicial&nbsp;branch|judicial}} {{subst:sls|Societal information|#{{{BG2|CCCCCC}}}|hides}} {{subst:sld|Capital|capital}} {{subst:sld|Official&nbsp;language|language}} {{subst:sld|Currency|currency}} {{subst:sld|State&nbsp;religious&nbsp;body|religious}} {{subst:sld|National&nbsp;holiday|holiday}} {{subst:sld|Anthem|anthem}} {{subst:sls|Historical information|#{{{BG2|CCCCCC}}}|hideh}} {{subst:sld|Formed&nbsp;from|formed}} {{subst:sld|Date&nbsp;of&nbsp;establishment|established}} {{subst:sld|Date&nbsp;of&nbsp;reorganization|reorganized}} {{subst:sld|Date&nbsp;of&nbsp;fragmentation|fragmented}} {{subst:sld|Date&nbsp;of&nbsp;dissolution|dissolved}}{{subst:sld|Date&nbsp;of&nbsp;restoration|restored}} {{subst:sld|Era(s)|era}} {{subst:slf}}
</nowiki>


[[Category:Character infobox templates|{{PAGENAME}}]]
[[Category:Infobox templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 06:40, 17 October 2006

{{{name}}}
Political information
Societal information
Historical 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.
Note: This template has customizable colors for both primary and secondary headings. However, the heading colors will default to shades of gray; choose your colors appropriately.


{{government infobox
| BG1 = <--primary heading coloring
| BG2 = <--secondary heading coloring
| image = 
| name = 
| type = 
| founding = 
| headofstate = 
| headofgov = 
| commander = 
| defacto = 
| executive = 
| legislative = 
| judicial = 
| capital = 
| language = 
| currency = 
| religious = 
| holiday = 
| anthem = 
| formed = 
| established = 
| reorganized = 
| fragmented = 
| dissolved = 
| restored = 
| era = 
}}

Display parameters

  • hidep
  • hides
  • hideh

Source

{{subst:slh|#{{{BG1|999999}}}|250px}} {{subst:sls|Political information|#{{{BG2|CCCCCC}}}|hidep}} {{subst:sld|Type of government|type}} {{subst:sld|Founding document|founding}} {{subst:sld|Head of State|headofstate}} {{subst:sld|Head of Government|headofgov}} {{subst:sld|Commander-in-chief|commander}} {{subst:sld|De facto leader|defacto}} {{subst:sld|Executive branch|executive}} {{subst:sld|Legislative branch|legislative}} {{subst:sld|Judicial branch|judicial}} {{subst:sls|Societal information|#{{{BG2|CCCCCC}}}|hides}} {{subst:sld|Capital|capital}} {{subst:sld|Official language|language}} {{subst:sld|Currency|currency}} {{subst:sld|State religious body|religious}} {{subst:sld|National holiday|holiday}} {{subst:sld|Anthem|anthem}} {{subst:sls|Historical information|#{{{BG2|CCCCCC}}}|hideh}} {{subst:sld|Formed from|formed}} {{subst:sld|Date of establishment|established}} {{subst:sld|Date of reorganization|reorganized}} {{subst:sld|Date of fragmentation|fragmented}} {{subst:sld|Date of dissolution|dissolved}}{{subst:sld|Date of restoration|restored}} {{subst:sld|Era(s)|era}} {{subst:slf}}