Template:BlockLink/doc: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
m 1 revision imported
Carter57 (talk | contribs)
Removed deprecated documentation
 
Line 18: Line 18:
| <nowiki>{{BlockLink|id=redstone-dust-cross-on|Redstone}}</nowiki> || {{BlockLink|id=redstone-dust-cross-on|Redstone}}
| <nowiki>{{BlockLink|id=redstone-dust-cross-on|Redstone}}</nowiki> || {{BlockLink|id=redstone-dust-cross-on|Redstone}}
|}
|}
== Full list ==
Here is a full list of entities:
<div class="js-spritedoc" data-sprite-name="BlockSprite">[[:Category:BlockSprite images]]</div>
== See also ==
* {{tl|BlockSprite}}
* {{tl|Block}} (infobox)
* {{tl|Blocks}} (navbox)
{{Link see also}}


<!-- template categories/interwikis here -->
<!-- template categories/interwikis here -->
<includeonly>
[[Category:Link templates]]
[[de:Vorlage:BlockLink]]
[[es:Plantilla:EnlaceBloque]]
[[fr:Modèle:LienBloc]]
[[it:Template:CollegamentoBlocco]]
[[ja:テンプレート:BlockLink]]
[[ko:틀:BlockLink]]
[[lzh:模板:BlockLink]]
[[nl:Sjabloon:BlockLink]]
[[pl:Szablon:BlockLink]]
[[pt:Predefinição:BlockLink]]
[[ru:Шаблон:Ссылка/Блок]]
[[th:แม่แบบ:BlockLink]]
[[uk:Шаблон:Посилання/Блок]]
[[zh:Template:BlockLink]]
</includeonly>


<!-- doc categories/interwikis here -->
<!-- doc categories/interwikis here -->
<noinclude>
<noinclude>
[[de:Vorlage:BlockLink/Dokumentation]]
[[es:Plantilla:EnlaceBloque/doc]]
[[fr:Modèle:LienBloc/doc]]
[[it:Template:CollegamentoBlocco/doc]]
[[ja:テンプレート:BlockLink/doc]]
[[ko:틀:BlockLink/doc]]
[[lzh:模板:BlockLink/doc]]
[[nl:Sjabloon:BlockLink/doc]]
[[pl:Szablon:BlockLink/opis]]
[[pt:Predefinição:BlockLink/doc]]
[[ru:Шаблон:Ссылка/Блок/док]]
[[th:แม่แบบ:BlockLink/doc]]
[[uk:Шаблон:Посилання/Блок/док]]
[[zh:Template:BlockLink/doc]]
</noinclude>
</noinclude>

Latest revision as of 01:42, 2 June 2026

This is the documentation page. It should be transcluded into Template:BlockLink. See Template:Documentation for more information.
This template uses Module:SpriteFile, a script written in Lua.

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