Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox corporation: Difference between revisions

Template page
m Add "No-image" as default image.
m Rewrite to use meta template {{Infobox}} as by project "Cleanup Infobox Templates"
 
Line 1: Line 1:
<!-- #css: at the end -->
{{Infobox
<table cellspacing="0" cellpadding="0" class="InfoboxCorp">
| name    = <!-- left empty, to NOT have edit links at the bottom of the box.-->
<caption> {{{corpname|corpname is missing}}} </caption>
<tr>
  <td colspan="2" class="logo"> {{#if: {{{corplogo|}}}|[[Image:{{{corplogo}}}{{!}}center{{!}}280px{{!}}{{{caption}}}]]|[[Image:No-image.png{{!}}center{{!}}280px]]}} </td>
</tr>
<tr>
  <td> Ticker </td><td style="font-weight: bold;"> {{{ticker|}}} </td>
</tr>
{{#if: {{{alliance|}}} |
<tr>
  <td> Alliance </td><td> {{{alliance}}} </td>
</tr>
}}
<tr>
  <td> CEO </td><td> {{{ceo|}}} </td>
</tr>
<tr>
  <td> Director(s) </td><td> {{{director|}}} </td>
</tr>
<tr>
  <td> Founded on </td><td> {{{founded|}}} </td>
</tr>
<tr>
  <td> Status </td><td> {{{status|}}} </td>
</tr>
<tr>
  <td> Headquarters </td><td> {{{headquarters|}}} </td>
</tr>
{{#if: {{{publicchannel|}}} |
<tr>
  <td> Public Channel </td><td> {{{publicchannel}}} </td>
</tr>
}}
{{#if: {{{website|}}} |
<tr>
  <td> Website </td><td> [{{{website}}} {{{webnicename}}}] </td>
</tr>
}}
{{#if: {{{prevalliances|}}}{{{prevceos|}}} |
<tr>
  <td colspan=2 class="hdr"> History </td>
<tr>
  <td> Alliances </td><td> {{#if: {{{prevalliances|}}}|{{{prevalliances|}}}|-}} </td>
</tr>
<tr>
  <td> Former CEOs </td><td> {{#if: {{{prevceos|}}}|{{{prevceos|}}}|-}} </td>
</tr>
}}
</table>
{{#css:
table.InfoboxCorp  {
  float: right;
  clear: left;
  margin-bottom: 1em;
  margin-left: 1em;
  width: 300px;
  color: white;
  font-size: 11px;
  }


.InfoboxCorp caption {
| title    =
  font-weight: bold;
| above    = {{#if: {{{corpname|}}}
}
              | {{{corpname}}}
              | {{Co|gray|Corporation name ?}}
              }}


  .InfoboxCorp td {
|  image = {{#if: {{{corplogo|}}}
  border-bottom: 1px solid black;
              | [[File:{{{corplogo}}}{{!}}250px{{!}}{{{caption|}}}]]
  padding: 0.5em;
              }}
  }
| caption  =


  .InfoboxCorp td:first-child {
| label1  = Ticker
  width: 8em;
|   data1  = {{{ticker|}}}
  background: black;
  vertical-align: top;
  font-weight: bold;
   }


  .InfoboxCorp td.logo,
| label2  = Alliance
  .InfoboxCorp td.hdr {
|  data2 = {{{alliance|}}}
  background: #202020;
  }


  .InfoboxCorp td.logo {
| label3  = CEO
  padding: initial;
|   data3  = {{{ceo|}}}
   }


  .InfoboxCorp td.hdr {
| label4  = Director(s)
  text-align: center;
|   data4  = {{{director|}}}
   }


}}
|  label5  = Founded on
<noinclude>{{documentation}}</noinclude>
|  data5  = {{{founded|}}}
 
|  label6  = Headquarters
|  data6  = {{{headquarters|}}}
 
|  label7  = Public Channel
|  data7  = {{{publicchannel|}}}
 
 
|  label8  = Website
|  data8  = {{#if: {{{website|}}}
              | [{{{website}}} {{{webnicename}}}]
            }}
 
 
| header9  = {{#If: {{{prevalliances|}}}{{{prevceos|}}}
              | History
            }}
 
| label10  = Alliances
|  data10  = {{{prevalliances|}}}
 
| label11  = Former CEOs
|  data11  = {{{prevceos|}}}
 
}}<noinclude>
{{documentation}}
</noinclude>