Template:PM recipe infobox: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (I fail.) |
m (Protected "Template:PM recipe infobox" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(33 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{|class="infobox" | {| id="pm-recipe" class="infobox" style="width:225px" | ||
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}} | |||
|- | |- | ||
| | | colspan="2" style="text-align:center" | {{{image|No image}}} | ||
|- | |- | ||
| | | style="width:40%" | '''Appears in:''' | ||
| {{{appears_in|''[[Paper Mario]]'', ''[[Paper Mario: The Thousand-Year Door]]'' and ''[[Super Paper Mario]]''}}} | |||
|- | |||
{{#if:{{{made_by|}}}| | |||
|- | {{!}} '''Made by:''' | ||
{{#if:{{{ | {{!}} {{{made_by}}} | ||
}} | |||
{{!}} | |- | ||
{{#switch:{{{hp|0}}}-{{{fp|0}}} | |||
|- | |0-0= | ||
{{#switch: {{{hp|0}}}-{{{fp|0}}} | |#default= | ||
| 0-0= | {{!}} '''HP restored:''' | ||
|#default= | {{!}} {{{hp|0}}} | ||
}} | }} | ||
|- | |- | ||
{{#switch: {{{hp|0}}}-{{{fp|0}}} | {{#switch:{{{hp|0}}}-{{{fp|0}}} | ||
| 0-0= | |0-0= | ||
|#default= | |#default= | ||
{{!}} '''FP restored:''' | |||
{{!}} {{{fp|0}}} | |||
}} | }} | ||
|- | |- | ||
{{#ifeq:{{{dmg|0}}}|0|| | {{#ifeq:{{{dmg|0}}}|0|| | ||
{{!}} '''Damage dealt:''' | |||
{{!}} {{{dmg|0}}} | |||
}} | }} | ||
|}<noinclude> | |}<templatestyles src="PM recipe infobox/styles.css"/><noinclude> | ||
==Usage== | ==Usage== | ||
<pre>{{ | <pre> | ||
{{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> | ||
| | |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> | |hp=<input hp restored> <default: 0> | ||
|fp=<input fp restored> <default: 0> | |fp=<input fp restored> <default: 0> | ||
|dmg=<input damage dealt restored> <default: 0> <if 0, then it won't appear> | |dmg=<input damage dealt restored> <default: 0> <if 0, then it won't appear> | ||
}}</pre> | }} | ||
</pre> | |||
==Example== | ==Example== | ||
{{ | {{{{PAGENAME}} | ||
|image=[[File:PaperMario Items Cake.png]] [[File: | |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 | |hp= 0/10 | ||
|fp= 15/0 | |fp= 15/0 | ||
}}<pre>{{ | }} | ||
|image=[[File:PaperMario Items Cake.png]] [[File:Cake.png]] | <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 | |hp= 0/10 | ||
|fp= 15/0 | |fp= 15/0 | ||
}}</pre> | }} | ||
</pre> | |||
{{br}} | {{br}} | ||
{{ | |||
|image=[[ | {{{{PAGENAME}} | ||
|image=[[File:PaperMario Items ThunderRage.png]] [[File:Thunder Rage TTYD.png]][[File:Thunder Rage SPM.png]] | |||
|dmg=5 | |dmg=5 | ||
}} | }} | ||
<pre>{{ | <pre> | ||
|image=[[ | {{PM recipe infobox | ||
|image=[[File:PaperMario Items ThunderRage.png]] [[File:Thunder Rage TTYD.png]][[File:Thunder Rage SPM.png]] | |||
|dmg=5 | |dmg=5 | ||
}}</pre> | }} | ||
</noinclude> | </pre> | ||
[[Category:Infobox templates]]</noinclude> |
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 | |
---|---|
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 | |
---|---|
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 }}