User:HeavenMonkey/Template:Miniature View

From Guild Wars Wiki
Jump to navigationJump to search

Arguments[edit]

1
The name of the miniature to be displayed. It will also be used to find the associated image.
2
A string representing if you have the miniature or not. Can be yes or no. Defaults to no.


Variables[edit]

These variables can be defined before including the template. See Variables Extension for more information.

show only
This variable determines when the template will produce output. Can be yes, no, 1, 0 or all. Defaults to all.
box style
A valid string of CSS declarations (separated by a semicolon) which will be passed to the container box. Defaults to "border: 1px solid #000;"
box style yes
Will be appended to box style if the miniature acquired is true.
box style no
Will be appended to box style if the miniature acquired is false.
name style
A valid string of CSS declarations (separated by a semicolon) which will be given to the name of the miniature. Defaults to an empty string.
text
The text that will be displayed in front of the check. Defaults to "Acquired:"

Notes[edit]

  • You can style the text inside the box by passing the CSS declarations to box style and override those declarations for the miniature name by passing the desired CSS to name style.
  • The resulting box is floating to the left. You can override this using the box style. If you do not, remember to close your collection of floating elements with {{clear}}.

Example[edit]

{{User:HeavenMonkey/Template:Miniature View|Miniature Aatxe | yes}}