Template:PM recipe infobox: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
Megadardery (talk | contribs) (restored, sorry i will improve it in my userspace before changing the orginal) |
Megadardery (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
| align="center" colspan="2" bgcolor="cornsilk" style="font-size:125%" | '''{{{title|{{PAGENAME}}}}}''' | | align="center" colspan="2" bgcolor="cornsilk" style="font-size:125%" | '''{{{title|{{PAGENAME}}}}}''' | ||
|- | |- | ||
|align="center" colspan="2" | {{{image|}}} | |align="center" colspan="2" | {{{image|No Image}}} | ||
|-style=background:bisque | |-style=background:bisque | ||
|width=40% | '''Appears in:''' | |width=40% | '''Appears in:''' | ||
|style="width:15em" | {{{appearance|}}} | |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:''' | {{!}}width=40% {{!}} '''Made by:''' | ||
{{!}}style="width:15em" {{!}} {{{made by|}}} | {{!}}style="width:15em" {{!}} {{{made by|}}} | ||
|}} | |||
|- {{#if:{{{made by|}}}|style=background:bisque|style=background:burlywood}} | |||
{{#switch: {{{hp|0}}}-{{{fp|0}}} | |||
| 0-0= | |||
|#default={{!}}width=40% {{!}} '''HP restored:''' | |||
{{!}}style=width:15em" {{!}} {{{hp|0}}} | |||
}} | }} | ||
|-{{#if:{{{made by|}}}|style=background: | |- {{#if:{{{made by|}}}|style=background:burlywood|style=background:bisque}} | ||
{{#switch: {{{hp|0}}}-{{{fp|0}}} | |||
| 0-0= | |||
|#default={{!}}width=40% {{!}} '''FP restored:''' | |||
{{!}}style=width:15em" {{!}} {{{fp|0}}} | |||
}} | |||
|-{{#if:{{{made by|}}}|style=background:bisque|style=background:burlywood}} | |- {{#if:{{{made by|}}}|style=background:bisque|style=background:burlywood}} | ||
|width=40% | {{#ifeq:{{{dmg|0}}}|0|| | ||
{{!}}width=40% {{!}} '''Damage dealt:''' | |||
|}<noinclude>[[Category:Infobox Templates|{{PAGENAME}}]]</noinclude> | {{!}}style=width:15em" {{!}} {{{dmg|0}}} | ||
}} | |||
|}<noinclude>[[Category:Infobox Templates|{{PAGENAME}}]] | |||
==Usage== | |||
<pre>{{Recipe | |||
|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> | |||
}}</pre> | |||
==Example== | |||
{{Recipe-Infobox | |||
|image=[[File:PaperMario Items Cake.png]] [[File:Cake.png]] | |||
|appearance=''[[Paper Mario]]'', [[Paper Mario: The Thousand-Year Door]] | |||
|made by=[[Tayce T.]] | |||
|hp= 0/10 | |||
|fp= 15/0 | |||
}}<pre>{{Recipe-Infobox | |||
|image=[[File:PaperMario Items Cake.png]] [[File:Cake.png]] | |||
|appearance=''[[Paper Mario]]'', [[Paper Mario: The Thousand-Year Door]] | |||
|made by=[[Tayce T.]] | |||
|hp= 0/10 | |||
|fp= 15/0 | |||
}}</pre> | |||
{{br}} | |||
{{Recipe-Infobox | |||
|image=[[Image:PaperMario Items ThunderRage.png]] [[File:ThundahRageTTYD.PNG]][[Image:ThunderRage_SPM.png]] | |||
|made by=[[Tayce T.]] and [[Zess T.]] | |||
|dmg=5 | |||
}} | |||
<pre>{{Recipe-Infobox | |||
|image=[[Image:PaperMario Items ThunderRage.png]] [[File:ThundahRageTTYD.PNG]][[Image:ThunderRage_SPM.png]] | |||
|made by=[[Tayce T.]] and [[Zess T.]] | |||
|dmg=5 | |||
}}</pre> | |||
</noinclude> |
Revision as of 07:29, December 21, 2012
PM recipe infobox | |
No Image | |
Appears in: | Paper Mario, Paper Mario: The Thousand-Year Door and Super Paper Mario |
Usage
{{Recipe |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
{{Recipe-Infobox |image=[[File:PaperMario Items Cake.png]] [[File:Cake.png]] |appearance=''[[Paper Mario]]'', [[Paper Mario: The Thousand-Year Door]] |made by=[[Tayce T.]] |hp= 0/10 |fp= 15/0 }}
{{Recipe-Infobox |image=[[Image:PaperMario Items ThunderRage.png]] [[File:ThundahRageTTYD.PNG]][[Image:ThunderRage_SPM.png]] |made by=[[Tayce T.]] and [[Zess T.]] |dmg=5 }}