Template:PM item/parameters: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
mNo edit summary
Line 5: Line 5:
|-
|-
| <code><nowiki>{{{1}}}</nowiki></code>
| <code><nowiki>{{{1}}}</nowiki></code>
| Set the defaults for <code><nowiki>{{{item}}}</nowiki></code> and <code><nowiki>{{{link}}}</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>
| <code><nowiki>{{{item}}}</nowiki></code> or <code><nowiki>{{{2}}}</nowiki></code>
Line 24: Line 24:
| <code><nowiki>{{{color}}}</nowiki></code>
| <code><nowiki>{{{color}}}</nowiki></code>
| Set the text color
| Set the text color
|-
| <code><nowiki>{{{wikitext}}}</nowiki></code>
| Override <code><nowiki>{{{text}}}</nowiki></code>
|-
|-
| <code><nowiki>{{{sep}}}</nowiki></code>
| <code><nowiki>{{{sep}}}</nowiki></code>

Revision as of 12:23, September 23, 2020

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