Template:Tile: Difference between revisions

From DDraceNetwork
fix link
Reference back to TileLink
Line 1: Line 1:
<noinclude>
<noinclude>
Usage: <code><nowiki>{{Tile|layer|index}}</nowiki></code>. No image is displayed if the layer name is misspelled or no tile exists at that index on the layer. Use [https://ddnet.tw/explain ddnet.tw/explain] to determine indices of tiles.
Usage: <code><nowiki>{{Tile|layer|index}}</nowiki></code>. No image is displayed if the layer name is misspelled or no tile exists at that index on the layer. Use [https://ddnet.tw/explain ddnet.tw/explain] to determine indices of tiles. This can be used in combination with [[Template:TileLink]]


== Examples ==
== Examples ==

Revision as of 17:47, 5 March 2022

Usage: {{Tile|layer|index}}. No image is displayed if the layer name is misspelled or no tile exists at that index on the layer. Use ddnet.tw/explain to determine indices of tiles. This can be used in combination with Template:TileLink

Examples

Caption text
Layer code preview
entities {{Tile|entities|1}}

game {{Tile|game|3}}

front {{Tile|front|66}}

tele {{Tile|tele|26}}

speedup {{Tile|speedup|28}}

switch {{Tile|switch|22}}

tune {{Tile|tune|68}}