Template:BlockLink/doc
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
- {{BlockSprite}}
- {{Block}} (infobox)
- {{Blocks}} (navbox)
- {{BiomeLink}}
- {{BlockLink}}
- {{EffectLink}}
- {{EntityLink}}
- {{EnvLink}}
- {{InvLink}}
- {{ItemLink}}
- Module:Sprite
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.