VOOZH about

URL: https://minecraft.wiki/w/Template:DungeonsCustomTag

⇱ Template:DungeonsCustomTag – Minecraft Wiki


Template:DungeonsCustomTag

From Minecraft Wiki
Jump to navigation Jump to search
Documentation[view] [edit] [history] [purge]

Primarily designed for the {{DungeonsTag}} template to reduce boilerplate.

Format

[edit source]

{{ DungeonsCustomTag | <name> | <background> | [<gradient>] }}

Parameters

[edit source]

Note that all parameters are index-based!

<name> -- Specifies the name of the tag. The name is displayed in UPPERCASE bold letters in black.

<background> -- Specifies the background colour to use. A gradient can be produced by specifying a gradient (see below).

<gradient> (Optional) -- Gives an optional linear gradient on the background. If given, produces a top-down gradient with the <background> colour at the top, and the <gradient> as the bottom colour.

Documentation

[edit source]

The template consists of two <span> tags, one nested inside the other. Both use a inline-block display to allow scaling. The first <span> tag specifies the background and reduced vertical scaling to counteract the extra padding from using a inline-block. The second <span> tag then sets the text back to the correct vertical size by inverting the scaling of the first <span>.

[view] [edit] [history] [purge]The above documentation is transcluded from Template:DungeonsCustomTag/doc.
Retrieved from "https://minecraft.wiki/w/Template:DungeonsCustomTag?oldid=2244081"

Navigation menu