Template:PM badge infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
Line 53: Line 53:
{{#replace:
{{#replace:
{{#replace:
{{#replace:
! style="text-align:left;padding-left:0" {{!}} {{hover|Price|Buy price. Sell prices are halved.}}
! style="text-align:left;padding-left:0" {{!}} {{hover|Price|Buy price. Sell prices (where possible) are halved.}}
{{!}} style="{{#if:{{{pm|}}}||display:none;}}background:#aee2f3" {{!}} {{{price_pm|{{{price}}}}}}
{{!}} style="{{#if:{{{pm|}}}||display:none;}}background:#aee2f3" {{!}} {{{price_pm|{{{price}}}}}}
{{!}} style="{{#if:{{{ttyd|}}}{{{ttydns|}}}||display:none;}}background:#aee2f3" {{!}} {{{price_ttyd|{{{price}}}}}}{{#if:{{{price_ttydns|}}}|<br /><small>(GCN)</small><hr />{{{price_ttydns}}}<br /><small>[[Paper Mario: The Thousand-Year Door (Nintendo Switch)|(NS)]]</small>}}
{{!}} style="{{#if:{{{ttyd|}}}{{{ttydns|}}}||display:none;}}background:#aee2f3" {{!}} {{{price_ttyd|{{{price}}}}}}{{#if:{{{price_ttydns|}}}|<br /><small>(GCN)</small><hr />{{{price_ttydns}}}<br /><small>[[Paper Mario: The Thousand-Year Door (Nintendo Switch)|(NS)]]</small>}}

Revision as of 12:27, May 29, 2024

PM badge infobox
PM64 TTYD
Description

Work-in-progress update to Template:PM badge infobox. See mb:threads/47694.

Examples

User:AgentMuffin/PM badge infobox


User:AgentMuffin/PM badge infobox This example would be generated with:

{{PM badge infobox
|title        = Bogus Example
|image_pm     = Anger's Power PM unused.png
|image_ttyd   = Unknown Badge TTYD.png
|bp           = 1
|bp_ttydns    = 0
|fp           = 2
|fp_addl_pm   = +2
|fp_addl_ttyd = *2
|attack_pm    = <Boots> 2, <Super Boots> 4, <Ultra Boots> 6
|attack_ttyd  = <Hammer> 2, <Super Hammer> 4, <Ultra Hammer> 6
|price_pm     = —
|price_ttyd   = <Coin>100, <Star Piece>2, <Pianta>24
|effect       = Lets Mario use Bogus Blast.
|pm           = Lets you do a Bogus Blast. Uses 2 FP. This attack is made up.
|ttyd         = Wear this to use Bogus Blast. 2 FP are required to use this attack, which is just made up to show how to use this template. Wearing two or more of these badges requires more FP for the move, but increases the Attack power.
|ttydns       = They changed this description in the remake! Just kidding. This badge isn't even real.
}}