Difference between revisions of "Template:Infobox Company"

From Nookipedia, the Animal Crossing wiki
(Adding infobox class to enable styling)
(updating infobox to new design)
Line 1: Line 1:
{| class="infobox" align="right" style="background: #885d91; margin-left: 10px; margin-bottom: 10px; {{roundy|10px}} border: 3px solid #383541; width: 25%"
+
{{Infobox 2.0
|- align="center"
+
| title          = {{{name|Company}}}
| colspan="2" | <big><big>'''{{{title|{{PAGENAME}}}}}'''</big></big>
+
| primarycolor  = 290 36
|- align="center"
+
 
| style="background: #ffffff; {{roundy|10px}}" colspan="2" | {{{logo|[[File:Nia.png|200px]]}}}
+
| image          = {{{logo|[[File:Nia.png|200px]]}}}
|-
+
| image2          = {{{image|}}}
! style="background: #744c91; {{roundytl|10px}}" align="right" | Type
+
 
| style="background:#ffffff; {{roundytr|10px}}" align="left" | {{{type|Unknown}}}
+
| label          = Type
|- {{#if:{{{founded|}}}|
+
| data          = {{{type|Unknown}}}
{{!-}}
+
| label2          = Founded
! style="background: #744c91" align="right" {{!}} Founded
+
| data2          = {{{founded|}}}
{{!}} style="background:#ffffff" align="left" {{!}} {{{founded|}}}}}
+
| label3        = Terminated
|- {{#if:{{{terminated|}}}|
+
| data3          = {{{terminated|}}}
{{!-}}
+
| label4        = Headquarters
! style="background: #744c91" align="right" {{!}} Terminated
+
| data4          = {{{headquarters|}}}
{{!}} style="background:#ffffff" align="left" {{!}} {{{terminated|}}}}}
+
| label5        = Key people
|- {{#if:{{{headquarters|}}}|
+
| data5          = {{{key_people|}}}
{{!-}}
+
| label6        = Industry
! style="background: #744c91" align="right" {{!}} Headquarters
+
| data6          = {{{industry|}}}
{{!}} style="background:#ffffff" align="left" {{!}} {{{headquarters|}}}}}
+
| label7        = Products
|- {{#if:{{{key_people|}}}|
+
| data7          = {{{products|}}}
{{!-}}
+
| label8        = Revenue
! style="background: #744c91" align="right" {{!}} Key people
+
| data8          = {{{revenue|}}}
{{!}} style="background:#ffffff" align="left" {{!}} {{{key_people|}}}}}
+
| label9        = Net income
|- {{#if:{{{industry|}}}|
+
| data9          = {{{net_income|}}}
{{!-}}
+
| label10        = Employees
! style="background: #744c91" align="right" {{!}} Industry
+
| data10          = {{{num_employees|}}}
{{!}} style="background:#ffffff" align="left" {{!}} {{{industry|}}}}}
+
| label11        = Parent
|- {{#if:{{{products|}}}|
+
| data11          = {{{parent|}}}
{{!-}}
+
| label12        = Website
! style="background: #744c91" align="right" {{!}} Products
+
| data12          = {{{website|None}}}
{{!}} style="background:#ffffff" align="left" {{!}} {{{products|}}}}}
+
}}<noinclude>
|- {{#if:{{{revenue|}}}|
 
{{!-}}
 
! style="background: #744c91" align="right" {{!}} Revenue
 
{{!}} style="background:#ffffff" align="left" {{!}} {{{revenue|}}}}}
 
|- {{#if:{{{net_income|}}}|
 
{{!-}}
 
! style="background: #744c91" align="right" {{!}} Net income
 
{{!}} style="background:#ffffff" align="left" {{!}} {{{net_income|}}}}}
 
|- {{#if:{{{num_employees|}}}|
 
{{!-}}
 
! style="background: #744c91" align="right" {{!}} Employees
 
{{!}} style="background:#ffffff" align="left" {{!}} {{{num_employees|}}}}}
 
|- {{#if:{{{parent|}}}|
 
{{!-}}
 
! style="background: #744c91" align="right" {{!}} Parent
 
{{!}} style="background:#ffffff" align="left" {{!}} {{{parent|}}}}}
 
|-
 
! style="background: #744c91; {{roundybl|10px}}" align="right" | Website
 
| style="background:#ffffff; {{roundybr|10px}}" align="left" | {{{website|None}}}
 
|}<noinclude>
 
 
<pre>
 
<pre>
 
{{Infobox Company
 
{{Infobox Company

Revision as of 00:47, July 22, 2020

Nia.png
Type Unknown
Website None
{{Infobox Company
|title= 
|logo= 
|type= 
|founded=
|terminated= 
|headquarters= 
|key_people= 
|industry= 
|products= 
|revenue= 
|net_income= 
|num_employees= 
|parent= 
|website= 
}}