Template:PM recipe infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
m (Protected "Template:PM recipe infobox" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:225px;background:beige;border:1px solid #88a"
{| id="pm-recipe" class="infobox" style="width:225px"
! colspan="2" style="font-size:125%;background:cornsilk" | {{{title|{{PAGENAME}}}}}
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}}
|-
| colspan="2" style="text-align:center" | {{{image|No image}}}
|-
|-
| colspan="2" style="text-align:center" | {{{image|No Image}}}
|- style="background:bisque"
| style="width:40%" | '''Appears in:'''
| style="width:40%" | '''Appears in:'''
| style="width:15em" | {{{appearance|''[[Paper Mario]]'', ''[[Paper Mario: The Thousand-Year Door]]'' and ''[[Super Paper Mario]]''}}}
| {{{appears_in|''[[Paper Mario]]'', ''[[Paper Mario: The Thousand-Year Door]]'' and ''[[Super Paper Mario]]''}}}
|- style="background:burlywood"
|-
{{#if:{{{made by|}}}|
{{#if:{{{made_by|}}}|
{{!}} style="width:40%" {{!}} '''Made by:'''
{{!}} '''Made by:'''
{{!}} style="width:15em" {{!}} {{{made by|}}}
{{!}} {{{made_by}}}
|}}
}}
|- {{#if:{{{made by|}}}|style="background:bisque"|style="background:burlywood"}}
|-
{{#switch:{{{hp|0}}}-{{{fp|0}}}
{{#switch:{{{hp|0}}}-{{{fp|0}}}
|0-0=
|0-0=
|#default={{!}} style="width:40%" {{!}} '''HP restored:'''
|#default=
{{!}} style="width:15em" {{!}} {{{hp|0}}}
{{!}} '''HP restored:'''
{{!}} {{{hp|0}}}
}}
}}
|- {{#if:{{{made by|}}}|style="background:burlywood"|"style=background:bisque"}}
|-
{{#switch:{{{hp|0}}}-{{{fp|0}}}
{{#switch:{{{hp|0}}}-{{{fp|0}}}
|0-0=
|0-0=
|#default={{!}} style="width:40%" {{!}} '''FP restored:'''
|#default=
{{!}} style="width:15em" {{!}} {{{fp|0}}}
{{!}} '''FP restored:'''
{{!}} {{{fp|0}}}
}}
}}
|- {{#if:{{{made by|}}}|style="background:bisque"|style="background:burlywood"}}
|-
{{#ifeq:{{{dmg|0}}}|0||
{{#ifeq:{{{dmg|0}}}|0||
{{!}} style="width:40%" {{!}} '''Damage dealt:'''
{{!}} '''Damage dealt:'''
{{!}} style="width:15em" {{!}} {{{dmg|0}}}
{{!}} {{{dmg|0}}}
}}
}}
|}<noinclude>
|}<templatestyles src="PM recipe infobox/styles.css"/><noinclude>
==Usage==
==Usage==
<pre>
<pre>
{{recipe-infobox
{{PM recipe infobox
|title=<input title here> <default: the current page's name>
|title=<input title here> <default: the current page's name>
|image=<link to an image or more here> <default: No Image>
|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]]
|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>
|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>
|hp=<input hp restored> <default: 0>
|fp=<input fp restored> <default: 0>
|fp=<input fp restored> <default: 0>
Line 43: Line 45:


==Example==
==Example==
{{recipe-infobox
{{{{PAGENAME}}
|image=[[File:PaperMario Items Cake.png]] [[File:Cake TTYD.png]]
|image=[[File:PaperMario Items Cake.png]] [[File:Cake TTYD.png]]
|appearance=''[[Paper Mario]]'', ''[[Paper Mario: The Thousand-Year Door]]''
|appears_in=''[[Paper Mario]]'', ''[[Paper Mario: The Thousand-Year Door]]''
|made by=[[Tayce T.]]  
|made_by=[[Tayce T.]]  
|hp= 0/10
|hp= 0/10
|fp= 15/0  
|fp= 15/0  
}}
}}
<pre>
<pre>
{{recipe-infobox
{{PM recipe infobox
|image=[[File:PaperMario Items Cake.png]] [[File:Cake TTYD.png]]
|image=[[File:PaperMario Items Cake.png]] [[File:Cake TTYD.png]]
|appearance=''[[Paper Mario]]'', ''[[Paper Mario: The Thousand-Year Door]]''
|appears_in=''[[Paper Mario]]'', ''[[Paper Mario: The Thousand-Year Door]]''
|made by=[[Tayce T.]]  
|made_by=[[Tayce T.]]  
|hp= 0/10
|hp= 0/10
|fp= 15/0  
|fp= 15/0  
Line 61: Line 63:
{{br}}
{{br}}


{{recipe-infobox
{{{{PAGENAME}}
|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]]
|dmg=5
|dmg=5
}}
}}
<pre>
<pre>
{{recipe-infobox
{{PM 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]]
|dmg=5
|dmg=5

Latest revision as of 16:02, November 21, 2023

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
PaperMario Items Cake.png 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
PaperMario Items ThunderRage.png   The Thunder Rage from Paper Mario: The Thousand-Year DoorThunder Rage SPM.png
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
}}