Template:Family: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
No edit summary
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| width="250" align="right" cellpadding="3" cellspacing="0" style="border: 2px #333333 solid; background: #000000; border-bottom-right-radius: .8em; border-bottom-left-radius: .8em; -moz-border-radius-bottomright: .8em; -moz-border-radius-bottomleft: .8em; -webkit-border-bottom-right-radius: .8em; -webkit-border-bottom-left-radius: .8em; margin-top: -1.4em; margin: 0 0 1em 1em; font-size: 12px;color: #ffffff;"
{| class="infoboxtemp"  width="250" align="right" cellpadding="3" cellspacing="0"
|-
|-
{{#if: {{{image|}}}|
{{#if: {{{image|}}}|
{{!}} colspan="2" bgcolor={{{bgcolor_value|#222222; style="background: #222222; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller; text-align: center;"}}} {{!}} {{{image}}}}}
{{!}} class="infoboximage" colspan="2" {{!}} {{{image}}}}}
|-
|-
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; font-size:larger; background-color:#5c5947; text-align:center; font-variant:small-caps;" | '''{{{name}}}'''
| colspan="2" class="name family" | '''{{{name}}}'''
|-
|-
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#49473e; text-align:center; font-size:8pt;" | '''Societal information'''
| colspan="2" class="header family" | '''Societal information'''
|-
|-
{{#if: {{{homeworld|}}}|
{{#if: {{{homeworld|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Homeworld:
{{!}} class="infoboxinfoheader" {{!}} Homeworld:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{!}} class="infoboxinfodata" {{!}}  
{{{homeworld}}}}}
{{{homeworld}}}}}
|-
|-
{{#if: {{{capital|}}}|
{{#if: {{{capital|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Capital:
{{!}} class="infoboxinfoheader" {{!}} Capital:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{!}} class="infoboxinfodata" {{!}}  
{{{capital}}}}}
{{{capital}}}}}
|-
|-
{{#if: {{{language|}}}|
{{#if: {{{language|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Official language:
{{!}} class="infoboxinfoheader" {{!}} Official language:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{!}} class="infoboxinfodata" {{!}}  
{{{language}}}}}
{{{language}}}}}
|-
|-
{{#if: {{{dissolved|}}}|
{{#if: {{{dissolved|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Date of dissolution:
{{!}} class="infoboxinfoheader" {{!}} Date of dissolution:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{!}} class="infoboxinfodata" {{!}}  
{{{dissolved}}}}}
{{{dissolved}}}}}
|-
|-
{{#if: {{{restored|}}}|
{{#if: {{{restored|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Date of restoration:
{{!}} class="infoboxinfoheader" {{!}} Date of restoration:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{!}} class="infoboxinfodata" {{!}}  
{{{restored}}}}}
{{{restored}}}}}
|-
|-
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#49473e; text-align:center; font-size:8pt;" | '''Political Information'''
| colspan="2" class="header family" | '''Political Information'''
|-
|-
{{#if: {{{commander|}}}|
{{#if: {{{commander|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Family Leader:
{{!}} class="infoboxinfoheader" {{!}} Family Leader:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{!}} class="infoboxinfodata" {{!}}  
{{{commander}}}}}
{{{commander}}}}}
|-
|-
{{#if: {{{affiliation|}}}|
{{#if: {{{affiliation|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Affilation:
{{!}} class="infoboxinfoheader" {{!}} Affilation:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{!}} class="infoboxinfodata" {{!}}  
{{{affiliation}}}}}
{{{affiliation}}}}}
|-
|-
{{#if: {{{era|}}}|
{{#if: {{{era|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Era(s):
{{!}} class="infoboxinfoheader" {{!}} Era(s):
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{!}} class="infoboxinfodata" {{!}}  
{{{era}}}}}
{{{era}}}}}
|-
|-
|colspan="2" style="border-bottom-right-radius: .8em; border-bottom-left-radius: .8em; -moz-border-radius-bottomright: .8em; -moz-border-radius-bottomleft: .8em; -webkit-border-bottom-right-radius: .8em; -webkit-border-bottom-left-radius: .8em; text-align: center; color: #e5e5ed; font-variant:small-caps; font-size:smaller; background-color:#5c5947; text-align:center; border-top: 1px solid #111111;" | {{Link color|Template:Family|#d9d7ce|[ Source ]}}
| colspan="2" class="infoboxfooter family" | {{Link color|Template:Family|#8c8977|[ Source ]}}
|}
|}
<noinclude>
<noinclude>
{{clear}}
{{Clear}}
===Usage instructions===
===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.<br />
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.'''
<pre>
<pre>
<nowiki>
<nowiki>
{{Family charinfo
{{Family
| image =  
| image =  
| name =  
| name =  
Line 73: Line 72:
</nowiki>
</nowiki>
</pre>
</pre>
===Display parameters===
*hidep
*hides
*hideh
===Source===
<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: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 = 
}}