Template:PMTTYD item: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary |
mNo edit summary |
||
(19 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{PM item | <includeonly>{{#invoke:PM item|link | ||
|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. | |||
{{PM item/parameters|ttyd=1}} | |||
{{ | |||
{{ | ==Examples== | ||
{| class="wikitable" | |||
! Code | |||
! Result | |||
|- | |||
| <code><nowiki>{{PMTTYD item|Spaghetti}}</nowiki></code> || {{PMTTYD item|Spaghetti}} | |||
|- | |||
| <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>{{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?|link=Mystery}}</nowiki></code> || {{PMTTYD item|Mystery Box (item)|Mystery?|link=Mystery}} | |||
|- | |||
| <code><nowiki>{{PMTTYD item|item=Mystery?|Mystery Box (item)|link=Mystery}}</nowiki></code> || {{PMTTYD item|item=Mystery?|Mystery Box (item)|link=Mystery}} | |||
|- | |||
| <code><nowiki>{{PMTTYD item|Mystery?|link=Mystery}}</nowiki></code> || {{PMTTYD item|Mystery?|link=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 == | ==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 13:15, February 2, 2025
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}} |
![]() |
{{PMTTYD item|Boo's Sheet|game=NS}} |
![]() |
{{PMTTYD item|Boo's Sheet}} |
![]() |
{{PMTTYD item|Mr. Softener}} |
![]() |
{{PMTTYD item|Whacka Bump|sep=<br>}} |
![]() Whacka Bump |
{{PMTTYD item|Jammin' Jelly|text=Jammin' Jelly}} |
![]() |
{{PMTTYD item|Jammin' Jelly|wikitext=Jammin' Jelly}} |
![]() |
{{PMTTYD item|Mystery Box (item)|Mystery?|link=Mystery}} |
![]() |
{{PMTTYD item|item=Mystery?|Mystery Box (item)|link=Mystery}} |
![]() |
{{PMTTYD item|Mystery?|link=Mystery}} |
![]() |
{{PMTTYD item|POW Block|link=|text=}} |
![]() |
{{PMTTYD item|Egg Bomb|color=green}} |
![]() |
See also
- {{PM item}}
- {{SPM item}}
- Module:PM item