Template:MiniMoveCard

Template page
Revision as of 13:16, 2 March 2022 by PrivateTarkus (talk | contribs) (small cleanup)


A template for shorthand writing cargo queries for displaying a mini move card.

Usage

Due to weirdness with mediawiki, you must use the MiniMoveCard inside of a container, such as a div. This will be automatically done for you if it's in a move card on the overview, but for other pages you will need to add the div yourself.

 Expects 2 arguments:
 chara = name of the character for the cargo query
 input = input for the move for the cargo query
 optional arguments:
 game  = name of the game as it appears in the cargo table. If this is not provided, it will assume the game from the BasePageName of the current page.
 label = whatever text you want the tooltip to appear over. If not provided, uses the move input instead

Examples

Default Behavior

<div>Lorem ipsum dolor sit amet, {{MiniMoveCard|chara=Testament|input=236P|game=GGML}}, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</div>
Lorem ipsum dolor sit amet, 236PGGML Testament 236P.pngGuardAllStartup18RecoveryAdvantage+3


, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

With label

<div>Lorem ipsum dolor sit amet, {{MiniMoveCard|chara=Sol Badguy|input=214S|game=GGST|label=Grand Viper}}, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</div>
Lorem ipsum dolor sit amet, Grand ViperGGST Sol Badguy 214S 1.pngGuardAllStartup15~31 [32]Recovery32 [26]Advantage-17


, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.