Site Notice
  • We have a limited coverage policy. Please check our coverage page to see which articles are allowed.
  • Please no leaked content less than one year old, or videos of leaks.
  • Content copied verbatim from other websites or wikis will be removed.

Difference between revisions of "Template:Company infobox"

From NintendoWiki, your source on Nintendo information. By fans, for fans.
Jump to navigation Jump to search
m
m
 
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| style="background: #{{nintendo 1st color}}; margin-left: 10px; margin-bottom: 10px; {{roundy|10px}} border: 5px solid #{{nintendo 3rd color}}; width: 25%; float:right;"
+
{| style="width:300px; {{roundy|15px}} background:{{Site-Color|Nintendo}}; border: 2px solid {{Site-Color|Nintendo|3}}; margin-left: 10px; margin-bottom: 10px; margin-top: 10px; float:right;"
 +
|-
 +
! style="margin:0 auto; text-align:center;" | <big>{{{name|{{PAGENAME}}}}}</big>
 +
|-
 +
|
 +
{| style="width:95%; margin:0 auto; text-align:center;"
 
|-
 
|-
! colspan="2" class="header" | {{{name|PAGENAME}}}
+
| style="{{roundy|10px}} background:#FFFFFF; margin:0 auto; padding:5px 0 5px 0;; font-size:90%;" | {{{logo}}}<br /><small>{{{caption|}}}</small>
|-
 
| colspan="2" style="background: #FFF; {{roundy|10px}}" |
 
{| colspan="2" width="100%" style="background: #FFF; {{roundy|10px}} {{roundy|20px}}"
 
| colspan="2" class="c" style="background: #fff;" | <center><div>{{{logo}}}</div><div><small>{{{caption}}}</small></div></center>
 
 
|}
 
|}
 
|-
 
|-
 
|
 
|
|-  
+
{| style="{{roundy|10px}} width:100%; background:transparent; border-collapse:collapse; margin:0 auto; font-size:90%;"
! align="right" style="background: #{{nintendo 2nd color}};{{roundytl|10px}}" | Founded
+
|- style="border-bottom: 1px solid {{Site-Color|Nintendo}};"
| style="background: #fff; {{roundytr|10px}}" | {{{founded}}}
+
! style="{{roundytl|10px}} width:100px; background:{{Site-Color|Nintendo|2}}; color:#000000; text-align:right; padding-right:3px;" | Founded:
 +
| style="{{roundytr|10px}} background: #FFFFFF; text-align:left; padding-left:3px;" | {{{founded}}}
 +
|- style="border-bottom: 1px solid {{Site-Color|Nintendo}};"
 +
! style="background: {{Site-Color|Nintendo|2}}; text-align:right; padding-right:3px;" | Founder:
 +
| style="background: #FFFFFF; text-align:left; padding-left:3px;" | {{{founder|N/A}}}
 +
|- style="border-bottom: 1px solid {{Site-Color|Nintendo}};"
 +
! style="background: {{Site-Color|Nintendo|2}}; text-align:right; padding-right:3px;" | President:
 +
| style="background: #FFFFFF; text-align:left; padding-left:3px;" | {{{president|N/A}}}
 +
|- style="border-bottom: 1px solid {{Site-Color|Nintendo}};"
 +
{{#if: {{{predecessor|}}} |
 +
! style="background:{{Site-Color|Nintendo|2}}; text-align:right; padding-right:3px;" {{!}} Predecessor:
 +
{{!}} style="background: #FFFFFF; text-align:left; padding-left:3px;" {{!}} {{{predecessor|}}}
 +
{{!-}} style="border-bottom: 1px solid {{Site-Color|Nintendo}};"
 +
|}}
 +
{{#if: {{{successor|}}} |
 +
! style="background: {{Site-Color|Nintendo|2}}; text-align:right; padding-right:3px;" {{!}} Successor:
 +
{{!}} style="background: #FFFFFF; text-align:left; padding-left:3px;" {{!}} {{{successor|}}}
 +
{{!-}} style="border-bottom: 1px solid {{Site-Color|Nintendo}};"
 +
|}}
 +
{{#if: {{{defunct|}}} |
 +
! style="background: {{Site-Color|Nintendo|2}}; text-align:right; padding-right:3px;" {{!}} Defunct:
 +
{{!}} style="background: #FFFFFF; text-align:left; padding-left:3px;" {{!}} {{{defunct|}}}
 +
{{!-}} style="border-bottom: 1px solid {{Site-Color|Nintendo}};"
 +
|}}
 +
! style="background: {{Site-Color|Nintendo|2}}; text-align:right; padding-right:3px;" | Parent / owner:
 +
| style="background: #FFFFFF; text-align:left; padding-left:3px;" | {{{parent|N/A}}}
 
|-
 
|-
! align="right" style="background: #{{nintendo 2nd color}};" | Parent company
+
! style="{{roundybl|10px}} background: {{Site-Color|Nintendo|2}}; text-align:right; padding-right:3px;" | Divisions / subsidiaries:
| style="background: #fff" | {{{parent|N/A}}}
+
| style="{{roundybr|10px}} background: #FFFFFF; text-align:left; padding-left:3px;" | {{{subsidiary|N/A}}}
|-  
 
! align="right" style="background: #{{nintendo 2nd color}};" | Divisions / Subsidiaries
 
| style="background: #fff" | {{{subsidiary|N/A}}}
 
 
|-
 
|-
! align="right" style="background: #{{nintendo 2nd color}};{{roundybl|10px}}" | Website
+
|}
| style="background: #fff; {{roundybr|10px}}" | {{{externallink}}}
+
{{#if: {{{externallink|}}} |
 +
{{!-}}
 +
{{!}} style="font-size:90%; margin:0 auto;" {{!}}
 +
{{tablebegin}} style="{{roundy|10px}} width:100%; background:transparent; border-collapse:collapse; margin:0 auto;"
 +
{{!-}}
 +
! style="{{roundytop|10px}} background: {{Site-Color|Nintendo|2}};" {{!}} Website:
 +
{{!-}}
 +
{{!}} style="{{roundybottom|10px}} background: #FFFFFF; text-align:center;" {{!}} {{{externallink|}}}
 +
{{tableend}}
 +
|}}
 
|-
 
|-
 
|}
 
