Difference between revisions of "Template:BlockLink"
From TerraFirmaCraft Plus Wiki
Aliceingame (Talk | contribs) |
|||
Line 1: | Line 1: | ||
<includeonly>{{SpriteLink|BlockSprite|2={{{1|}}}|3={{{2|}}}|id={{{id|}}}}}</includeonly><noinclude> | <includeonly>{{SpriteLink|BlockSprite|2={{{1|}}}|3={{{2|}}}|id={{{id|}}}}}</includeonly><noinclude> | ||
− | {{ | + | {{doc}} |
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
− | |||
</noinclude> | </noinclude> |
Latest revision as of 23:51, 16 May 2014
Template documentation (for the above template, sometimes hidden or invisible)
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
- {{BlockLink}}
- {{EnvLink}}
- {{ItemLink}}
- {{EntityLink}}
- {{SpriteLink}}
- {{BlockSprite}}
- {{Block}} (infobox)
- {{Blocks}} (navbox)
Visit Template:BlockLink/doc to edit this text! (How does this work?)