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}}} | ||
|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}}} | ||
| | |wikitext{{#ifeq:{{{wikitext|}}}|{{{wikitext}}}||NULL}}={{{wikitext}}} | ||
| | |sep{{#ifeq:{{{sep|}}}|{{{sep}}}||NULL}}={{{sep}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
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>{{ | | <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>{{ | | <code><nowiki>{{PMTTYD item|Mr. Softener}}</nowiki></code> || {{PMTTYD item|Mr. Softener}} | ||
|- | |- | ||
| <code><nowiki>{{ | | <code><nowiki>{{PMTTYD item|Whacka Bump|sep=<br>}}</nowiki></code> || {{PMTTYD item|Whacka Bump|sep=<br>}} | ||
|- | |- | ||
| <code><nowiki>{{ | | <code><nowiki>{{PMTTYD item|Jammin' Jelly|text=Jammin' Jelly}}</nowiki></code> || {{PMTTYD item|Jammin' Jelly|text=Jammin' Jelly}} | ||
|- | |- | ||
| <code><nowiki>{{ | | <code><nowiki>{{PMTTYD item|Jammin' Jelly|wikitext=Jammin' Jelly}}</nowiki></code> || {{PMTTYD item|Jammin' Jelly|wikitext=Jammin' Jelly}} | ||
|- | |- | ||
| <code><nowiki>{{ | | <code><nowiki>{{PMTTYD item|Mystery Box (item)|Mystery?}}</nowiki></code> || {{PMTTYD item|Mystery Box (item)|Mystery?}} | ||
|- | |- | ||
| <code><nowiki>{{ | | <code><nowiki>{{PMTTYD item|item=Mystery?|Mystery Box (item)}}</nowiki></code> || {{PMTTYD item|item=Mystery?|Mystery Box (item)}} | ||
|- | |- | ||
| <code><nowiki>{{ | | <code><nowiki>{{PMTTYD item|link=Mystery Box (item)|Mystery?}}</nowiki></code> || {{PMTTYD item|link=Mystery Box (item)|Mystery?}} | ||
|- | |- | ||
| <code><nowiki>{{ | | <code><nowiki>{{PMTTYD item|POW Block|link=|text=}}</nowiki></code> || {{PMTTYD item|POW Block|link=|text=}} | ||
|- | |- | ||
| <code><nowiki>{{ | | <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: | [[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 |
{{PMTTYD item|Boo's Sheet|game=NS}} |
Boo's Sheet |
{{PMTTYD item|Boo's Sheet}} |
Boo's Sheet |
{{PMTTYD item|Mr. Softener}} |
Mr. Softener |
{{PMTTYD item|Whacka Bump|sep=<br>}} |
Whacka Bump |
{{PMTTYD item|Jammin' Jelly|text=Jammin' Jelly}} |
Jammin' Jelly |
{{PMTTYD item|Jammin' Jelly|wikitext=Jammin' Jelly}} |
Jammin' Jelly |
{{PMTTYD item|Mystery Box (item)|Mystery?}} |
Mystery? |
{{PMTTYD item|item=Mystery?|Mystery Box (item)}} |
Mystery Box (item) |
{{PMTTYD item|link=Mystery Box (item)|Mystery?}} |
Mystery? |
{{PMTTYD item|POW Block|link=|text=}} |
|
{{PMTTYD item|Egg Bomb|color=green}} |
Egg Bomb |
See also
- {{PM item}}
- {{SPM item}}
- Module:PM item