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
Zephyru5 (talk | contribs)
mNo edit summary
m Rewrite to use meta template {{Infobox}} as by project "Cleanup Infobox Templates"
 
(10 intermediate revisions by 5 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="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="3" style="background:black;color:white;text-align:center;font-size:9pt;font-weight:bold" | Corporation
|-
| colspan="1" style="background:black;font-size:9pt;font-weight:bold" | Type || colspan="2" style="font-size:9pt" | {{{type}}}
|-
| colspan="1" style="background:black;font-size:9pt;font-weight:bold" | Founded || style="font-size:9pt" | {{{founded}}}
|-
| colspan="1" style="background:black;font-size:9pt;font-weight:bold" | Headquarters || style="font-size:9pt" | {{{office}}}
|-
| colspan="1" style="background:black;font-size:9pt;font-weight:bold" | CEO || style="font-size:9pt" | {{{ceo}}}
|-
| colspan="1" style="background:black;font-size:9pt;font-weight:bold" | Members || style="font-size:9pt" | {{{members}}}
|-
| colspan="1" style="background:black;font-size:9pt;font-weight:bold" | Homepage || style="font-size:9pt" | {{{urlcorp}}}
|-
| colspan="3" style="background:black;color:white;text-align:center;font-size:9pt;font-weight:bold" | Alliance
|-
| colspan="1" style="background:black;font-size:9pt;font-weight:bold" | Name || style="font-size:9pt" | {{{alliance}}}
|-
| colspan="1" style="background:black;font-size:9pt;font-weight:bold" | 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 />
              }}
|urlcorp                  =Homepage URL<br />
|type                    =NPC/Player Corporation<br />
|founded                  =Year founded <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|}}}
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 ===
|  label4  = Director(s)
What could be taken into the infobox:
|  data4  = {{{director|}}}
* homepage url (done)
* corporation tag
* number of members (done)
* main activities
* office location (done)


|  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>