Template:Company: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
m (colour fix)
No edit summary
 
(10 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:#000000;">{{{image|}}}</td></tr>
{{!}}  class="infoboximage" colspan="2" {{!}} {{{image}}}}}
<tr style="text-align:center; color:#ffffff; background:#000000; 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:#999999;">'''General 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;">Constructed</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{constructed|}}}
| colspan="2" class="name company" | '''{{{name}}}'''
</td></tr>|1{{{constructed|}}}=}} {{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;">Destroyed</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{destroyed|}}}
| colspan="2" class="header company" | '''Organizational information'''
</td></tr>|1{{{destroyed|}}}=}} {{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;">Location</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{location|}}}
{{#if: {{{founder|}}}|
</td></tr>|1{{{location|}}}=}} {{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;">Builder</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfoheader" {{!}} Founder(s):
{{{builder|}}}
{{!}} class="infoboxinfodata" {{!}}  
</td></tr>|1{{{builder|}}}=}} {{t|1=|1{{{hidep|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#999999;">'''Physical specifications'''</th></tr>}}  
{{{founder}}}}}
 
|-
{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}">
{{#if: {{{ledby|}}}|
<td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Population</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfoheader" {{!}} Led by:
{{{population|}}}
{{!}} class="infoboxinfodata" {{!}}  
</td></tr>
{{{ledby}}}}}
 
|-
|1{{{population|}}}=}} {{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;">Height</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{#if: {{{parent|}}}|
{{{height|}}}
{{!}} class="infoboxinfoheader" {{!}} Parent organization:
</td></tr>
{{!}} class="infoboxinfodata" {{!}}  
 
{{{parent}}}}}
|1{{{height|}}}=}} {{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;">Width</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{width|}}}
{{#if: {{{subsid|}}}|
</td></tr>|1{{{width|}}}=}}{{t|1=|1{{{hides|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#999999;">'''Usage'''</th></tr>}}
{{!}} class="infoboxinfoheader" {{!}} Subsidiaries:
 
{{!}} class="infoboxinfodata" {{!}}  
{{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;">
{{{subsid}}}}}
{{{era|}}}
|-
</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;">Affiliation</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{#if: {{{personnel|}}}|
{{{affiliation|}}}
{{!}} class="infoboxinfoheader" {{!}} Personnel:
</td></tr>|1{{{affiliation|}}}=}} </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:Structure 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="infoboxinfodata" {{!}}  
{{clear}}
{{{personnel}}}}}
==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.
{{#if: {{{locations|}}}|
<pre><nowiki>
{{!}} class="infoboxinfoheader" {{!}} Locations:
{{structure infobox
{{!}} class="infoboxinfodata" {{!}}  
|image=
{{{locations}}}}}
|name=
|-
|constructed=
{{#if: {{{role|}}}|
|destroyed=
{{!}} class="infoboxinfoheader" {{!}} Primary role(s):
|location=
{{!}} class="infoboxinfodata" {{!}}  
|builder=
{{{role}}}}}
|population=
|-
|height=
{{#if: {{{products|}}}|
|width=
{{!}} class="infoboxinfoheader" {{!}} Major products:
|era=
{{!}} class="infoboxinfodata" {{!}}  
|affiliation=
{{{products}}}}}
}}</nowiki></pre>
|-
 
| colspan="2" class="header company" | '''Chronological and political information'''
===Display parameters===
|-
*hidei
{{#if: {{{founding|}}}|
*hidep
{{!}} class="infoboxinfoheader" {{!}} Founding:
*hideu
{{!}} class="infoboxinfodata" {{!}}
 
{{{founding}}}}}
===Source===
|-
{{#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===
Paste the following code at the beginning of the article, filing all relevant fields. If a field doesn't apply, just leave it blank.
<pre>
<nowiki>
<nowiki>
{{subst:slh|#AC8751|250px}} {{subst:sls|General information|#DFCAA0|hidei}} {{subst:sld|Constructed|constructed}} {{subst:sld|Destroyed|destroyed}} {{subst:sld|Location|location}} {{subst:sld|Builder|builder}} {{subst:sls|Physical specifications|#DFCAA0|hidep}} {{subst:sld|Population|population}} {{subst:sld|Height|height}} {{subst:sld|Width|width}}{{subst:sls|Usage|#DFCAA0|hides}} {{subst:sld|Era(s)|era}} {{subst:sld|Affiliation|affiliation}} {{subst:slf}}
{{Company
| image =
| name =
| founder =
| ledby =
| parent =
| subsid =
| personnel =
| locations =
| role =
| products =
| founding =
| dissolved =
| era =
| affiliation =
}}
</nowiki>
</nowiki>
</pre>


[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
[[Category:Infobox templates|{{PAGENAME}}]]
</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 = 
}}