Difference between revisions of "Template:Infobox Company"

From Nookipedia, the Animal Crossing wiki
(Switching to CSS colour class)
 
(9 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| class="infobox" style="font-size:90%;width:22em;" align="right"
+
{{Infobox 2.0
|-
+
| colorclass    = color-realworld
! colspan="2" style="font-size:150%;text-align:center;"| {{{title}}}
+
| title          = {{{name|Company}}}
|-
+
| primarycolor  = 60 20
{{#if:{{{logo<includeonly>|</includeonly>}}} |
+
 
{{!}} colspan="4" style="text-align:center;padding-bottom:.5em;" {{!}}{{{logo}}}
+
| image          = {{{logo|[[File:Nia.png|200px]]}}}
{{!}}-
+
| caption        = {{{logocaption|}}}
}}
+
| image2        = {{{image|}}}
{{#if:{{{type<includeonly>|</includeonly>}}} |
+
| caption2      = {{{caption|}}}
{{!}} '''Type'''
+
 
{{!}}{{{type}}}
+
| label          = Type
{{!}}-
+
| data          = {{{type|Unknown}}}
}}
+
| label2          = Founded
{{#if:{{{founded<includeonly>|</includeonly>}}} |
+
| data2          = {{{founded|}}}
{{!}} '''Founded'''
+
| label3        = Terminated
{{!}}{{{founded}}}
+
| data3          = {{{terminated|}}}
{{!}}-
+
| label4        = Headquarters
}}
+
| data4          = {{{headquarters|}}}
{{#if:{{{terminated<includeonly>|</includeonly>}}} |
+
| label5        = Key people
{{!}} '''Terminated'''
+
| data5          = {{{key_people|}}}
{{!}}{{{terminated}}}
+
| label6        = Industry
{{!}}-
+
| data6          = {{{industry|}}}
}}
+
| label7        = Products
{{#if:{{{headquarters<includeonly>|</includeonly>}}} |
+
| data7          = {{{products|}}}
{{!}} '''Headquarters'''
+
| label8        = Revenue
{{!}}{{{headquarters}}}
+
| data8          = {{{revenue|}}}
{{!}}-
+
| label9        = Net income
}}
+
| data9          = {{{net_income|}}}
{{#if:{{{key_people<includeonly>|</includeonly>}}} |
+
| label10        = Employees
{{!}} '''Key people'''
+
| data10          = {{{num_employees|}}}
{{!}}{{{key_people}}}
+
| label11        = Parent
{{!}}-
+
| data11          = {{{parent|}}}
}}
+
| label12        = Website
{{#if:{{{industry<includeonly>|</includeonly>}}} |
+
| data12          = {{{website|None}}}
{{!}} '''Industry'''
+
}}<noinclude>
{{!}}{{{industry}}}
+
<pre>
{{!}}-
+
{{Infobox Company
}}
+
|title=  
{{#if:{{{products<includeonly>|</includeonly>}}} |
+
|logo=  
{{!}} '''Products'''
+
|type=  
{{!}}{{{products}}}
+
|founded=
{{!}}-
+
|terminated=  
}}
+
|headquarters=  
{{#if:{{{revenue<includeonly>|</includeonly>}}} |
+
|key_people=  
{{!}} '''Revenue'''
+
|industry=  
{{!}}{{{revenue}}}
+
|products=  
{{!}}-
+
|revenue=  
}}
+
|net_income=  
{{#if:{{{net_income<includeonly>|</includeonly>}}} |
+
|num_employees=  
{{!}} '''Net income'''
+
|parent=  
{{!}}{{{net_income}}}
+
|website=  
{{!}}-
+
}}</pre>
}}
+
[[Category:Infobox templates]]</noinclude>
{{#if:{{{num_employees<includeonly>|</includeonly>}}} |
 
{{!}} '''Employees'''
 
{{!}}{{{num_employees}}}
 
{{!}}-
 
}}
 
{{#if:{{{parent<includeonly>|</includeonly>}}} |
 
{{!}} '''Parent'''
 
{{!}}{{{parent}}}
 
{{!}}-
 
}}
 
{{#if:{{{website<includeonly>|</includeonly>}}} |
 
{{!}} '''Website'''
 
{{!}}{{{website}}}
 
{{!}}-
 
}}
 
|}<noinclude>
 
==Usage==
 
<pre>{{Infobox Company
 
|title         =  
 
|logo         =  
 
|type         =  
 
|founded       =
 
|terminated   =  
 
|headquarters =  
 
|key_people   =  
 
|industry     =  
 
|products     =  
 
|revenue       =  
 
|net_income   =  
 
|num_employees =  
 
|parent       =  
 
|website       =  
 
}}</pre>[[Category:Infobox Templates|Company]][[Category:Templates]]</noinclude>
 

Latest revision as of 17: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= 
}}