Template:PMTTYD item: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{{PM item
<includeonly>{{#invoke:PM item|link
|game=TTYD
|game={{#switch:{{{game|}}}|NS=TTYDNS|#default=TTYD}}
|1{{#ifeq:{{{1|}}}|{{{1}}}||NULL}}={{{1}}}
|1{{#ifeq:{{{1|}}}|{{{1}}}||NULL}}={{{1}}}
|2{{#ifeq:{{{2|}}}|{{{2}}}||NULL}}={{{2}}}
|2{{#ifeq:{{{2|}}}|{{{2}}}||NULL}}={{{2}}}
|sep{{#ifeq:{{{sep|}}}|{{{sep}}}||NULL}}={{{sep}}}
|text{{#ifeq:{{{text|}}}|{{{text}}}||NULL}}={{{text}}}
|item{{#ifeq:{{{item|}}}|{{{item}}}||NULL}}={{{item}}}
|item{{#ifeq:{{{item|}}}|{{{item}}}||NULL}}={{{item}}}
|size{{#ifeq:{{{size|}}}|{{{size}}}||NULL}}={{{size}}}
|right{{#ifeq:{{{right|}}}|{{{right}}}||NULL}}={{{right}}}
|link{{#ifeq:{{{link|}}}|{{{link}}}||NULL}}={{{link}}}
|link{{#ifeq:{{{link|}}}|{{{link}}}||NULL}}={{{link}}}
|text{{#ifeq:{{{text|}}}|{{{text}}}||NULL}}={{{text}}}
|color{{#ifeq:{{{color|}}}|{{{color}}}||NULL}}={{{color}}}
|color{{#ifeq:{{{color|}}}|{{{color}}}||NULL}}={{{color}}}
|right{{#ifeq:{{{right|}}}|{{{right}}}||NULL}}={{{right}}}
|wikitext{{#ifeq:{{{wikitext|}}}|{{{wikitext}}}||NULL}}={{{wikitext}}}
|size{{#ifeq:{{{size|}}}|{{{size}}}||NULL}}={{{size}}}
|sep{{#ifeq:{{{sep|}}}|{{{sep}}}||NULL}}={{{sep}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{PM item/parameters}}
This template creates a page link related to ''[[Paper Mario: The Thousand-Year Door]]'' with an associated item image on the left side.


== Examples ==
{{PM item/parameters|ttyd=1}}
 
==Examples==
{| class="wikitable"
{| class="wikitable"
! Code
! Code
! Result
! Result
|-
|-
| <code><nowiki>{{TTYD item|Spaghetti}}</nowiki></code> || {{TTYD item|Spaghetti}}
| <code><nowiki>{{PMTTYD item|Spaghetti|link=Spaghetti Plate}}</nowiki></code> || {{PMTTYD item|Spaghetti|link=Spaghetti Plate}}
|-
| <code><nowiki>{{PMTTYD item|Boo's Sheet|game=NS}}</nowiki></code> || {{PMTTYD item|Boo's Sheet|game=NS}}
|-
| <code><nowiki>{{PMTTYD item|Boo's Sheet}}</nowiki></code> || {{PMTTYD item|Boo's Sheet}}
|-
|-
| <code><nowiki>{{TTYD item|Boo's Sheet}}</nowiki></code> || {{TTYD item|Boo's Sheet}}
| <code><nowiki>{{PMTTYD item|Mr. Softener}}</nowiki></code> || {{PMTTYD item|Mr. Softener}}
|-
|-
| <code><nowiki>{{TTYD item|Mr. Softener}}</nowiki></code> || {{TTYD item|Mr. Softener}}
| <code><nowiki>{{PMTTYD item|Whacka Bump|sep=<br>}}</nowiki></code> || {{PMTTYD item|Whacka Bump|sep=<br>}}
|-
|-
| <code><nowiki>{{TTYD item|Whacka Bump|sep=<br>}}</nowiki></code> || {{TTYD item|Whacka Bump|sep=<br>}}
| <code><nowiki>{{PMTTYD item|Jammin' Jelly|text=Jammin' Jelly}}</nowiki></code> || {{PMTTYD item|Jammin' Jelly|text=Jammin' Jelly}}
|-
|-
| <code><nowiki>{{TTYD item|Jammin' Jelly|text=Jammin' Jelly}}</nowiki></code> || {{TTYD item|Jammin' Jelly|text=Jammin' Jelly}}
| <code><nowiki>{{PMTTYD item|Jammin' Jelly|wikitext=Jammin' Jelly}}</nowiki></code> || {{PMTTYD item|Jammin' Jelly|wikitext=Jammin' Jelly}}
|-
|-
| <code><nowiki>{{TTYD item|Mystery Box (item)|Mystery?}}</nowiki></code> || {{TTYD item|Mystery Box (item)|Mystery?}}
| <code><nowiki>{{PMTTYD item|Mystery Box (item)|Mystery?}}</nowiki></code> || {{PMTTYD item|Mystery Box (item)|Mystery?}}
|-
|-
| <code><nowiki>{{TTYD item|item=Mystery?|Mystery Box (item)}}</nowiki></code> || {{TTYD item|item=Mystery?|Mystery Box (item)}}
| <code><nowiki>{{PMTTYD item|item=Mystery?|Mystery Box (item)}}</nowiki></code> || {{PMTTYD item|item=Mystery?|Mystery Box (item)}}
|-
|-
| <code><nowiki>{{TTYD item|link=Mystery Box (item)|Mystery?}}</nowiki></code> || {{TTYD item|link=Mystery Box (item)|Mystery?}}
| <code><nowiki>{{PMTTYD item|link=Mystery Box (item)|Mystery?}}</nowiki></code> || {{PMTTYD item|link=Mystery Box (item)|Mystery?}}
|-
|-
| <code><nowiki>{{TTYD item|POW Block|link=|text=}}</nowiki></code> || {{TTYD item|POW Block|link=|text=}}
| <code><nowiki>{{PMTTYD item|POW Block|link=|text=}}</nowiki></code> || {{PMTTYD item|POW Block|link=|text=}}
|-
|-
| <code><nowiki>{{TTYD item|Egg Bomb|color=green}}</nowiki></code> || {{TTYD item|Egg Bomb|color=green}}
| <code><nowiki>{{PMTTYD item|Egg Bomb|color=green}}</nowiki></code> || {{PMTTYD item|Egg Bomb|color=green}}
|}
|}


== See also ==
==See also==
* {{tem|PM item}}
*{{tem|PM item}}
* {{tem|SPM item}}
*{{tem|SPM item}}
*[[Module:PM item]]


[[Category:Formatting templates]]
[[Category:Content templates]]</noinclude>
</noinclude>

Latest revision as of 21:27, August 17, 2024

This template creates a page link related to Paper Mario: The Thousand-Year Door 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}}} Omit for the GameCube version. Set to NS for the Switch version.

Examples

Code Result
{{PMTTYD item|Spaghetti|link=Spaghetti Plate}} Spaghetti Plate Spaghetti
{{PMTTYD item|Boo's Sheet|game=NS}} Boo's Sheet Boo's Sheet
{{PMTTYD item|Boo's Sheet}} Boo's Sheet Boo's Sheet
{{PMTTYD item|Mr. Softener}} Mr. Softener Mr. Softener
{{PMTTYD item|Whacka Bump|sep=<br>}} Whacka Bump
Whacka Bump
{{PMTTYD item|Jammin' Jelly|text=Jammin' Jelly}} Jammin' Jelly Jammin' Jelly
{{PMTTYD item|Jammin' Jelly|wikitext=Jammin' Jelly}} Jammin' Jelly Jammin' Jelly
{{PMTTYD item|Mystery Box (item)|Mystery?}} Mystery Box (item) Mystery?
{{PMTTYD item|item=Mystery?|Mystery Box (item)}} Mystery Box (item) Mystery Box (item)
{{PMTTYD item|link=Mystery Box (item)|Mystery?}} Mystery Box (item) Mystery?
{{PMTTYD item|POW Block|link=|text=}} A POW Block from Paper Mario: The Thousand-Year Door
{{PMTTYD item|Egg Bomb|color=green}} Egg Bomb Egg Bomb

See also