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 |
||
(14 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
== Parameters == | |||
{| class="wikitable" | |||
! Name | |||
! Usage | |||
|- | |||
| <code><nowiki>{{{1}}}</nowiki></code> | |||
| Set the defaults for <code><nowiki>{{{item}}}</nowiki></code>, <code><nowiki>{{{link}}}</nowiki></code>, and <code><nowiki>{{{text}}}</nowiki></code> | |||
|- | |||
| <code><nowiki>{{{item}}}</nowiki></code> or <code><nowiki>{{{2}}}</nowiki></code> | |||
| Set the item to be displayed | |||
{{#if:{{{all|}}}| | |- | ||
| <code><nowiki>{{{size}}}</nowiki></code> | |||
| Set the item image size | |||
|- | |||
| <code><nowiki>{{{right}}}</nowiki></code> | |||
| Set the position of the item image | |||
|- | |||
| <code><nowiki>{{{link}}}</nowiki></code> | |||
| Set the page to link | |||
|- | |||
| <code><nowiki>{{{text}}}</nowiki></code> | |||
| Set the text to be displayed | |||
|- | |||
| <code><nowiki>{{{color}}}</nowiki></code> | |||
| Set the text color | |||
|- | |||
| <code><nowiki>{{{wikitext}}}</nowiki></code> | |||
| Override <code><nowiki>{{{text}}}</nowiki></code> | |||
|- | |||
| <code><nowiki>{{{sep}}}</nowiki></code> | |||
| Set the separator between the item image and text | |||
|- | |||
{{#if:{{{ttyd|}}}| | |||
{{!}} <code><nowiki>{{{game}}}</nowiki></code> | |||
{{!}} Omit for the GameCube version. Set to <code>NS</code> for the Switch version. | |||
}} | |||
|- | |||
{{#if:{{{all|}}}| | |||
{{!}} <code><nowiki>{{{game}}}</nowiki></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> |
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 |