Template:Company infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
{| class="infobox" style="width:250px;background:#fcfffc;border-color:#88c"
{| class="infobox" style="width:250px;background:#fcfffc;border-color:#88c"
! colspan="2" style="font-size:125%;background:#ccf;border:1px solid #88c" | {{{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}}}}}}}
| 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}}}}}}}

Revision as of 20:42, May 5, 2022

Company infobox

Usage instructions

Provides info about a company, including year of establishment, first and last Mario game created, and current president. Variable 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=
|width=
|bg=
|founded=
|defunct=
|first_release=
|latest_release=
|president=
}}