Template:Family: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
m (fixing usage)
No edit summary
 
(4 intermediate revisions by one other user 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|#8c8977|[ 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>

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