Template:PMTTYD item: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary |
m (Text replacement - "{{TTYD item" to "{{PMTTYD item") |
||
(15 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly>{{#invoke:PM item|link | ||
|game=TTYD | |||
|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: The Thousand-Year Door]]'' with an associated item image on the left side. | |||
{{PM item/parameters}} | |||
{{ | |||
{{ | ==Examples== | ||
{| class="wikitable" | |||
! Code | |||
! Result | |||
|- | |||
| <code><nowiki>{{PMTTYD item|Spaghetti|link=Spaghetti Plate}}</nowiki></code> || {{PMTTYD item|Spaghetti|link=Spaghetti Plate}} | |||
|- | |||
| <code><nowiki>{{PMTTYD item|Boo's Sheet}}</nowiki></code> || {{PMTTYD item|Boo's Sheet}} | |||
|- | |||
| <code><nowiki>{{PMTTYD item|Mr. Softener}}</nowiki></code> || {{PMTTYD item|Mr. Softener}} | |||
|- | |||
| <code><nowiki>{{PMTTYD item|Whacka Bump|sep=<br>}}</nowiki></code> || {{PMTTYD 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>{{PMTTYD item|Jammin' Jelly|wikitext=Jammin' Jelly}}</nowiki></code> || {{PMTTYD item|Jammin' Jelly|wikitext=Jammin' Jelly}} | |||
|- | |||
| <code><nowiki>{{PMTTYD item|Mystery Box (item)|Mystery?}}</nowiki></code> || {{PMTTYD item|Mystery Box (item)|Mystery?}} | |||
|- | |||
| <code><nowiki>{{PMTTYD item|item=Mystery?|Mystery Box (item)}}</nowiki></code> || {{PMTTYD item|item=Mystery?|Mystery Box (item)}} | |||
|- | |||
| <code><nowiki>{{PMTTYD item|link=Mystery Box (item)|Mystery?}}</nowiki></code> || {{PMTTYD item|link=Mystery Box (item)|Mystery?}} | |||
|- | |||
| <code><nowiki>{{PMTTYD item|POW Block|link=|text=}}</nowiki></code> || {{PMTTYD item|POW Block|link=|text=}} | |||
|- | |||
| <code><nowiki>{{PMTTYD item|Egg Bomb|color=green}}</nowiki></code> || {{PMTTYD item|Egg Bomb|color=green}} | |||
|} | |||
==See also== | |||
{{ | *{{tem|PM item}} | ||
*{{tem|SPM item}} | |||
*[[Module:PM item]] | |||
[[Category:Content templates]]</noinclude> | |||
[[Category: | |||
</noinclude> |
Latest revision as of 14:00, May 3, 2022
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 |
Examples
Code | Result |
---|---|
{{PMTTYD item|Spaghetti|link=Spaghetti Plate}} |
Spaghetti |
{{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