Template:Company infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Robot: Changing Category:Infobox Templates to Category:Infobox templates)
mNo edit summary
Line 10: Line 10:
{{!}}{{{defunct}}}}}{{#if:{{{firstgame|}}}|­
{{!}}{{{defunct}}}}}{{#if:{{{firstgame|}}}|­
{{!}}-
{{!}}-
{{!}}'''First ''Mario'' {{{product|Game}}}'''
{{!}}'''First ''Mario'' {{{product|game}}}'''
{{!}}{{{firstgame}}}}}{{#if:{{{lastgame|}}}|­
{{!}}{{{firstgame}}}}}{{#if:{{{lastgame|}}}|­
{{!}}-
{{!}}-
{{!}}'''Latest ''Mario'' {{{product|Game}}}'''
{{!}}'''Latest ''Mario'' {{{product|game}}}'''
{{!}}{{{lastgame}}}}}{{#if:{{{president|}}}|­
{{!}}{{{lastgame}}}}}{{#if:{{{president|}}}|­
{{!}}-
{{!}}-
{{!}}'''Current President'''
{{!}}'''Current president'''
{{!}}{{{president}}}}}
{{!}}{{{president}}}}}
|}<noinclude><br clear=all>
|}<noinclude><br clear=all>
==Usage Instructions==
==Usage instructions==
Provides info about a [[:Category:Companies|company]], including year of establishment, first and last Mario game created, and current president. Variable <tt>logo</tt> is equivalent to an <tt>image</tt> variable, which means there is also a width variable, default 220px. For <tt>logo</tt>, you only need the file name without the Image namespace attachment, i.e. <tt>logo=<nowiki>[[File:Nintendo.png]]</nowiki></tt> becomes <tt>logo=Nintendo.png</tt>.
Provides info about a [[:Category:Companies|company]], including year of establishment, first and last Mario game created, and current president. Variable <tt>logo</tt> is equivalent to an <tt>image</tt> variable, which means there is also a width variable, default 220px. For <tt>logo</tt>, you only need the file name without the Image namespace attachment, i.e. <tt>logo=<nowiki>[[File:Nintendo.png]]</nowiki></tt> becomes <tt>logo=Nintendo.png</tt>.



Revision as of 21:36, November 8, 2018

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.

All rows will disappear if respective variables are not defined.

{{company-infobox
|logo=
|width=
|founded=
|defunct=
|firstgame=
|lastgame=
|president=
}}