Difference between revisions of "Template:Infobox corporation"

From EVE University Wiki
Jump to: navigation, search
m (Rewrite to use meta template {{Infobox}} as by project "Cleanup Infobox Templates")
 
(31 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude>[[Category:Template]]</noinclude>
+
{{Infobox
 +
| name    = <!-- left empty, to NOT have edit links at the bottom of the box.-->
  
{| class="wikitable"
+
| title    =  
! colspan="2" style="background:lightblue;width:200px;font-size:10pt" | {{{title}}}
+
| above    = {{#if: {{{corpname|}}}
|-
+
              | {{{corpname}}}
| colspan="2" style="text-align:center;font-size:7pt" | [[Image:{{{image file}}}|noframe|200px]]
+
              | {{Co|gray|Corporation name ?}}
|-
+
              }}
| colspan="2" style="background:lightblue;text-align:center;font-size:9pt" | Corporation
 
|-
 
| style="font-size:9pt" | Type: || style="font-size:9pt" | {{{type}}}
 
|-
 
| colspan="2" style="background:lightblue;text-align:center;font-size:9pt" | Alliance
 
|-
 
| style="font-size:9pt" | Name: || style="font-size:9pt" | {{{alliance}}}
 
|}
 
  
<noinclude>
+
|  image  = {{#if: {{{corplogo|}}}
 +
              | [[File:{{{corplogo}}}{{!}}250px{{!}}{{{caption|}}}]]
 +
              }}
 +
| caption  =
  
== How to implement ==
+
| label1  = Ticker
<nowiki>
+
|   data1  = {{{ticker|}}}
{{Infobox corporation
 
|title                    =Corporation Name
 
|image file              =Corporation Logo
 
|type                    =NPC/Player Corporation
 
|alliance                =Alliance Name
 
}}
 
</nowiki>
 
  
== Example ==
+
|  label2  = Alliance
An example can be found [[here|User:Azalea dreambreaker]].
+
|  data2  = {{{alliance|}}}
  
 +
|  label3  = CEO
 +
|  data3  = {{{ceo|}}}
 +
 +
|  label4  = Director(s)
 +
|  data4  = {{{director|}}}
 +
 +
|  label5  = Founded on
 +
|  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>
 
</noinclude>

Latest revision as of 10:04, 30 May 2022

Corporation name ?
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
Alliance Ivy League
CEO Jilokari Kurvora
Director(s) Kai-Alon Deninard
Dairek Alamari
...
Founded on 15 March 2004
Headquarters Stacmon
Public Channel EVE University
Website UniWiki
History
Former CEOs Morning Maniac
Laura Karpinski
{{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?)