Difference between revisions of "Template:BlockLink/doc"
From TerraFirmaCraft Plus Wiki
m (1 revision) |
Aliceingame (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | ||
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 <code>id</code> if it's not recognized correctly. | 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 <code>id</code> if it's not recognized correctly. | ||
Line 23: | Line 23: | ||
* {{tl|Blocks}} (navbox) | * {{tl|Blocks}} (navbox) | ||
− | + | <noinclude> | |
− | + | ||
− | + | ||
</noinclude> | </noinclude> |
Latest revision as of 23:50, 16 May 2014
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)