Template:PM recipe infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
mNo edit summary
 
(68 intermediate revisions by 14 users not shown)
Line 1: Line 1:
{| class="infobox" cellpadding=3 cellspacing=2 align=right width=225px style="font-family:arial,sans-serif; padding:4px; margin: 0 0 1.5em 1.5em; font-size: 11px; background-color: beige; border:1px solid #88a; color:black"
<noinclude>{{abandoned}}</noinclude><templatestyles src="PM recipe infobox/styles.css"/>
{| id="pm-recipe" class="infobox" style="width:225px"
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}}
|-
|-
| align="center" colspan="2" bgcolor="cornsilk" style="font-size:125%" | '''{{PAGENAME}}'''
| colspan="2" style="text-align:center" | {{{image|No image}}}
|-
|-
|align="center" colspan="2" | {{{image|}}}
| style="width:40%" | '''Appears in:'''
|- style=background:bisque
| {{{appears_in|''[[Paper Mario]]'', ''[[Paper Mario: The Thousand-Year Door]]'' and ''[[Super Paper Mario]]''}}}
| width=40% | '''Appeared In:'''
| style="width:15em" | {{{appearance|}}}
|- style=background:burlywood
| width=40% | '''Made By:'''
| style="width:15em" | {{{made by|}}}
|-
|-
| width=40% | '''Recovers'''
{{#if:{{{made_by|}}}|
| style=width:15em" | {{{hp|}}}
{{!}} '''Made by:'''
| style=width:15em" | {{{fp|}}}
{{!}} {{{made_by}}}
}}
|-
{{#switch:{{{hp|0}}}-{{{fp|0}}}
|0-0=
|#default=
{{!}} '''HP restored:'''
{{!}} {{{hp|0}}}
}}
|-
{{#switch:{{{hp|0}}}-{{{fp|0}}}
|0-0=
|#default=
{{!}} '''FP restored:'''
{{!}} {{{fp|0}}}
}}
|-
{{#ifeq:{{{dmg|0}}}|0||
{{!}} '''Damage dealt:'''
{{!}} {{{dmg|0}}}
}}
|}<noinclude>
==Usage==
<pre>
{{PM recipe infobox
|title=<input title here> <default: the current page's name>
|image=<link to an image or more here> <default: No Image>
|appears_in=<input the games which this item appeared> <default: [[Paper Mario]], [[Paper Mario: The Thousand-Year Door]] and [[Super Paper Mario]]
|made_by=<if it is a recipe input the chief's name> <default: > <if , then it won't appear>
|hp=<input hp restored> <default: 0>
|fp=<input fp restored> <default: 0>
|dmg=<input damage dealt restored> <default: 0> <if 0, then it won't appear>
}}
</pre>
 
==Example==
{{{{PAGENAME}}
|image=[[File:PaperMario Items Cake.png]] [[File:Cake TTYD.png]]
|appears_in=''[[Paper Mario]]'', ''[[Paper Mario: The Thousand-Year Door]]''
|made_by=[[Tayce T.]]
|hp= 0/10
|fp= 15/0
}}
<pre>
{{PM recipe infobox
|image=[[File:PaperMario Items Cake.png]] [[File:Cake TTYD.png]]
|appears_in=''[[Paper Mario]]'', ''[[Paper Mario: The Thousand-Year Door]]''
|made_by=[[Tayce T.]]
|hp= 0/10
|fp= 15/0
}}
</pre>
{{br}}


|}<noinclude>[[Category:Formatting Templates]]</noinclude>
{{{{PAGENAME}}
|image=[[File:PaperMario Items ThunderRage.png]]&nbsp; &nbsp;[[File:Thunder Rage TTYD.png]][[File:Thunder Rage SPM.png]]
|dmg=5
}}
<pre>
{{PM recipe infobox
|image=[[File:PaperMario Items ThunderRage.png]]&nbsp; &nbsp;[[File:Thunder Rage TTYD.png]][[File:Thunder Rage SPM.png]]
|dmg=5
}}
</pre></noinclude>

Latest revision as of 12:12, January 19, 2025

It has been decided that the Super Mario Wiki will no longer support this feature. This page is kept and protected strictly for historical purposes.

PM recipe infobox
No image
Appears in: Paper Mario, Paper Mario: The Thousand-Year Door and Super Paper Mario

Usage

{{PM recipe infobox
|title=<input title here> <default: the current page's name>
|image=<link to an image or more here> <default: No Image>
|appears_in=<input the games which this item appeared> <default: [[Paper Mario]], [[Paper Mario: The Thousand-Year Door]] and [[Super Paper Mario]]
|made_by=<if it is a recipe input the chief's name> <default: > <if , then it won't appear>
|hp=<input hp restored> <default: 0>
|fp=<input fp restored> <default: 0>
|dmg=<input damage dealt restored> <default: 0> <if 0, then it won't appear>
}}

Example

PM recipe infobox
Icon of an item from Paper Mario Sprite of Cake from Paper Mario: The Thousand-Year Door
Appears in: Paper Mario, Paper Mario: The Thousand-Year Door
Made by: Tayce T.
HP restored: 0/10
FP restored: 15/0
{{PM recipe infobox
|image=[[File:PaperMario Items Cake.png]] [[File:Cake TTYD.png]]
|appears_in=''[[Paper Mario]]'', ''[[Paper Mario: The Thousand-Year Door]]''
|made_by=[[Tayce T.]] 
|hp= 0/10
|fp= 15/0 
}}
PM recipe infobox
Icon of an item from Paper Mario   The Thunder Rage from Paper Mario: The Thousand-Year DoorIcon of an item from Super Paper Mario
Appears in: Paper Mario, Paper Mario: The Thousand-Year Door and Super Paper Mario
Damage dealt: 5
{{PM recipe infobox
|image=[[File:PaperMario Items ThunderRage.png]]   [[File:Thunder Rage TTYD.png]][[File:Thunder Rage SPM.png]]
|dmg=5
}}