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 7: | Line 7: | ||
}}{{ | }}{{ | ||
#vardefine: text | {{{text|{{#var:item}}}}} | #vardefine: text | {{{text|{{#var:item}}}}} | ||
}}{{ | |||
#vardefine: image-size | {{{size|{{ | |||
#switch: {{#var:game}} | |||
| PM = | |||
| TTYD = 25x25px | |||
| SPM = | |||
| #default = 50x50px | |||
}}}}} | |||
}}{{ | }}{{ | ||
#vardefine: image-prefix | {{ | #vardefine: image-prefix | {{ | ||
Line 36: | Line 44: | ||
| #default = {{#var:image-base}} | | #default = {{#var:image-base}} | ||
}} | }} | ||
}}{{ | }}{{ | ||
#vardefine: image | {{ | #vardefine: image | {{ |
Revision as of 15:29, 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 |