Template:Infobox Game Blocks: Difference between revisions
Jump to navigation
Jump to search
MannedTooth (talk | contribs) (Created page with "<includeonly>{{#invoke:InfoboxGameBlocks|_CreateBlocks}}</includeonly><noinclude> {{Documentation}} Category:Templates </noinclude>") |
(No difference)
|
Revision as of 18:15, 22 October 2019
Purpose
Adding pre-formatted blocks in infobox fields to separate information between games.
Usage
{{Infobox Game Blocks |<game>= ... |<game>= }}
Example
Input
{{Infobox Game Blocks |ALttP= {{Term|ALttP|Crystal|link}}, {{Term|ALttP|Heart Container|link}} |LA= {{Term|LANS|Heart Container|link}}, {{Term|LANS|Thunder Drum|link}} |ALBW= {{Term|ALBW|Heart Container|link}}, {{Term|ALBW|Sage|link}}, {{Term|ALBW|Impa|link}} }}
Output
Script error: No such module "InfoboxGameBlocks".
Use of
<br>
tags is discouraged.
Input
{{Infobox Game Blocks |ALttP= {{Term|ALttP|Crystal|link}}<br>{{Term|ALttP|Heart Container|link}}<br/>{{Term|LANS|Thunder Drum|link}} }}
Output
Script error: No such module "InfoboxGameBlocks".
If every game has only one list item, a compact format is displayed using a variation of
{{Exp Game}}
.
Input
{{Infobox Game Blocks |OoT= {{Term|OoT3D|Happy Mask Shop|link}} |MM= {{Term|MM3D|Great Bay Coast|link}} }}
Output
Script error: No such module "InfoboxGameBlocks".
Invalid and empty games are not shown. Game codes are case sensitive.
Input
{{Infobox Game Blocks |alttp= foo |invalidGame= bar |MM= |ALBW= {{Term|ALBW|Heart Container|link}} }}
Output
Script error: No such module "InfoboxGameBlocks".
Input
{{Infobox Game Blocks}}
Output
Script error: No such module "InfoboxGameBlocks".
The above documentation is transcluded from Template:Infobox Game Blocks/Documentation. (edit | history)