Template:BlockLink: Difference between revisions

From TerraFirmaCraft Plus Wiki
Jump to navigation Jump to search
SpAnser (talk | contribs)
m Reverted edits by SpAnser (talk) to last revision by R2-D2
 
Aliceingame (talk | contribs)
No edit summary
 
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}}
{{doc}}


[[Category:Formatting templates]]
[[Category:Formatting templates]]
[[fr:Modèle:LienBloc]]
</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



Visit Template:BlockLink/doc to edit this text! (How does this work?)