Difference between revisions of "User:Evon R'al/Sandbox template"
From EVE University Wiki
m (Working on template {Infobox corporation}}) |
m (Coding and testing.) |
||
Line 1: | Line 1: | ||
− | {| cellspacing="0" cellpadding="0" | + | <!-- #css: at the end --> |
− | |+ | + | {| cellspacing="0" cellpadding="0" class="InfoboxCorp" |
+ | |+ {{{corpname|corpname is missing}}} | ||
|- | |- | ||
− | | colspan="2" style=" | + | | colspan="2" style="border-right: 0; padding: initial; background: #202020;" | {{#if: {{{corplogo|}}}|[[Image:{{{corplogo}}}|center|280px|{{{caption|}}}]]|test}} |
|- | |- | ||
− | | style=" | + | | Ticker |
− | + | | style="font-weight: bold;" | {{{ticker|}}} | |
− | {{#if: {{{alliance}}} | | + | <!-- {{#if: {{{alliance}}} | --> |
|- | |- | ||
− | + | | Alliance | |
− | + | | {{{alliance}}} | |
− | + | <!-- }} --> | |
|- | |- | ||
− | + | | CEO | |
− | + | | {{{ceo|}}} | |
|- | |- | ||
− | + | | Director(s) | |
− | + | | {{{director|}}} | |
|- | |- | ||
− | + | | Founded on | |
− | + | | {{{founded|}}} | |
|- | |- | ||
− | + | | Status | |
− | + | | {{{status|}}} | |
|- | |- | ||
− | + | | Headquarters | |
− | + | | {{{headquarters|}}} | |
− | {{#if: {{{publicchannel}}} | | + | <!-- {{#if: {{{publicchannel}}} | --> |
|- | |- | ||
− | + | | Public Channel | |
− | + | | {{{publicchannel}}} | |
− | + | <!-- }} --> | |
− | {{#if: {{{website}}} | | + | <!-- {{#if: {{{website}}} | --> |
|- | |- | ||
− | + | | Website | |
− | + | | [{{{website}}} {{{webnicename|Lots of text. The quick brown jumps over the lazy dog's back.}}}] | |
− | + | <!-- }} --> | |
− | {{#if: {{{prevalliances}}}{{{prevceos}}}| | + | <!-- {{#if: {{{prevalliances}}}{{{prevceos}}}| --> |
|- | |- | ||
− | | colspan=2 style="background:#202020;border- | + | | colspan=2 style="background: #202020; border-right: 0; text-align: center;"| History |
|- | |- | ||
− | + | | Alliances | |
− | + | | {{{prevalliances}}} | |
|- | |- | ||
− | | | + | | Former CEOs |
− | + | | {{{prevceos}}} | |
− | + | <!-- }} --> | |
− | + | |} | |
− | + | {{#css: | |
+ | table.InfoboxCorp { | ||
+ | float: right; | ||
+ | clear: left; | ||
+ | margin-bottom: 1em; | ||
+ | margin-left: 1em; | ||
+ | width: 300px; | ||
+ | color: white; | ||
+ | font-size: 11px; | ||
+ | } | ||
+ | |||
+ | .InfoboxCorp caption { | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | |||
+ | .InfoboxCorp td { | ||
+ | border-bottom: 1px solid red; /* black */ | ||
+ | padding: 0.5em; | ||
+ | } | ||
+ | .InfoboxCorp td:first-child { | ||
+ | border-right: 1px solid red; /* black */ | ||
+ | width: 8em; | ||
+ | background: black; /* black */ | ||
+ | vertical-align: top; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | |||
+ | .InfoboxCorp td:nth-child(2) { | ||
+ | background: #101010; /* #101010 */ | ||
+ | } | ||
+ | |||
+ | }} | ||
+ | |||
+ | <noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 22:08, 26 April 2022
test | |
Ticker | |
Alliance | {{{alliance}}} |
CEO | |
Director(s) | |
Founded on | |
Status | |
Headquarters | |
Public Channel | {{{publicchannel}}} |
Website | [{{{website}}} Lots of text. The quick brown jumps over the lazy dog's back.] |
History | |
Alliances | {{{prevalliances}}} |
Former CEOs | {{{prevceos}}} |
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?)