Difference between revisions of "User:Evon R'al/Sandbox template"
From EVE University Wiki
m (Coding and testing.) |
m (Coding and testing.) |
||
Line 1: | Line 1: | ||
<!-- #css: at the end --> | <!-- #css: at the end --> | ||
<table cellspacing="0" cellpadding="0" class="InfoboxCorp"> | <table cellspacing="0" cellpadding="0" class="InfoboxCorp"> | ||
− | <caption> {{{corpname|corpname is missing}}} </caption> | + | <caption> {{{corpname|corpname is missing}}} </caption> |
− | <tr> | + | <tr> |
− | + | <td colspan="2" class="logo"> {{#if: {{{corplogo|}}}|[[Image:{{{corplogo}}}{{!}}center{{!}}280px{{!}}{{{caption}}}]]}} </td> | |
− | </tr> | + | </tr> |
− | <tr> | + | <tr> |
− | + | <td> Ticker </td><td style="font-weight: bold;"> {{{ticker|}}} </td> | |
− | </tr> | + | </tr> |
{{#if: {{{alliance|}}} | | {{#if: {{{alliance|}}} | | ||
− | <tr> | + | <tr> |
− | + | <td> Alliance </td><td> {{{alliance}}} </td> | |
− | </tr> | + | </tr> |
}} | }} | ||
− | <tr> | + | <tr> |
− | + | <td> CEO </td><td> {{{ceo|}}} </td> | |
− | </tr> | + | </tr> |
− | <tr> | + | <tr> |
− | + | <td> Director(s) </td><td> {{{director|}}} </td> | |
− | </tr> | + | </tr> |
− | <tr> | + | <tr> |
− | + | <td> Founded on </td><td> {{{founded|}}} </td> | |
− | </tr> | + | </tr> |
− | <tr> | + | <tr> |
− | + | <td> Status </td><td> {{{status|}}} </td> | |
− | </tr> | + | </tr> |
− | <tr> | + | <tr> |
− | + | <td> Headquarters </td><td> {{{headquarters|}}} </td> | |
− | </tr> | + | </tr> |
{{#if: {{{publicchannel|}}} | | {{#if: {{{publicchannel|}}} | | ||
− | <tr> | + | <tr> |
− | + | <td> Public Channel </td><td> {{{publicchannel}}} </td> | |
− | </tr> | + | </tr> |
}} | }} | ||
− | {{#if: {{{website|}}} | | + | {{#if: {{{website|}}} | |
− | <tr> | + | <tr> |
− | + | <td> Website </td><td> [{{{website}}} {{{webnicename}}}] </td> | |
− | </tr> | + | </tr> |
}} | }} | ||
− | {{#if: {{{prevalliances|}}}{{{prevceos|}}} | | + | {{#if: {{{prevalliances|}}}{{{prevceos|}}} | |
− | <tr> | + | <tr> |
− | + | <td colspan=2 class="hdr"> History </td> | |
− | <tr> | + | <tr> |
− | + | <td> Alliances </td><td> {{{prevalliances|-}}} </td> | |
− | </tr> | + | </tr> |
− | <tr> | + | <tr> |
− | + | <td> Former CEOs </td><td> {{{prevceos|-}}} </td> | |
− | </tr> | + | </tr> |
}} | }} | ||
</table> | </table> | ||
Line 65: | Line 65: | ||
.InfoboxCorp td { | .InfoboxCorp td { | ||
− | border-bottom: 1px solid black; | + | border-bottom: 1px solid black; |
padding: 0.5em; | padding: 0.5em; | ||
} | } | ||
+ | |||
.InfoboxCorp td:first-child { | .InfoboxCorp td:first-child { | ||
− | |||
width: 8em; | width: 8em; | ||
− | background: black; | + | background: black; |
vertical-align: top; | vertical-align: top; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
− | .InfoboxCorp td | + | .InfoboxCorp td.logo, |
− | + | .InfoboxCorp td.hdr { | |
+ | background: #202020; | ||
+ | } | ||
+ | |||
+ | .InfoboxCorp td.logo { | ||
+ | padding: initial; | ||
+ | } | ||
+ | |||
+ | .InfoboxCorp td.hdr { | ||
+ | text-align: center; | ||
} | } | ||
}} | }} | ||
<noinclude>{{documentation}}</noinclude> | <noinclude>{{documentation}}</noinclude> |
Revision as of 14:11, 27 April 2022
Ticker | |
CEO | |
Director(s) | |
Founded on | |
Status | |
Headquarters |
Template documentation (for the above template, sometimes hidden or invisible)
Visit User:Evon R'al/Sandbox template/doc to edit this text! (How does this work?) (Refresh this text - why?)