Template:Grid/Crafting Square Numbers

From ATLauncher Wiki
Jump to: navigation, search
Template documentation (for the above template, sometimes hidden or invisible)
Lua Logo.svg This template is written in Lua. The full source code can be found at Module:Grid/Crafting Square Numbers.

Shows a Minecraft grid number of up to 3 digits.

Syntax[edit]

{{Grid/Crafting Square Numbers|<params>}}

Parameters[edit]

  • 1: The number value.
  • 2: The link for the image. (optional)

Examples[edit]

A gray background is displayed behind the output to clarify. This background is not present when using the template. The template output is positioned relative to the rectangle's upper-left corner.

1[edit]

The number 1 is not shown, but the template is still parsed!

{{Grid/Crafting Square Numbers|1}}

gives...

GridNumbersCSS.pngGridNumbersCSS.pngGridNumbersCSS.png

1 digit[edit]

{{Grid/Crafting Square Numbers|4}}

gives...

GridNumbersCSS.pngGridNumbersCSS.pngGridNumbersCSS.png

2 digits[edit]

{{Grid/Crafting Square Numbers|64}}

gives...

GridNumbersCSS.pngGridNumbersCSS.pngGridNumbersCSS.png

3 digits[edit]

{{Grid/Crafting Square Numbers|128}}

gives...

GridNumbersCSS.pngGridNumbersCSS.pngGridNumbersCSS.png
Visit Template:Grid/Crafting Square Numbers/doc to change this text! (How does this work?)

Done making changes? Refresh this text! (Why?)