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")
 
(21 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude>{{Template:Work in Progress}}
+
{{Infobox
[[Category:Template]]</noinclude>
+
| name    = <!-- left empty, to NOT have edit links at the bottom of the box.-->
{| style="float:right;border:1px solid;margin:10px;"
 
! colspan="2" style="background:lightblue;width:200px;font-size:10pt" | {{{title}}}
 
|-
 
| colspan="2" style="text-align:center;font-size:7pt" | [[Image:{{{image file}}}|noframe|200px]]
 
|-
 
| colspan="2" style="background:lightblue;text-align:center;font-size:9pt" | Corporation
 
|-
 
| style="font-size:9pt" | Type: || style="font-size:9pt" | {{{type}}}
 
|-
 
| style="font-size:9pt" | CEO: || style="font-size:9pt" | {{{ceo}}}
 
|-
 
| style="font-size:9pt" | Members: || style="font-size:9pt" | {{{members}}}
 
|-
 
| style="font-size:9pt" | Main Office: || style="font-size:9pt" | {{{office}}}
 
|-
 
| colspan="2" style="background:lightblue;text-align:center;font-size:9pt" | Alliance
 
|-
 
| style="font-size:9pt" | Name: || style="font-size:9pt" | {{{alliance}}}
 
|-
 
| style="font-size:9pt" | Members: || style="font-size:9pt" | {{{corps}}}
 
|}
 
<noinclude>
 
  
== How to implement ==
+
| title   =  
<code>
+
| above    = {{#if: {{{corpname|}}}
{{Infobox corporation<br />
+
              | {{{corpname}}}
|title                   ="Corporation Name"<br />
+
              | {{Co|gray|Corporation name ?}}
|image file              ="Corporation Logo"<br />
+
              }}
|type                    ="NPC/Player Corporation"<br />
 
|ceo                      ="CEO Name"<br />
 
|members                  ="Number of members"<br />
 
|office                  ="Main office location"<br />
 
|alliance                ="Alliance Name"<br />
 
|corps                    ="Alliance's other corporations (names)"<br />
 
}}
 
</code>
 
  
 +
|  image  = {{#if: {{{corplogo|}}}
 +
              | [[File:{{{corplogo}}}{{!}}250px{{!}}{{{caption|}}}]]
 +
              }}
 +
| caption  =
  
== Example ==
+
|  label1  = Ticker
An example can be found [[User:Azalea dreambreaker|here]].
+
|  data1  = {{{ticker|}}}
  
 +
|  label2  = Alliance
 +
|  data2  = {{{alliance|}}}
  
== Development ==
+
|  label3  = CEO
=== Structure ===
+
|  data3  = {{{ceo|}}}
Maybe the label "Corporation" should be removed?
 
=== Additional Infos ===
 
What could be taken into the infobox:
 
* corporation tag
 
* number of members (done)
 
* main activities
 
* office location (done)
 
  
 +
|  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?)