Jump to content

Template:Tile

From CinderRPG Wiki

One picture button. Use it inside Template:Tiles. The whole tile is clickable.

{{Tile|Weapons}}
{{Tile|Weapons|image=Cinder tile weapons.png}}
{{Tile|Class/samurai|label=Samurai|image=Samurai.png|text=Katanas and staffs}}
{{Tile|Building Blocks|image=Thatch.png|pixel=yes}}
  • First value: the page the tile opens.
  • label: the text under the picture (the page name if left out).
  • image: an uploaded file name, without File:. Without one, the tile shows the label's first letter.
  • text: an optional short line under the label.
  • pixel=yes: keeps small Minecraft icons sharp when they are enlarged. Leave it off for painted art.

One picture button inside a Tiles panel. The whole tile opens the page.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Page1

Page the tile opens.

Page namerequired
Labellabel

Text under the picture. Defaults to the page name.

Lineoptional
Pictureimage

Uploaded file name, without File:.

Filesuggested
Short texttext

One short line under the label.

Lineoptional
Pixel artpixel

yes to keep small Minecraft icons sharp.

Booleanoptional