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

Template:Infobox corporation: Difference between revisions

Template page
No edit summary
m Rewrite to use meta template {{Infobox}} as by project "Cleanup Infobox Templates"
 
(17 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;max-width:240px;"
! 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" | Homepage: || style="font-size:9pt" | {{{url}}}
|-
| 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 />
              }}
|url                      ="Homepage URL"<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|}}}
Pages that will use this template: CONCORD, Khanid Innovation, Wiyrkomi Peace Corps


|  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:
* homepage url (done)
* 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>