Template:PM item: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
No edit summary
Line 73: Line 73:
{{/parameters|all=1}}
{{/parameters|all=1}}


== Examples ==
==Examples==
{| class="wikitable"
{| class="wikitable"
! Code
! Code
! Result
! Result
|-
|-
| <code><nowiki>{{PM item|Spaghetti}}</nowiki></code> || {{PM item|Spaghetti}}
| <code><nowiki>{{PM item|Spaghetti|link=Spaghetti Plate}}</nowiki></code> || {{PM item|Spaghetti|link=Spaghetti Plate}}
|-
|-
| <code><nowiki>{{PM item|Hot Shroom}}</nowiki></code> || {{PM item|Hot Shroom}}
| <code><nowiki>{{PM item|Hot Shroom}}</nowiki></code> || {{PM item|Hot Shroom}}

Revision as of 00:35, November 16, 2020

This template creates a page link related to Paper Mario with an associated item image on the left side.

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
{{{game}}} PM (default), TTYD, TTYDNS, SPM, CS, or TOK

Examples

Code Result
{{PM item|Spaghetti|link=Spaghetti Plate}} Template:Nowrap
{{PM item|Hot Shroom}} Template:Nowrap
{{PM item|Whacka's Bump|sep=<br>}} Template:Nowrap
{{PM item|Jammin' Jelly|text=Jammin' Jelly}} Template:Nowrap
{{PM item|Jammin' Jelly|wikitext=Jammin' Jelly}} Template:Nowrap
{{PM item|Mystery Box (item)|Mystery?}} Template:Nowrap
{{PM item|item=Mystery?|Mystery Box (item)}} Template:Nowrap
{{PM item|link=Mystery Box (item)|Mystery?}} Template:Nowrap
{{PM item|POW Block|link=}} Template:Nowrap
{{PM item|POW Block|text=}} Template:Nowrap
{{PM item|POW Block|link=|text=}} Template:Nowrap
{{PM item|game=TTYD|Spaghetti}} Template:Nowrap
{{PM item|game=SPM|Spaghetti Plate}} Template:Nowrap
{{PM item|game=PMSS|Sticker#Cat-o-Luck|Cat-o-Luck}} Template:Nowrap
{{PM item|game=PMCS|Café Key}} Template:Nowrap
{{PM item|game=PMTOK|Mushroom}} Template:Nowrap
{{PM item|game=PMTOK|1-Up Mushroom}} Template:Nowrap
{{PM item|game=PMTOK|Spring of Rainbows - VIP}} Template:Nowrap
{{PM item|game=PMTOK|Key to Bowser's Castle}} Template:Nowrap
{{PM item|game=PMTOK|"M-A-X Power!"}} Template:Nowrap
{{PM item|game=PMTOK|"Deep, Deep Vibes"}} Template:Nowrap

See also