Template:PM item: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 12: Line 12:
     | PM      = PaperMario Items 
     | PM      = PaperMario Items 
     | PMCS    = PMCS Item 
     | PMCS    = PMCS Item 
    | #default =
   }}
   }}
}}{{
}}{{
Line 20: Line 21:
     | PMSS    =  Sticker PMSS
     | PMSS    =  Sticker PMSS
     | PMTOK    =  PMTOK icon
     | PMTOK    =  PMTOK icon
    | #default =
   }}
   }}
}}{{
}}{{
Line 30: Line 32:
       #switch: {{#var:image-base}}
       #switch: {{#var:image-base}}
       | Spring of Rainbows - VIP = Spring of Rainbows VIP
       | Spring of Rainbows - VIP = Spring of Rainbows VIP
       | #default = {{#var:image-base}}
       | #default                 = {{#var:image-base}}
     }}
     }}
     | #default = {{#var:image-base}}
     | #default = {{#var:image-base}}

Revision as of 12:53, October 10, 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}} 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