Template:Organization: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
No edit summary
 
mNo edit summary
 
(20 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:#{{{BG1|999999}}};">{{{image|}}}</td></tr>
{{!}} class="infoboximage" colspan="2" bgcolor={{{bgcolor_value|#222222;}}} {{!}} {{{image}}} }}
<tr style="text-align:center; color:#ffffff; background:#{{{BG1|999999}}}; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> {{t|1=|1{{{hidei|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#{{{BG2|CCCCCC}}};">'''General 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;">Founder(s)</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{founder|}}}
| class="name organization" colspan="2" | '''{{{name}}}'''
</td></tr>|1{{{founder|}}}=}} {{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;">Leader(s)</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{leader|}}}
| class="header organization" colspan="2" | '''General information'''
</td></tr>|1{{{leader|}}}=}} {{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;">Headquarters</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{headquarters|}}}
{{#if: {{{founder|}}}|
</td></tr>|1{{{headquarters|}}}=}} {{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;">Locations</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Founder(s):
{{{locations|}}}
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
</td></tr>|1{{{locations|}}}=}} {{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;">
{{{founder}}}}}
{{{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;">Founding</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{#if: {{{leader|}}}|
{{{founded|}}}
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Leader(s):
</td></tr>|1{{{founded|}}}=}} {{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;">Reorganization</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{reorganized|}}}
{{{leader}}}}}
</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;">Fragmentation</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{fragmented|}}}
{{#if: {{{headquarters|}}}|
</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;">Dissolution</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Headquarters:
{{{dissolved|}}}
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
</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;">Restoration</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{headquarters}}}}}
{{{restored|}}}
|-
</td></tr>|1{{{restored|}}}=}} {{t|1=|1{{{hideot|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#{{{BG2|CCCCCC}}};">'''Other 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;">Notable members</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{#if: {{{location|}}}|
{{{members|}}}
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Location:
</td></tr>|1{{{members|}}}=}}  {{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;">Affilliation</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{affiliation|}}}
{{{location}}}}}
</td></tr>|1{{{affiliation|}}}=}}{{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|}}}
| class="header organization" colspan="2" | '''Historical information'''
</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:Organization infobox|[Source]]]</td></tr></table><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><noinclude>
|-
{{clear}}
{{#if: {{{formed|}}}|
==Data fields==
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Formed from:
*founder
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
*leader
{{{formed}}}}}
*members
|-
*headquarters
{{#if: {{{founded|}}}|
*locations
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Founding:
*formed
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
*founded
{{{founded}}}}}
*reorganized
|-
*fragmented
{{#if: {{{reorganized|}}}|
*dissolved
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Reorganization:
*restored
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
*affiliation
{{{reorganized}}}}}
*era
|-
*BG1 (optional color modifier)
{{#if: {{{fragmented|}}}|
*BG2 (optional color modifier)
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Fragmentation:
 
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
==Display parameters==
{{{fragmented}}}}}
*hidei (General information)
|-
*hideh (Historical information)
{{#if: {{{dissolved|}}}|
*hideo (Other information)
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Dissolution:
 
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{dissolved}}}}}
|-
{{#if: {{{restored|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Restoration:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{restored}}}}}
|-
| class="header organization" colspan="2" | '''Other information'''
|-
{{#if: {{{members|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Notable members:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{members}}}}}
|-
{{#if: {{{affiliation|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Affiliation:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{affiliation}}}}}
|-
{{#if: {{{era|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Era(s):
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{era}}}}}
|-
|class="infoboxfooter organization" colspan="2" | {{Link color|Template:Organization|#8FAFC0|[ Source ]}}
|}
<noinclude>
==Usage instructions==
==Usage instructions==
Copy and paste the following code into the top of the article, filling the appropriate fields. Omitted or blank fields will not be shown on the article page.
Copy and paste the following code into the top of the article, filling the appropriate fields. Omitted or blank fields will not be shown on the article page.
'''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><nowiki>
<pre><nowiki>
{{Organization infobox
{{Organization
|BG1=
|name=
|BG2=
|image=
|founder=
|founder=
|leader=
|leader=
|members=
|members=
|headquarters=
|headquarters=
|locations=
|location=
|formed=
|formed=
|founded=
|founded=
Line 78: Line 103:
</nowiki></pre>
</nowiki></pre>


==Source==
<nowiki>
{{subst:slh|#{{{BG1|999999}}}|250px}} {{subst:sls|General information|#{{{BG2|CCCCCC}}}|hidei}} {{subst:sld|Founder(s)|founder}} {{subst:sld|Leader(s)|leader}} {{subst:sld|Notable members|members}} {{subst:sld|Headquarters|headquarters}} {{subst:sld|Locations|locations}} {{subst:sls|Historical information|#{{{BG2|CCCCCC}}}|hideh}} {{subst:sld|Formed from|formed}} {{subst:sld|Founding|founded}} {{subst:sld|Reorganization|reorganized}} {{subst:sld|Fragmentation|fragmented}} {{subst:sld|Dissolution|dissolved}} {{subst:sld|Restoration|restored}} {{subst:sls|Other information|#{{{BG2|CCCCCC}}}|hideot}} {{subst:sld|Affilliation|affiliation}} {{subst:sld|Era(s)|era}} {{subst:slf}}
</nowiki>


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

Latest revision as of 17:45, 19 December 2016

{{{name}}}
General information
Historical information
Other information
[ Source ]

Usage instructions

Copy and paste the following code into the top of the article, filling the appropriate fields. Omitted or blank fields will not be shown on the article page.

{{Organization
|name=
|image=
|founder=
|leader=
|members=
|headquarters=
|location=
|formed=
|founded=
|reorganized=
|fragmented=
|dissolved=
|restored=
|affiliation=
|era=
}}