Difference between revisions of "Template:Infobox Company"

From Nookipedia, the Animal Crossing wiki
(Adding infobox class to enable styling)
(Switching to CSS colour class)
 
(3 intermediate revisions by 3 users not shown)
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"
+
| colorclass    = color-realworld
| colspan="2" | <big><big>'''{{{title|{{PAGENAME}}}}}'''</big></big>
+
| title          = {{{name|Company}}}
|- align="center"
+
| primarycolor  = 60 20
| style="background: #ffffff; {{roundy|10px}}" colspan="2" | {{{logo|[[File:Nia.png|200px]]}}}
+
 
|-
+
| image          = {{{logo|[[File:Nia.png|200px]]}}}
! style="background: #744c91; {{roundytl|10px}}" align="right" | Type
+
| caption        = {{{logocaption|}}}
| style="background:#ffffff; {{roundytr|10px}}" align="left" | {{{type|Unknown}}}
+
| image2        = {{{image|}}}
|- {{#if:{{{founded|}}}|
+
| caption2      = {{{caption|}}}
{{!-}}
+
 
! style="background: #744c91" align="right" {{!}} Founded
+
| label          = Type
{{!}} style="background:#ffffff" align="left" {{!}} {{{founded|}}}}}
+
| data          = {{{type|Unknown}}}
|- {{#if:{{{terminated|}}}|
+
| label2          = Founded
{{!-}}
+
| data2          = {{{founded|}}}
! style="background: #744c91" align="right" {{!}} Terminated
+
| label3        = Terminated
{{!}} style="background:#ffffff" align="left" {{!}} {{{terminated|}}}}}
+
| data3          = {{{terminated|}}}
|- {{#if:{{{headquarters|}}}|
+
| label4        = Headquarters
{{!-}}
+
| data4          = {{{headquarters|}}}
! style="background: #744c91" align="right" {{!}} Headquarters
+
| label5        = Key people
{{!}} style="background:#ffffff" align="left" {{!}} {{{headquarters|}}}}}
+
| data5          = {{{key_people|}}}
|- {{#if:{{{key_people|}}}|
+
| label6        = Industry
{{!-}}
+
| data6          = {{{industry|}}}
! style="background: #744c91" align="right" {{!}} Key people
+
| label7        = Products
{{!}} style="background:#ffffff" align="left" {{!}} {{{key_people|}}}}}
+
| data7          = {{{products|}}}
|- {{#if:{{{industry|}}}|
+
| label8        = Revenue
{{!-}}
+
| data8          = {{{revenue|}}}
! style="background: #744c91" align="right" {{!}} Industry
+
| label9        = Net income
{{!}} style="background:#ffffff" align="left" {{!}} {{{industry|}}}}}
+
| data9          = {{{net_income|}}}
|- {{#if:{{{products|}}}|
+
| label10        = Employees
{{!-}}
+
| data10          = {{{num_employees|}}}
! style="background: #744c91" align="right" {{!}} Products
+
| label11        = Parent
{{!}} style="background:#ffffff" align="left" {{!}} {{{products|}}}}}
+
| data11          = {{{parent|}}}
|- {{#if:{{{revenue|}}}|
+
| label12        = Website
{{!-}}
+
| data12          = {{{website|None}}}
! style="background: #744c91" align="right" {{!}} Revenue
+
}}<noinclude>
{{!}} 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

Latest revision as of 18:31, May 17, 2024

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