Template:Company infobox: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary |
m (now the overflow problem is fixed) |
||
Line 1: | Line 1: | ||
{|cellpadding=3 cellspacing=2 width={{{width|250}}}px style="font-family:arial,sans-serif;padding:4px;margin:{{#switch:{{{align|}}}|left=0 1em 1em 0|center=1em 1em 1em 1em|0 0 1em 1em}};font-size:12px;background-color:#fcfffc;border:1px solid #88c;float:{{{align|right}}}" | {|cellpadding=3 cellspacing=2 width={{{width|250}}}px style="font-family:arial,sans-serif;padding:4px;margin:{{#switch:{{{align|}}}|left=0 1em 1em 0|center=1em 1em 1em 1em|0 0 1em 1em}};font-size:12px;background-color:#fcfffc;border:1px solid #88c;float:{{{align|right}}}" | ||
|align=center style="background-color:#ccf;border:1px solid #88c;font-size:medium" colspan=2|'''{{{name|{{PAGENAME}}}}}''' | |align=center style="background-color:#ccf;border:1px solid #88c;font-size:medium" colspan=2|'''{{{name|{{PAGENAME}}}}}''' | ||
|- | |- | ||
|colspan=2|{{#if:{{{logo|}}}|[[File:{{{logo|}}}|{{{width|250}}}px|center]]}} | |colspan=2|{{#if:{{{logo|}}}|[[File:{{{logo|}}}|{{{width|250}}}px|center]]}} | ||
{{#if:{{{founded|}}}|{{!}}- | |||
{{#if:{{{founded|}}}| | |||
{{!}}- | |||
{{!}}'''Founded''' | {{!}}'''Founded''' | ||
{{!}}{{{founded}}} }} | {{!}}{{{founded}}}}}{{#if:{{{firstgame|}}}| | ||
{{#if:{{{firstgame|}}} | | |||
{{!}}- | {{!}}- | ||
{{!}}'''First ''Mario'' Game''' | {{!}}'''First ''Mario'' Game''' | ||
{{!}}{{{firstgame}}} }} | {{!}}{{{firstgame}}}}}{{#if:{{{lastgame|}}}| | ||
{{#if:{{{lastgame|}}}| | |||
{{!}}- | {{!}}- | ||
{{!}}'''Latest ''Mario'' Game''' | {{!}}'''Latest ''Mario'' Game''' | ||
{{!}}{{{lastgame}}} }} | {{!}}{{{lastgame}}}}}{{#if:{{{president|}}}| | ||
{{#if:{{{president|}}}| | |||
{{!}}- | {{!}}- | ||
{{!}}'''Current President''' | {{!}}'''Current President''' | ||
{{!}}{{{president}}} }} | {{!}}{{{president}}}}} | ||
|}<noinclude><br clear= | |}<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 09:24, March 28, 2011
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= |firstgame= |lastgame= |president= }}