Difference between revisions of "Template:Infobox corporation"

From EVE University Wiki
Jump to: navigation, search
(Added conditional formatting to only show alliance, publicchannel, website, prevalliances, and prevceos only if they're populated.(some formatting issues are still about, admittedly))
(33 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>[[Category:Template]]</noinclude>
+
{| cellspacing="0" cellpadding="0" style="clear:left;width:300px;color:white;font-size:11px;float:right;margin-left:1em; margin-bottom:1em;"
 
+
|+  '''{{{corpname}}}'''
{| class="infobox"
 
! colspan="2" style="background:lightblue;width:200px;font-size:10pt" | {{{Title}}}
 
 
|-
 
|-
| colspan="2" style="text-align:center;font-size:7pt" | [[Image:corp_logo.JPG|noframe|200px]]<br />Image caption
+
| colspan="2" style="background:#202020; text-align:left; border-bottom:1px #000000 solid" | [[Image:{{{corplogo}}}|center|280px|{{{caption}}}]]
 
|-
 
|-
| colspan="2" style="background:lightblue;text-align:center;font-size:9pt" | Corporation
+
| style="background:#000000;border-bottom:1px #000000 solid; padding: 0.5em;border-right:1px #000000 solid; font-weight:bold;" | Ticker
 +
| style="background:#101010;border-bottom:1px #000000 solid; padding: 0.5em;" | '''{{{ticker}}}'''
 +
{{#if: {{{alliance}}} |
 
|-
 
|-
| style="font-size:9pt" | Name: || style="font-size:9pt" | {{{Name}}}
+
| style="background:#000000;border-bottom:1px #000000 solid; padding: 0.5em;border-right:1px #000000 solid; font-weight:bold;" | Alliance
 +
| style="background:#101010;border-bottom:1px #000000 solid; padding: 0.5em;" | {{{alliance}}}
 +
|}}
 
|-
 
|-
| style="font-size:9pt" | Tag: || style="font-size:9pt" | {{{Tag}}}
+
| style="background:#000000;border-bottom:1px #000000 solid; padding: 0.5em;border-right:1px #000000 solid; font-weight:bold;" | CEO
 +
| style="background:#101010;border-bottom:1px #000000 solid; padding: 0.5em;" | {{{ceo}}}
 
|-
 
|-
| style="font-size:9pt" | Type: || style="font-size:9pt" | {{{Type}}}
+
| style="background:#000000;border-bottom:1px #000000 solid; padding: 0.5em;border-right:1px #000000 solid; font-weight:bold;" | Director(s)
 +
| style="background:#101010;border-bottom:1px #000000 solid; padding: 0.5em;" | {{{director}}}
 
|-
 
|-
| colspan="2" style="background:lightblue;text-align:center;font-size:9pt" | Alliance
+
| style="background:#000000;border-bottom:1px #000000 solid; padding: 0.5em;border-right:1px #000000 solid; font-weight:bold;" | Founded on
 +
| style="background:#101010;border-bottom:1px #000000 solid; padding: 0.5em;" | {{{founded}}}
 
|-
 
|-
| style="font-size:9pt" | Name: || style="font-size:9pt" | {{{Alliance}}}
+
| style="background:#000000;border-bottom:1px #000000 solid; padding: 0.5em;border-right:1px #000000 solid; font-weight:bold;" | Status
 +
| style="background:#101010;border-bottom:1px #000000 solid; padding: 0.5em;" | {{{status}}}
 
|-
 
|-
| style="font-size:9pt" | Tag: || style="font-size:9pt" | {{{Alliance tag}}}
+
| style="background:#000000;border-bottom:1px #000000 solid; padding: 0.5em;border-right:1px #000000 solid; font-weight:bold;" | Headquarters
|}
+
| style="background:#101010;border-bottom:1px #000000 solid; padding: 0.5em;" | {{{headquarters}}}
 +
{{#if: {{{publicchannel}}} |
 +
|-
 +
| style="background:#000000;border-bottom:1px #000000 solid; padding: 0.5em;border-right:1px #000000 solid; font-weight:bold;" | Public Channel
 +
| style="background:#101010;border-bottom:1px #000000 solid; padding: 0.5em;" | {{{publicchannel}}}  
 +
|}}
 +
{{#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
 +
| style="background:#101010;border-bottom:1px #000000 solid; padding: 0.5em;" | [{{{website}}} {{{webnicename}}}]
 +
|}}
 +
{{#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
 +
|-
 +
| style="background:#000000;border-bottom:1px #000000 solid; padding: 0.5em;border-right:1px #000000 solid; font-weight:bold;" | Alliances
 +
| style="background:#101010;border-bottom:1px #000000 solid; padding: 0.5em;" | {{{prevalliances}}}
 +
|-
 +
| style="background:#000000;border-bottom:1px #000000 solid; padding: 0.5em;border-right:1px #000000 solid; font-weight:bold;" | Former CEOs
 +
| style="background:#101010;border-bottom:1px #000000 solid; padding: 0.5em;" | {{{prevceos}}}
 +
|}}
 +
|-
 +
|}<noinclude>
 +
{{documentation}}
 +
</noinclude>

Revision as of 07:28, 15 June 2020

{{{corpname}}}
[[Image:{{{corplogo}}}|center|280px|{{{caption}}}]]
Ticker {{{ticker}}}
CEO {{{ceo}}}
Director(s) {{{director}}}
Founded on {{{founded}}}
Status {{{status}}}
Headquarters {{{headquarters}}}


Template documentation (for the above template, sometimes hidden or invisible)
Description
This template creates an infobox for a faction
Dependencies
uses
{{Infobox}}
Usage
Copy and paste the code below into a corporation page and complete the info.
{{Infobox corporation
|corpname      = 
|corplogo      = 
|caption       = 
|ticker        = 
|alliance      = 
|ceo           = 
|director      = 
|founded       = 
|status        = 
|headquarters  = 
|publicchannel = 
|website       = 
|webnicename   = 
|prevalliances = 
|prevceos      = 
}}
Syntax parameters
corpname 
Name of the corporation
corplogo 
Name of the image of the corporations logo. (Including the extension, jpg, png, etc.)
caption 
Caption to go with the corporation logo.
ticker 
The corporations ticker.
alliance 
Name of the alliance the corporation is part of.
ceo 
Name of the current CEO.
director 
Name of the director(s). When entering more than one, separate them with <br>.
founded 
The date the corporation was founded.
status 
Staus of the corporation, Active or Closed.
headquarters 
System or station the corporations headquarters is based at.
publicchannel 
Name of the corporations in-game public chat channel.
webbsite 
URL of the corporations website.
webnicename 
The visible name of he website in the infobox. When omitted the website will be visible as a number between square brackets, (e.g. [1]|
prevalliances 
Name or names of alliances the corporation has previously been part of. When entering more than one, separate them with <br>.
prevceos 
Name(s) of previous CEO's. When entering more than one, separate them with <br>.
Unused parameters will not show.
Sample
EVE University
E-UNI.png
Ticker E-UNI
CEO Jilokari Kurvora
Director(s) Kai-Alon Deninard
Dairek Alamari
...
Founded on 15 March 2004
Status Active
Headquarters Stacmon


{{Infobox corporation
|corpname      = EVE University
|corplogo      = E-UNI.png
|caption       = 
|ticker        = E-UNI
|alliance      = Ivy League
|ceo           = Jilokari Kurvora
|director      = Kai-Alon Deninard<br>Dairek Alamari<br>...
|founded       = 15 March 2004
|status        = Active
|headquarters  = Stacmon
|publicchannel = EVE University
|website       = https://wiki.eveuniversity.org
|webnicename   = UniWiki
|prevalliances = 
|prevceos      = Morning Maniac<br>Laura Karpinski
}}
Visit Template:Infobox corporation/doc to edit this text! (How does this work?) (Refresh this text - why?)