Template:BlockLink

From Better Than Wolves Wiki
Revision as of 08:18, 18 December 2011 by PatrickSJ (talk | contribs) (Created page with "<includeonly>{{SpriteLink|BlockSprite|2={{{1|}}}|3={{{2|}}}|id={{{id|}}}}}</includeonly><noinclude> {{/doc}} Category:Formatting templates </noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Template-info.png Documentation

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|Hopper}}
BTW BlockCSS.png
Hopper
{{BlockLink|Light Block|id=light-block-on}}
BTW BlockCSS.png
Light Block
{{BlockLink|Light Block|id=light-block-off}}
BTW BlockCSS.png
Light Block
{{BlockLink|Cauldron|id=cauldron}}
BTW BlockCSS.png
Cauldron

See also

The above documentation is transcluded from Template:BlockLink/doc. (edit | history)