Template:BlockLink
From TibiaCraft
This templates creates a page link with an associated sprite image on the left side using the format from Template:BlockSprite.
Parameters
| Name | Usage |
|---|---|
|1=
|
Set the defaults for all other parameters |
|id=
|
Sets the sprite. Spaces within this parameter are replaced with dashes and letters are made lowercase. Value may be a name or a number, though names are preferred |
|link=
|
Set the page to link, supports internal and external links If set to none, no link will be added
|
|text= or |2=
|
Sets the text to be displayed |
Word-ending links such as {{EntityLink|Creeper}}s will not include the suffix as part of the link text, unlike normal links. The text= or second unnamed argument should be used instead; i.e. {{EntityLink|Creeper|Creepers}}
Examples
| Code | Result |
|---|---|
| {{BlockLink|Cobblestone}} | File:BlockSprite cobblestone.pngCobblestone |
| {{BlockLink|Glass}} | File:BlockSprite glass.pngGlass |
| {{BlockLink|Lava}} | File:BlockSprite lava.pngLava |
| {{BlockLink|id=redstone-dust-cross-on|Redstone}} | File:BlockSprite redstone-dust-cross-on.pngRedstone |
Full list
Here is a full list of entities:
See also
{{BlockSprite}}{{Block}}(infobox){{Blocks}}(navbox)
[view] [edit] [history] [purge]The above documentation is transcluded from Template:BlockLink/doc.