Difference between revisions of "Template:Infobox corporation"

From EVE University Wiki
Jump to: navigation, search
m
Line 1: Line 1:
<noinclude>{{Template:Work in Progress}}
+
{| cellspacing="0" cellpadding="0" style="clear:both;width:300px;color:white" align="right"
[[Category:Template]]</noinclude>
+
|+  '''{{{corpname}}}'''
{| style="float:right;border:1px solid;margin:10px;"
 
! colspan="3" style="background:black;color:white;text-align:center;font-size:11pt;font-weight:bold" | {{{title}}}
 
 
|-
 
|-
| colspan="3" style="text-align:center;font-size:7pt" | [[Image:{{{image file}}}|noframe|200px]]
+
| colspan="2" style="background:#202020; text-align:left; border-bottom:1px #000000 solid" | [[Image:{{{corplogo}}}|center|thumb|280px|{{{caption}}}]]
 
|-
 
|-
| colspan="3" style="background:black;color:white;text-align:center;font-size:9pt;font-weight:bold" | 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}}}'''
 
|-
 
|-
| colspan="1" style="background:black;font-size:9pt;font-weight:bold" | Type || colspan="2" style="font-size:9pt" | {{{type}}}
+
| 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}}}
 
|-
 
|-
| colspan="1" style="background:black;font-size:9pt;font-weight:bold" | Founded || style="font-size:9pt" | {{{founded}}}
+
| 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}}}
 
|-
 
|-
| colspan="1" style="background:black;font-size:9pt;font-weight:bold" | Headquarters || style="font-size:9pt" | {{{office}}}
+
| 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="1" style="background:black;font-size:9pt;font-weight:bold" | CEO || style="font-size:9pt" | {{{ceo}}}
+
| 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}}}
 
|-
 
|-
| colspan="1" style="background:black;font-size:9pt;font-weight:bold" | Members || style="font-size:9pt" | {{{members}}}
+
| 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}}}
 
|-
 
|-
| colspan="1" style="background:black;font-size:9pt;font-weight:bold" | Homepage || style="font-size:9pt" | {{{urlcorp}}}
+
| 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}}}
 
|-
 
|-
| colspan="3" style="background:black;color:white;text-align:center;font-size:9pt;font-weight:bold" | Alliance
+
| 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}}}
 
|-
 
|-
| colspan="1" style="background:black;font-size:9pt;font-weight:bold" | Name || style="font-size:9pt" | {{{alliance}}}
+
| 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}}}]
 
|-
 
|-
| colspan="1" style="background:black;font-size:9pt;font-weight:bold" | Members || style="font-size:9pt" | {{{corps}}}
+
| 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>
 
<noinclude>
  
== How to implement ==
+
==Usage==
<code>
+
Copy and paste the code below into a corporation page and complete the info.
{{Infobox corporation<br />
+
 
|title                    =Corporation Name<br />
+
<pre>
|image file              =Corporation Logo<br />
+
{{Infobox corporation
|urlcorp                  =Homepage URL<br />
+
|corplogo=
|type                    =NPC/Player Corporation<br />
+
|caption=
|founded                 =Year founded <br />
+
|corpname=
|ceo                      =CEO Name<br />
+
|ticker=
|members                  =Number of members<br />
+
|alliance=
|office                  =Main office location<br />
+
|ceo=
|alliance                =Alliance Name<br />
+
|director=
|corps                    =Alliance's other corporations (names)<br />
+
|founded=
 +
|status=
 +
|headquarters=
 +
|publicchannel=
 +
|website=
 +
|webnicename=
 +
|prevalliances=
 +
|prevceos=
 
}}
 
}}
</code>
+
</pre>
 
 
  
 
== Example ==
 
== Example ==
An example can be found [[User:Azalea dreambreaker|here]].
 
Pages that will use this template: CONCORD, Khanid Innovation, Wiyrkomi Peace Corps
 
  
 +
Note that you can add an additional entry to a new line if you separate the new entries with <nowiki><br></nowiki>.
  
== Development ==
 
=== Structure ===
 
The template needs a fixed or maximum width, it expands too much, see [[User:Azalea dreambreaker|example]].<br />
 
Maybe the label "Corporation" should be removed?
 
  
=== Additional Infos ===
+
<pre>
What could be taken into the infobox:
+
{{Infobox corporation
* homepage url (done)
+
|corplogo=NoPilotPicture.jpg
* corporation tag
+
|caption=Text to go under logo, can be empty
* number of members (done)
+
|corpname=Your Corp Name Here
* main activities
+
|ticker=YCNH
* office location (done)
+
|alliance=Your Alliance Name Here
 +
|ceo=Your CEO
 +
|director=Director1<br>director2<br>director3<br>etc....
 +
|founded=December 15th, 2008
 +
|status=Active or closed
 +
|headquarters=System or station your headquarters is based at
 +
|publicchannel=Our public ingame chatchannel
 +
|website=http://wwww.yourcorpnamehere.com
 +
|webnicename=Our fancy corp website
 +
|prevalliances=first alliance corp was in<br>second alliance corp was in<br>etc... alliance<br>
 +
|prevceos=Your Former CEO<br>Itookyourcorpwallet<br>
 +
}}
 +
</pre>
  
 
</noinclude>
 
</noinclude>

Revision as of 22:51, 10 August 2010

{{{corpname}}}
[[Image:{{{corplogo}}}|center|thumb|280px|{{{caption}}}]]
Ticker {{{ticker}}}
Alliance {{{alliance}}}
CEO {{{ceo}}}
Director(s) {{{director}}}
Founded on {{{founded}}}
Status {{{status}}}
Headquarters {{{headquarters}}}
Public Channel {{{publicchannel}}}
Website [{{{website}}} {{{webnicename}}}]
History
Alliances {{{prevalliances}}}
Former CEOs {{{prevceos}}}


Usage

Copy and paste the code below into a corporation page and complete the info.

{{Infobox corporation
|corplogo=
|caption=
|corpname=
|ticker=
|alliance=
|ceo=
|director=
|founded=
|status=
|headquarters=
|publicchannel=
|website=
|webnicename=
|prevalliances=
|prevceos=
}}

Example

Note that you can add an additional entry to a new line if you separate the new entries with <br>.


{{Infobox corporation
|corplogo=NoPilotPicture.jpg
|caption=Text to go under logo, can be empty
|corpname=Your Corp Name Here
|ticker=YCNH
|alliance=Your Alliance Name Here
|ceo=Your CEO
|director=Director1<br>director2<br>director3<br>etc....
|founded=December 15th, 2008
|status=Active or closed
|headquarters=System or station your headquarters is based at
|publicchannel=Our public ingame chatchannel
|website=http://wwww.yourcorpnamehere.com
|webnicename=Our fancy corp website
|prevalliances=first alliance corp was in<br>second alliance corp was in<br>etc... alliance<br>
|prevceos=Your Former CEO<br>Itookyourcorpwallet<br>
}}