Template:Company: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
(colour fix)
m (colour fix)
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:#{{{BG1|000000}}};">{{{image|}}}</td></tr>
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:#000000;">{{{image|}}}</td></tr>
<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;">
<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;">
{{{founder|}}}
{{{constructed|}}}
</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;">
</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;">
{{{ledby|}}}
{{{destroyed|}}}
</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;">
</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;">
{{{associations|}}}
{{{location|}}}
</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;">
</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;">
{{{parent|}}}
{{{builder|}}}
</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;">
</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>}}  
{{{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;">
{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}">
{{{personnel|}}}
<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;">
</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;">
{{{population|}}}
{{{locations|}}}
</td></tr>
</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|}}}
|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;">
</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;">
{{{height|}}}
{{{products|}}}
</td></tr>
</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;">
 
{{{founding|}}}
|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;">
</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;">
{{{width|}}}
{{{dissolved|}}}
</td></tr>|1{{{width|}}}=}}{{t|1=|1{{{hides|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#999999;">'''Usage'''</th></tr>}}  
</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;">Afilliation</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;">Affiliation</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: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>
</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>
{{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 />
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>
{{structure infobox
<nowiki>
|image=
{{company infobox
|name=
| BG1 = <--primary heading coloring
|constructed=
| BG2 = <--secondary heading coloring
|destroyed=
| image =  
|location=
| name =  
|builder=
| founder =  
|population=
| ledby =  
|height=
| parent =  
|width=
| subsid =  
|era=
| personnel =  
|affiliation=
| locations =  
}}</nowiki></pre>
| role =
| products =
| founding =
| dissolved =  
| era =  
| affiliation =  
}}
</nowiki>
</pre>


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


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


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

Revision as of 20:04, 9 March 2009

{{{name}}}
General information
Physical specifications
Usage
  [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.

{{structure infobox
|image=
|name=
|constructed=
|destroyed=
|location=
|builder=
|population=
|height=
|width=
|era=
|affiliation=
}}

Display parameters

  • hidei
  • hidep
  • hideu

Source

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