Template:Tile

From Dwarf Fortress Wiki
Jump to navigation Jump to search
{{{1}}}

Template:Tile can be used to display tiles close to what they appear as in Dwarf Fortress. It is designed to be used for free-standing tiles. There is a padding-free variant for use in grids and other places where padding between the tiles is not desirable. The Dwarf template can be used to insert dwarf faces.

Usage[edit]

{{Tile|<character>|<#color>|<#background>|<size>}}
{{Tile|<character>|<#color>|<#background>}}
{{Tile|<character>|<x:y:z>}}
{{Tile|<character>|<x:y:z>||<size>}}

Special characters[edit]

Special characters can be copied from the character table. Characters used in the template syntax (e.g. | or =) need to be escaped.

Examples[edit]

Using {{Tile|*|#090|#fff}} and {{Tile|÷|0:6:0}} will insert ore chunks * and barrels ÷ into text.