Template:BlockLink/doc

From MC Public Wiki
Jump to navigation Jump to search

{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}

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|Cobblestone}}
BlockCSS.png
Cobblestone
{{BlockLink|Glass}}
BlockCSS.png
Glass
{{BlockLink|Lava}}
BlockCSS.png
Lava
{{BlockLink|id=redstone-cross-on|Redstone}}
BlockCSS.png
Redstone

See also

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.

fr:Modèle:LienBloc/doc