Jump to: navigation, search

Template:BlockLink

Revision as of 19:25, 5 January 2014 by MrTJP (talk | contribs) (Created page with "<includeonly>{{SpriteLink|BlockSprite|2={{{1|}}}|3={{{2|}}}|id={{{id|}}}}}</includeonly><noinclude> {{/doc}} Category:Formatting templates")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template-info.png Documentation
Lua logo.svg
This template uses Module:Sprite, a script written in the Lua programming language. Please see wp:Lua and mw:Extension:Scribunto to learn more about Lua.

This templates creates a page link with an associated sprite image on the left side using the IDs from Template:BlockSprite. The sprite can be customized with the parameter id if it's not recognized correctly.

Examples

Code Result
{{BlockLink|Cobblestone}}
Cobblestone
{{BlockLink|Glass}}
Glass
{{BlockLink|Lava}}
Lava
{{BlockLink|id=redstone-cross-on|Redstone}}
Redstone

See also



Cookies help us deliver our services. By using our services, you agree to our use of cookies.