Template:Company: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
m (colour fix)
m (Revert... blah... copied into the wrong window :P)
Line 2: Line 2:
<tr><td colspan="2"><div id="infoboxinternal">
<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;">
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#ffffff; border-collapse:collapse;">
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:#000000;">{{{image|}}}</td></tr>
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:#{{{BG1|000000}}};">{{{image|}}}</td></tr>
<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;">
<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;">
{{{constructed|}}}
{{{founder|}}}
</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;">
</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;">
{{{destroyed|}}}
{{{ledby|}}}
</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;">
</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;">
{{{location|}}}
{{{associations|}}}
</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;">
</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;">
{{{builder|}}}
{{{parent|}}}
</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>}}  
</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;">
 
{{{subsid|}}}
{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}">
</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;">
<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;">
{{{personnel|}}}
{{{population|}}}
</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;">
</td></tr>
{{{locations|}}}
 
</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;">
|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;">
{{{role|}}}
{{{height|}}}
</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;">
</td></tr>
{{{products|}}}
 
</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;">
|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;">
{{{founding|}}}
{{{width|}}}
</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;">
</td></tr>|1{{{width|}}}=}}{{t|1=|1{{{hides|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#999999;">'''Usage'''</th></tr>}}  
{{{dissolved|}}}
 
</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;">
{{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;">
{{{era|}}}
{{{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;">
</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|}}}
{{{affiliation|}}}
</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>
</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: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>
{{clear}}
{{clear}}
==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.
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 />
<pre><nowiki>
'''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.'''
{{structure infobox
<pre>
|image=
<nowiki>
|name=
{{company infobox
|constructed=
| BG1 = <--primary heading coloring
|destroyed=
| BG2 = <--secondary heading coloring
|location=
| image =  
|builder=
| name =  
|population=
| founder =  
|height=
| ledby =  
|width=
| parent =  
|era=
| subsid =  
|affiliation=
| personnel =  
}}</nowiki></pre>
| locations =  
| role =
| products =
| founding =
| dissolved =  
| era =  
| affiliation =  
}}
</nowiki>
</pre>


===Display parameters===
===Display parameters===
*hidei
*hideo
*hidep
*hidec
*hideu


===Source===
===Source===
<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}}
{{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>
</nowiki>


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

Revision as of 20:05, 9 March 2009

{{{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.
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.


{{company infobox
| BG1 = <--primary heading coloring
| BG2 = <--secondary heading coloring
| image = 
| name = 
| founder = 
| ledby = 
| parent = 
| subsid = 
| personnel = 
| locations = 
| role = 
| products = 
| founding = 
| dissolved = 
| era = 
| affiliation = 
}}

Display parameters

  • hideo
  • hidec

Source

{{subst:slh|#{{{BG1|999999}}}|250px}} {{subst:sls|Organizational information|#{{{BG2|CCCCCC}}}|hideo}} {{subst:sld|Founder(s)|founder}} {{subst:sld|Led by|ledby}} {{subst:sld|Associations|associations}} {{subst:sld|Parent organization|parent}} {{subst:sld|Subsidiaries|subsid}} {{subst:sld|Personnel|personnel}} {{subst:sld|Locations|locations}} {{subst:sld|Primary role(s)|role}} {{subst:sld|Major 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}}