Template:Company infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Accidentally removed space)
mNo edit summary
 
Line 2: Line 2:
! colspan="2" style="font-size:125%;background:#ccf" | {{{title|{{PAGETITLE}}}}}
! colspan="2" style="font-size:125%;background:#ccf" | {{{title|{{PAGETITLE}}}}}
|-  
|-  
| colspan="2" style="text-align:center;{{#if:{{{bg|}}}|background:{{{bg}}};padding:1em 0}}" class="noinvert" | {{#if:{{{logo|}}}|{{#ifexist:File:{{{logo}}}|[[File:{{{logo}}}|{{{width|250}}}px]]|{{{logo}}}}}}}{{#if:{{{caption|}}}|<br>{{{caption}}}}}
| colspan="2" style="text-align:center;{{#if:{{{bg|}}}|background:{{{bg}}} !important;padding:1em 0}}" class="noinvert" | {{#if:{{{logo|}}}|{{#ifexist:File:{{{logo}}}|[[File:{{{logo}}}|{{{width|250}}}px]]|{{{logo}}}}}}}{{#if:{{{caption|}}}|<br>{{{caption}}}}}
|-
|-
{{#if:{{{founded|}}}|
{{#if:{{{founded|}}}|

Latest revision as of 16:34, March 2, 2025

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