|}
 
<noinclude>
 
<noinclude>
 
 
==Parameters==
 
==Parameters==
*name = Name of the company. (<nowiki>{{PAGENAME}}</nowiki> can be used in the template.)
+
*'''name''' = Name of the company. If this parameter is not used, the template will default to the page title.
*logo = Image link of the logo.
+
*'''logo''' = Image link of the logo.
*caption = A message about or describing the image.
+
*'''caption''' = A message about or describing the image; this parameter is optional.
*founded = The year the commpany was founded.
+
*'''founded''' = The date that the company was founded on.
*parent = If applicable, the parent company of the company.
+
*'''founder''' = The name of the company's founder(s).
*subsidiary = If applicable, any companies that are directly owned or controlled by the company.
+
*'''predecessor''' = If applicable, the name of any predecessor of the company.
*externallink = A link to the service, if applicable.
+
*'''successor''' = If applicable, the name of any successor of the company.
 +
*'''defunct''' = If the company no longer exists, the year the company went defunct.
 +
*'''parent''' = If applicable, the parent company that owns the company.
 +
*'''subsidiary''' = If applicable, any internal divisions or outside companies that are directly owned or controlled by the company.
 +
*'''externallink''' = A link to the company's official website, if applicable.
 +
[[Category:Infobox templates]]</noinclude>

Latest revision as of 15:20, 7 August 2023

Company infobox
{{{logo}}}
Founded: {{{founded}}}
Founder: N/A
President: N/A
Parent / owner: N/A
Divisions / subsidiaries: N/A

Parameters

  • name = Name of the company. If this parameter is not used, the template will default to the page title.
  • logo = Image link of the logo.
  • caption = A message about or describing the image; this parameter is optional.
  • founded = The date that the company was founded on.
  • founder = The name of the company's founder(s).
  • predecessor = If applicable, the name of any predecessor of the company.
  • successor = If applicable, the name of any successor of the company.
  • defunct = If the company no longer exists, the year the company went defunct.
  • parent = If applicable, the parent company that owns the company.
  • subsidiary = If applicable, any internal divisions or outside companies that are directly owned or controlled by the company.
  • externallink = A link to the company's official website, if applicable.