Template:Input

From Mizuumi Wiki
Jump to navigation Jump to search

Documentation

Input formatter based on the game page it is called from (specifically, takes the first part of the page name until the first "/", so it will work regardless of the subpage layer currently in).

Use

Call the template as:

{{input|<parameter>}}

parameter: The string you want to be formatted. Depends on the current game, but it generally is a game input like #X or a combo sequence.

How To Add More Games

To add a new game to the input formatter, simply add a new line in the #switch statement with the name of the game (as shown by the wiki in the title of the pages) as case and write in the code you want to be executed. It is recommended to use a Module or Template call to do the actual formatting to keep the template code clean and make it easier to make game-specific adjustments.