Template:Enemy/doc: Difference between revisions

From Dragon Quest Wiki
Line 31: Line 31:
*The ''image'' parameter should contain all the images which are relevant for that game/console combination.
*The ''image'' parameter should contain all the images which are relevant for that game/console combination.
*The ''game'' parameter should be an article link.
*The ''game'' parameter should be an article link.
*The ''float'' parameter corresponds to the CSS float property which should be 'left', 'right', or 'none'.  The default is 'left'.
*The ''float'' parameter corresponds to the CSS float property which should be 'left', 'right', or 'none'.  The default is 'right'.
*''captureRate'' only applies to enemies which can be captured.  This would apply to games like [[Dragon Quest V]] or [[Dragon Quest Monsters]]. Its value should be game-specific (i.e. for DQV it would be a ratio like 1/256)
*''captureRate'' only applies to enemies which can be captured.  This would apply to games like [[Dragon Quest V]] or [[Dragon Quest Monsters]]. Its value should be game-specific (i.e. for DQV it would be a ratio like 1/256)
*''bestiaryNumber'' is for games which have a bestiary listing.
*''bestiaryNumber'' is for games which have a bestiary listing.
Line 38: Line 38:
*Any unknown fields should be left blank. They will not show up in the rendered template.
*Any unknown fields should be left blank. They will not show up in the rendered template.
*'collapsed' specifies whether the displayed table should be collapsed or not.  Specifying 'false' or 'no' will not collapse the table, any other value, or omitting this parameter will cause the table to be collapsed by default.
*'collapsed' specifies whether the displayed table should be collapsed or not.  Specifying 'false' or 'no' will not collapse the table, any other value, or omitting this parameter will cause the table to be collapsed by default.
==Example==
==Example==
===Sample===
===Sample===