Template:Company infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
(Adding parameters to make defunct companies say final game and president (some defunct company infoboxes still say "current" president))
Line 20: Line 20:
|-
|-
{{#if:{{{latest_release|}}}|
{{#if:{{{latest_release|}}}|
{{!}} '''Latest ''Super Mario'' {{{product|game}}}'''
{{!}} '''{{#if:{{{defunct|}}}|Final|Latest}}''Super Mario'' {{{product|game}}}'''
{{!}} {{{latest_release}}}
{{!}} {{{latest_release}}}
}}
}}
|-
|-
{{#if:{{{president|}}}|
{{#if:{{{president|}}}|
{{!}} '''Current president'''
{{!}} '''{{#if:{{{defunct|}}}|Final|Current}} president'''
{{!}} {{{president}}}
{{!}} {{{president}}}
}}
}}

Revision as of 15:32, December 5, 2024

Company infobox

Usage instructions

Provides info about a company, including year of establishment, first and last Super Mario game created, and current president. Parameter logo is equivalent to an image variable, which means there is also a width variable, default 220px. For logo, you only need the file name without the Image namespace attachment, i.e. logo=[[File:Nintendo.png]] becomes logo=Nintendo.png. For logos with transparent backgrounds and white text, bg with a specified color can be used.

All rows will disappear if respective variables are not defined.

{{company infobox
|title=
|logo=
|caption=
|width=
|bg=
|founded=
|defunct=
|first_release=
|latest_release=
|president=
}}