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
Line 5: Line 5:
|sep{{#ifeq:{{{sep|}}}|{{{sep}}}||NULL}}={{{sep}}}
|sep{{#ifeq:{{{sep|}}}|{{{sep}}}||NULL}}={{{sep}}}
|text{{#ifeq:{{{text|}}}|{{{text}}}||NULL}}={{{text}}}
|text{{#ifeq:{{{text|}}}|{{{text}}}||NULL}}={{{text}}}
|wikitext{{#ifeq:{{{wikitext|}}}|{{{wikitext}}}||NULL}}={{{wikitext}}}
|item{{#ifeq:{{{item|}}}|{{{item}}}||NULL}}={{{item}}}
|item{{#ifeq:{{{item|}}}|{{{item}}}||NULL}}={{{item}}}
|link{{#ifeq:{{{link|}}}|{{{link}}}||NULL}}={{{link}}}
|link{{#ifeq:{{{link|}}}|{{{link}}}||NULL}}={{{link}}}

Revision as of 13:30, September 23, 2020

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
{{TTYD item|Spaghetti}} Template:TTYD item
{{TTYD item|Boo's Sheet}} Template:TTYD item
{{TTYD item|Mr. Softener}} Template:TTYD item
{{TTYD item|Whacka Bump|sep=<br>}} Template:TTYD item
{{TTYD item|Jammin' Jelly|text=Jammin' Jelly}} Template:TTYD item
{{TTYD item|Mystery Box (item)|Mystery?}} Template:TTYD item
{{TTYD item|item=Mystery?|Mystery Box (item)}} Template:TTYD item
{{TTYD item|link=Mystery Box (item)|Mystery?}} Template:TTYD item
{{TTYD item|POW Block|link=|text=}} Template:TTYD item
{{TTYD item|Egg Bomb|color=green}} Template:TTYD item

See also