Template:PM item/parameters: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 33: Line 33:
{{#if:{{{ttyd|}}}|
{{#if:{{{ttyd|}}}|
{{!}} <code><nowiki>{{{game}}}</nowiki></code>
{{!}} <code><nowiki>{{{game}}}</nowiki></code>
{{!}} Omit the parameter for the GameCube version. Set to <code>NS</code> for the Switch version.
{{!}} Omit for the GameCube version. Set to <code>NS</code> for the Switch version.
}}
}}
|-
|-
{{#if:{{{all|}}}|
{{#if:{{{all|}}}|
{{!}} <code><nowiki>{{{game}}}</nowiki></code>
{{!}} <code><nowiki>{{{game}}}</nowiki></code>
{{!}} <code>PM</code> (default), <code>TTYD</code>, <code>SPM</code>, <code>CS</code>, or <code>TOK</code>
{{!}} <code>PM</code> (default), <code>TTYD</code>, <code>TTYDNS</code>, <code>SPM</code>, <code>CS</code>, or <code>TOK</code>
}}
}}
|}<noinclude>[[Category:Subtemplates]]</noinclude>
|}<noinclude>[[Category:Subtemplates]]</noinclude>

Latest revision as of 21:32, August 17, 2024

Parameters

Name Usage
{{{1}}} Set the defaults for {{{item}}}, {{{link}}}, and {{{text}}}
{{{item}}} or {{{2}}} Set the item to be displayed
{{{size}}} Set the item image size
{{{right}}} Set the position of the item image
{{{link}}} Set the page to link
{{{text}}} Set the text to be displayed
{{{color}}} Set the text color
{{{wikitext}}} Override {{{text}}}
{{{sep}}} Set the separator between the item image and text