Template:PM item: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
LinkTheLefty (talk | contribs) No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly>{{#invoke:PM item|link | ||
|game{{#ifeq:{{{game|}}}|{{{game}}}||NULL}}={{{game}}} | |||
}} | |1{{#ifeq:{{{1|}}}|{{{1}}}||NULL}}={{{1}}} | ||
|2{{#ifeq:{{{2|}}}|{{{2}}}||NULL}}={{{2}}} | |||
|item{{#ifeq:{{{item|}}}|{{{item}}}||NULL}}={{{item}}} | |||
|size{{#ifeq:{{{size|}}}|{{{size}}}||NULL}}={{{size}}} | |||
|right{{#ifeq:{{{right|}}}|{{{right}}}||NULL}}={{{right}}} | |||
|link{{#ifeq:{{{link|}}}|{{{link}}}||NULL}}={{{link}}} | |||
|text{{#ifeq:{{{text|}}}|{{{text}}}||NULL}}={{{text}}} | |||
|color{{#ifeq:{{{color|}}}|{{{color}}}||NULL}}={{{color}}} | |||
|wikitext{{#ifeq:{{{wikitext|}}}|{{{wikitext}}}||NULL}}={{{wikitext}}} | |||
|sep{{#ifeq:{{{sep|}}}|{{{sep}}}||NULL}}={{{sep}}} | |||
}}</includeonly><noinclude> | |||
}} | |||
}} | |||
}}{{ | |||
} | |||
This template creates a page link related to ''[[Paper Mario]]'' with an associated item image on the left side. | This template creates a page link related to ''[[Paper Mario]]'' with an associated item image on the left side. | ||
Revision as of 10:50, November 17, 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}} |
![]() |
{{PM item|Hot Shroom}} |
![]() |
{{PM item|Whacka's Bump|sep=<br>}} |
![]() Whacka's Bump |
{{PM item|Jammin' Jelly|text=Jammin' Jelly}} |
![]() |
{{PM item|Jammin' Jelly|wikitext=Jammin' Jelly}} |
![]() |
{{PM item|Mystery Box (item)|Mystery?}} |
![]() |
{{PM item|item=Mystery?|Mystery Box (item)}} |
![]() |
{{PM item|link=Mystery Box (item)|Mystery?}} |
![]() |
{{PM item|POW Block|link=}} |
![]() |
{{PM item|POW Block|text=}} |
![]() |
{{PM item|POW Block|link=|text=}} |
![]() |
{{PM item|game=TTYD|Spaghetti|link=Spaghetti Plate}} |
![]() |
{{PM item|game=SPM|Spaghetti Plate}} |
![]() |
{{PM item|game=PMSS|Sticker#Cat-o-Luck|Cat-o-Luck}} |
![]() |
{{PM item|game=PMCS|Café Key}} |
![]() |
{{PM item|game=PMTOK|Mushroom}} |
![]() |
{{PM item|game=PMTOK|1-Up Mushroom}} |
![]() |
{{PM item|game=PMTOK|Spring of Rainbows - VIP}} |
![]() |
{{PM item|game=PMTOK|Key to Bowser's Castle}} |
![]() |
{{PM item|game=PMTOK|"M-A-X Power!"}} |
![]() |
{{PM item|game=PMTOK|"Deep, Deep Vibes"}} |
![]() |