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

User:Evon R'al/Sandbox template: Difference between revisions

From EVE University Wiki
m Working on template {Infobox corporation}}
m Coding and testing.
Line 1: Line 1:
{| cellspacing="0" cellpadding="0" style="clear:left;width:300px;color:white;font-size:11px;float:right;margin-left:1em; margin-bottom:1em;"
<!-- #css: at the end -->
|+ '''{{{corpname}}}'''
{| cellspacing="0" cellpadding="0" class="InfoboxCorp"
|+ {{{corpname|corpname is missing}}}
|-
|-
| colspan="2" style="background:#202020; text-align:left; border-bottom:1px #000000 solid" | [[Image:{{{corplogo}}}|center|280px|{{{caption}}}]]
| colspan="2" style="border-right: 0; padding: initial; background: #202020;" | {{#if: {{{corplogo|}}}|[[Image:{{{corplogo}}}|center|280px|{{{caption|}}}]]|test}}
|-
|-
| style="background:#000000;border-bottom:1px #000000 solid; padding: 0.5em;border-right:1px #000000 solid; font-weight:bold;" | Ticker
| Ticker
| style="background:#101010;border-bottom:1px #000000 solid; padding: 0.5em;" | '''{{{ticker}}}'''
| style="font-weight: bold;" | {{{ticker|}}}
{{#if: {{{alliance}}} |
<!-- {{#if: {{{alliance}}} | -->
|-
|-
| style="background:#000000;border-bottom:1px #000000 solid; padding: 0.5em;border-right:1px #000000 solid; font-weight:bold;" | Alliance
| Alliance
| style="background:#101010;border-bottom:1px #000000 solid; padding: 0.5em;" | {{{alliance}}}
| {{{alliance}}}
|}}
<!-- }} -->
|-
|-
| style="background:#000000;border-bottom:1px #000000 solid; padding: 0.5em;border-right:1px #000000 solid; font-weight:bold;" | CEO
| CEO
| style="background:#101010;border-bottom:1px #000000 solid; padding: 0.5em;" | {{{ceo}}}
| {{{ceo|}}}
|-
|-
| style="background:#000000;border-bottom:1px #000000 solid; padding: 0.5em;border-right:1px #000000 solid; font-weight:bold;" | Director(s)
| Director(s)
| style="background:#101010;border-bottom:1px #000000 solid; padding: 0.5em;" | {{{director}}}
| {{{director|}}}
|-
|-
| style="background:#000000;border-bottom:1px #000000 solid; padding: 0.5em;border-right:1px #000000 solid; font-weight:bold;" | Founded on
| Founded on
| style="background:#101010;border-bottom:1px #000000 solid; padding: 0.5em;" | {{{founded}}}
| {{{founded|}}}
|-
|-
| style="background:#000000;border-bottom:1px #000000 solid; padding: 0.5em;border-right:1px #000000 solid; font-weight:bold;" | Status
| Status
| style="background:#101010;border-bottom:1px #000000 solid; padding: 0.5em;" | {{{status}}}
| {{{status|}}}
|-
|-
| style="background:#000000;border-bottom:1px #000000 solid; padding: 0.5em;border-right:1px #000000 solid; font-weight:bold;" | Headquarters
| Headquarters
| style="background:#101010;border-bottom:1px #000000 solid; padding: 0.5em;" | {{{headquarters}}}
| {{{headquarters|}}}
{{#if: {{{publicchannel}}} |
<!-- {{#if: {{{publicchannel}}} | -->
|-
|-
| style="background:#000000;border-bottom:1px #000000 solid; padding: 0.5em;border-right:1px #000000 solid; font-weight:bold;" | Public Channel
| Public Channel
| style="background:#101010;border-bottom:1px #000000 solid; padding: 0.5em;" | {{{publicchannel}}}  
| {{{publicchannel}}}  
|}}
<!-- }} -->
{{#if: {{{website}}} |
<!-- {{#if: {{{website}}} | -->
|-
|-
| style="vertical-align: top; background:#000000;border-bottom:1px #000000 solid; padding: 0.5em;border-right:1px #000000 solid; font-weight:bold;" | Website
| Website
| style="background:#101010;border-bottom:1px #000000 solid; padding: 0.5em;" | [{{{website}}} {{{webnicename}}}]
| [{{{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-bottom:1px #000000 solid; padding: 0.5em;border-right:1px #000000 solid; horizontal-align: center; font-weight:bold;" align=center| History
| colspan=2 style="background: #202020; border-right: 0; text-align: center;"| History
|-
|-
| style="background:#000000;border-bottom:1px #000000 solid; padding: 0.5em;border-right:1px #000000 solid; font-weight:bold;" | Alliances
| Alliances
| style="background:#101010;border-bottom:1px #000000 solid; padding: 0.5em;" | {{{prevalliances}}}
| {{{prevalliances}}}
|-
|-
| style="background:#000000;border-bottom:1px #000000 solid; padding: 0.5em;border-right:1px #000000 solid; font-weight:bold;" | Former CEOs
| Former CEOs
| style="background:#101010;border-bottom:1px #000000 solid; padding: 0.5em;" | {{{prevceos}}}
| {{{prevceos}}}
|}}
<!-- }} -->
|-
|}
|}<noinclude>
{{#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

corpname is missing
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)
corpname is missing
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}}}
Visit User:Evon R'al/Sandbox template/doc to edit this text! (How does this work?) (Refresh this text - why?)