The Lord of the Rings Minecraft Mod Wiki
Advertisement
The Lord of the Rings Minecraft Mod Wiki

Renew this page to show changes


Description

This is the way, to configure bar heights more comfortable. This template is used by some of the bar templates, if no size is defined there. Only numbers are returned here, the px is added automatically by the calling templates.

Syntax

Type {{Bar height|<type>}} somewhere.

  • <type> is the type of bar, you want to configure. When no type or an unknown type is provided, nothing is returned, resulting in the picture sizes to be used unchanged (default size). When a numeric expression (or number) is provided, the template returns its evaluation.
    You can use:
    • infobox, if the bar is used there.
      The size is 13 px there, resulting in a bar like this:  6 .
    • small, if you like a small size.
      The size is 11 px there, resulting in a bar like this:  6 .
    • tiny, if you like a tiny size.
      The size is 8 px there, resulting in a bar like this:  6 .

Samples

type this explanation to get this
{{Bar height}} no parameters -> nothing.
{{Bar height|unknown}} unknown type -> nothing.
{{Bar height|infobox}} known type -> predifined size. 13
{{Bar height|2.2+3.8}} numeric expression -> evaluated. 6