Template:Company: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
m (fixed source background color)
No edit summary
 
(8 intermediate revisions by 4 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|000000}}};">{{{image|}}}</td></tr>
{{!}}  class="infoboximage" colspan="2" {{!}} {{{image}}}}}
<tr style="text-align:center; color:#ffffff; background:#{{{BG1|000000}}}; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> {{t|1=|1{{{hideo|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#{{{BG2|333}}};">'''Organizational information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><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|}}}
| colspan="2" class="name company" | '''{{{name}}}'''
</td></tr>|1{{{founder|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Led&nbsp;by</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{ledby|}}}
| colspan="2" class="header company" | '''Organizational information'''
</td></tr>|1{{{ledby|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Associations</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{associations|}}}
{{#if: {{{founder|}}}|
</td></tr>|1{{{associations|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Parent&nbsp;organization</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfoheader" {{!}} Founder(s):
{{{parent|}}}
{{!}} class="infoboxinfodata" {{!}}  
</td></tr>|1{{{parent|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Subsidiaries</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{founder}}}}}
{{{subsid|}}}
|-
</td></tr>|1{{{subsid|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Personnel</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{#if: {{{ledby|}}}|
{{{personnel|}}}
{{!}} class="infoboxinfoheader" {{!}} Led by:
</td></tr>|1{{{personnel|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><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="infoboxinfodata" {{!}}  
{{{locations|}}}
{{{ledby}}}}}
</td></tr>|1{{{locations|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Primary&nbsp;role(s)</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{role|}}}
{{#if: {{{parent|}}}|
</td></tr>|1{{{role|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Major&nbsp;products</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfoheader" {{!}} Parent organization:
{{{products|}}}
{{!}} class="infoboxinfodata" {{!}}  
</td></tr>|1{{{products|}}}=}} {{t|1=|1{{{hidec|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#{{{BG2|333}}};">'''Chronological and political information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><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;">
{{{parent}}}}}
{{{founding|}}}
|-
</td></tr>|1{{{founding|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Date&dissolved</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{#if: {{{subsid|}}}|
{{{dissolved|}}}
{{!}} class="infoboxinfoheader" {{!}} Subsidiaries:
</td></tr>|1{{{dissolved|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><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;">
{{!}} class="infoboxinfodata" {{!}}  
{{{era|}}}
{{{subsid}}}}}
</td></tr>|1{{{era|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Afilliation</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{affiliation|}}}
{{#if: {{{personnel|}}}|
</td></tr>|1{{{affiliation|}}}=}} </table></div></td></tr><tr style="background:#000;"><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td style="text-align:left; width:51%;">&nbsp;&nbsp;[[Template:Company infobox|[Source]]]</td></tr></table><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><noinclude>
{{!}} class="infoboxinfoheader" {{!}} Personnel:
{{clear}}
{{!}} class="infoboxinfodata" {{!}}  
{{{personnel}}}}}
|-
{{#if: {{{locations|}}}|
{{!}} class="infoboxinfoheader" {{!}} Locations:
{{!}} class="infoboxinfodata" {{!}}  
{{{locations}}}}}
|-
{{#if: {{{role|}}}|
{{!}} class="infoboxinfoheader" {{!}} Primary role(s):
{{!}} class="infoboxinfodata" {{!}}  
{{{role}}}}}
|-
{{#if: {{{products|}}}|
{{!}} class="infoboxinfoheader" {{!}} Major products:
{{!}} class="infoboxinfodata" {{!}}  
{{{products}}}}}
|-
| colspan="2" class="header company" | '''Chronological and political information'''
|-
{{#if: {{{founding|}}}|
{{!}} class="infoboxinfoheader" {{!}} Founding:
{{!}} class="infoboxinfodata" {{!}}  
{{{founding}}}}}
|-
{{#if: {{{dissolved|}}}|
{{!}} class="infoboxinfoheader" {{!}} Date & dissolved:
{{!}} class="infoboxinfodata" {{!}}  
{{{dissolved}}}}}
|-
{{#if: {{{affiliation|}}}|
{{!}} class="infoboxinfoheader" {{!}} Affiliation:
{{!}} class="infoboxinfodata" {{!}}
{{{affiliation}}}}}
|-
{{#if: {{{era|}}}|
{{!}} class="infoboxinfoheader" {{!}} Era(s):
{{!}} class="infoboxinfodata" {{!}}  
{{{era}}}}}
|-
| colspan="2" class="infoboxfooter company" | {{Link color|Template:Company|#4B5A85|[ Source ]}}
|}
<noinclude>
{{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>
{{company infobox
{{Company
| BG1 = <--primary heading coloring
| BG2 = <--secondary heading coloring
| image =  
| image =  
| name =  
| name =  
Line 56: Line 96:
</nowiki>
</nowiki>
</pre>
</pre>
===Display parameters===
*hideo
*hidec
===Source===
<nowiki>
{{subst:slh|#{{{BG1|999999}}}|250px}} {{subst:sls|Organizational information|#{{{BG2|CCCCCC}}}|hideo}} {{subst:sld|Founder(s)|founder}} {{subst:sld|Led&nbsp;by|ledby}} {{subst:sld|Associations|associations}} {{subst:sld|Parent&nbsp;organization|parent}} {{subst:sld|Subsidiaries|subsid}} {{subst:sld|Personnel|personnel}} {{subst:sld|Locations|locations}} {{subst:sld|Primary&nbsp;role(s)|role}} {{subst:sld|Major&nbsp;products|products}} {{subst:sls|Chronological and political information|#{{{BG2|CCCCCC}}}|hidec}} {{subst:sld|Founding|founding}} {{subst:sld|Date&dissolved|dissolved}} {{subst:sld|Era(s)|era}} {{subst:sld|Afilliation|affiliation}} {{subst:slf}}
</nowiki>


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

Latest revision as of 18:51, 27 July 2015

{{{name}}}
Organizational information
Chronological and 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.


{{Company
| image = 
| name = 
| founder = 
| ledby = 
| parent = 
| subsid = 
| personnel = 
| locations = 
| role = 
| products = 
| founding = 
| dissolved = 
| era = 
| affiliation = 
}}