Template:PM recipe infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
{| class="infobox" style="width:225px;background:beige;border:1px solid #88a"
{| class="infobox" style="width:225px;background:beige;border:1px solid #88a"
! colspan="2" style="font-size:125%;background:cornsilk" | {{{title|{{PAGENAME}}}}}
|-
|-
| align="center" colspan="2" bgcolor="cornsilk" style="font-size:125%" | '''{{{title|{{PAGENAME}}}}}'''
| colspan="2" style="text-align:center" | {{{image|No Image}}}
|-
|- style="background:bisque"
|align="center" colspan="2" | {{{image|No Image}}}
| style="width:40%" | '''Appears in:'''
|-style=background:bisque
| style="width:15em" | {{{appearance|''[[Paper Mario]]'', ''[[Paper Mario: The Thousand-Year Door]]'' and ''[[Super Paper Mario]]''}}}
|width=40% | '''Appears in:'''
|- style="background:burlywood"
|style="width:15em" | {{{appearance|''[[Paper Mario]]'', ''[[Paper Mario: The Thousand-Year Door]]'' and ''[[Super Paper Mario]]''}}}
|-style=background:burlywood
{{#if:{{{made by|}}}|
{{#if:{{{made by|}}}|
{{!}}width=40% {{!}} '''Made by:'''
{{!}} style="width:40%" {{!}} '''Made by:'''
{{!}}style="width:15em" {{!}} {{{made by|}}}
{{!}} style="width:15em" {{!}} {{{made by|}}}
|}}
|}}
|- {{#if:{{{made by|}}}|style=background:bisque|style=background:burlywood}}
|- {{#if:{{{made by|}}}|style="background:bisque"|style="background:burlywood"}}
{{#switch: {{{hp|0}}}-{{{fp|0}}}
{{#switch:{{{hp|0}}}-{{{fp|0}}}
| 0-0=
|0-0=
|#default={{!}}width=40% {{!}} '''HP restored:'''
|#default={{!}} style="width:40%" {{!}} '''HP restored:'''
{{!}}style=width:15em" {{!}} {{{hp|0}}}
{{!}} style="width:15em" {{!}} {{{hp|0}}}
}}
}}
|- {{#if:{{{made by|}}}|style=background:burlywood|style=background:bisque}}
|- {{#if:{{{made by|}}}|style="background:burlywood"|"style=background:bisque"}}
{{#switch: {{{hp|0}}}-{{{fp|0}}}
{{#switch:{{{hp|0}}}-{{{fp|0}}}
| 0-0=
|0-0=
|#default={{!}}width=40% {{!}} '''FP restored:'''
|#default={{!}} style="width:40%" {{!}} '''FP restored:'''
{{!}}style=width:15em" {{!}} {{{fp|0}}}
{{!}} style="width:15em" {{!}} {{{fp|0}}}
}}
}}
|- {{#if:{{{made by|}}}|style=background:bisque|style=background:burlywood}}
|- {{#if:{{{made by|}}}|style="background:bisque"|style="background:burlywood"}}
{{#ifeq:{{{dmg|0}}}|0||
{{#ifeq:{{{dmg|0}}}|0||
{{!}}width=40% {{!}} '''Damage dealt:'''
{{!}} style="width:40%" {{!}} '''Damage dealt:'''
{{!}}style=width:15em" {{!}} {{{dmg|0}}}
{{!}} style="width:15em" {{!}} {{{dmg|0}}}
}}
}}
|}<noinclude>
|}<noinclude>
Line 61: Line 60:
</pre>
</pre>
{{br}}
{{br}}
{{recipe-infobox
{{recipe-infobox
|image=[[File:PaperMario Items ThunderRage.png]]&nbsp; &nbsp;[[File:Thunder Rage TTYD.png]][[File:Thunder Rage SPM.png]]
|image=[[File:PaperMario Items ThunderRage.png]]&nbsp; &nbsp;[[File:Thunder Rage TTYD.png]][[File:Thunder Rage SPM.png]]

Revision as of 18:31, April 19, 2022

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

Usage

{{recipe-infobox
|title=<input title here> <default: the current page's name>
|image=<link to an image or more here> <default: No Image>
|appearance=<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

Template:Recipe-infobox

{{recipe-infobox
|image=[[File:PaperMario Items Cake.png]] [[File:Cake TTYD.png]]
|appearance=''[[Paper Mario]]'', ''[[Paper Mario: The Thousand-Year Door]]''
|made by=[[Tayce T.]] 
|hp= 0/10
|fp= 15/0 
}}

Template:Recipe-infobox

{{recipe-infobox
|image=[[File:PaperMario Items ThunderRage.png]]   [[File:Thunder Rage TTYD.png]][[File:Thunder Rage SPM.png]]
|dmg=5
}}