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 |
||
(28 intermediate revisions by 4 users not shown) | |||
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. | ||
}} | |||
}} | |||
}}} | |||
{{/parameters|all=1}} | |||
{{ | |||
{{PM item|Spaghetti}} | ==Examples== | ||
{|class="wikitable" | |||
!Code | |||
!Result | |||
|- | |||
|<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|Whacka's Bump|link=Whacka Bump|sep=<br>}}</nowiki></code>||{{PM item|Whacka's Bump|link=Whacka Bump|sep=<br>}} | |||
|- | |||
|<code><nowiki>{{PM item|Jammin' Jelly|text=Jammin' Jelly}}</nowiki></code>||{{PM item|Jammin' Jelly|text=Jammin' Jelly}} | |||
|- | |||
|<code><nowiki>{{PM item|Jammin' Jelly|wikitext=Jammin' Jelly}}</nowiki></code>||{{PM item|Jammin' Jelly|wikitext=Jammin' Jelly}} | |||
|- | |||
|<code><nowiki>{{PM item|Mystery Box (item)|Mystery?}}</nowiki></code>||{{PM item|Mystery Box (item)|Mystery?}} | |||
|- | |||
|<code><nowiki>{{PM item|item=Mystery?|Mystery Box (item)}}</nowiki></code>||{{PM item|item=Mystery?|Mystery Box (item)}} | |||
|- | |||
|<code><nowiki>{{PM item|link=Mystery Box (item)|Mystery?}}</nowiki></code>||{{PM item|link=Mystery Box (item)|Mystery?}} | |||
|- | |||
|<code><nowiki>{{PM item|POW Block|link=}}</nowiki></code>||{{PM item|POW Block|link=}} | |||
|- | |||
|<code><nowiki>{{PM item|POW Block|text=}}</nowiki></code>||{{PM item|POW Block|text=}} | |||
|- | |||
|<code><nowiki>{{PM item|POW Block|link=|text=}}</nowiki></code>||{{PM item|POW Block|link=|text=}} | |||
|- | |||
|<code><nowiki>{{PM item|game=TTYD|Spaghetti|link=Spaghetti Plate}}</nowiki></code>||{{PM item|game=TTYD|Spaghetti|link=Spaghetti Plate}} | |||
|- | |||
|<code><nowiki>{{PM item|game=SPM|Spaghetti Plate}}</nowiki></code>||{{PM item|game=SPM|Spaghetti Plate}} | |||
|- | |||
|<code><nowiki>{{PM item|game=CS|Café Key}}</nowiki></code>||{{PM item|game=CS|Café Key}} | |||
|- | |||
|<code><nowiki>{{PM item|game=TOK|Mushroom}}</nowiki></code>||{{PM item|game=TOK|Mushroom}} | |||
|- | |||
|<code><nowiki>{{PM item|game=TOK|1-Up Mushroom}}</nowiki></code>||{{PM item|game=TOK|1-Up Mushroom}} | |||
|- | |||
|<code><nowiki>{{PM item|game=TOK|Spring of Rainbows - VIP}}</nowiki></code>||{{PM item|game=TOK|Spring of Rainbows - VIP}} | |||
|- | |||
|<code><nowiki>{{PM item|game=TOK|Key to Bowser's Castle}}</nowiki></code>||{{PM item|game=TOK|Key to Bowser's Castle}} | |||
|- | |||
|<code><nowiki>{{PM item|game=TOK|"M-A-X Power!"}}</nowiki></code>||{{PM item|game=TOK|"M-A-X Power!"}} | |||
|- | |||
|<code><nowiki>{{PM item|game=TOK|"Deep, Deep Vibes"}}</nowiki></code>||{{PM item|game=TOK|"Deep, Deep Vibes"}} | |||
|} | |||
==See also== | |||
{{ | *{{tem|PMTTYD item}} | ||
*{{tem|SPM item}} | |||
*[[Module:PM item]] | |||
[[Category:Content templates]]</noinclude> | |||
[[Category: | |||
</noinclude> |
Latest revision as of 21:19, August 17, 2024
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}} |
Spaghetti |
{{PM item|Hot Shroom}} |
Hot Shroom |
{{PM item|Whacka's Bump|link=Whacka Bump|sep=<br>}} |
Whacka's Bump |
{{PM item|Jammin' Jelly|text=Jammin' Jelly}} |
Jammin' Jelly |
{{PM item|Jammin' Jelly|wikitext=Jammin' Jelly}} |
Jammin' Jelly |
{{PM item|Mystery Box (item)|Mystery?}} |
Mystery? |
{{PM item|item=Mystery?|Mystery Box (item)}} |
Mystery Box (item) |
{{PM item|link=Mystery Box (item)|Mystery?}} |
Mystery? |
{{PM item|POW Block|link=}} |
POW Block |
{{PM item|POW Block|text=}} |
|
{{PM item|POW Block|link=|text=}} |
|
{{PM item|game=TTYD|Spaghetti|link=Spaghetti Plate}} |
Spaghetti |
{{PM item|game=SPM|Spaghetti Plate}} |
Spaghetti Plate |
{{PM item|game=CS|Café Key}} |
Café Key |
{{PM item|game=TOK|Mushroom}} |
Mushroom |
{{PM item|game=TOK|1-Up Mushroom}} |
1-Up Mushroom |
{{PM item|game=TOK|Spring of Rainbows - VIP}} |
Spring of Rainbows - VIP |
{{PM item|game=TOK|Key to Bowser's Castle}} |
Key to Bowser's Castle |
{{PM item|game=TOK|"M-A-X Power!"}} |
"M-A-X Power!" |
{{PM item|game=TOK|"Deep, Deep Vibes"}} |
"Deep, Deep Vibes" |
See also
- {{PMTTYD item}}
- {{SPM item}}
- Module:PM item