Template:Sprite/LinkParameters: Difference between revisions
m (1 revision imported: Imported from minecraft.wiki) |
m (1 revision imported) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
== Parameters == | == Parameters == | ||
{| class="wikitable" | {| class="wikitable" | ||
! Name | ! Name | ||
| Line 16: | Line 15: | ||
| {{p|text}} or {{p|2}} | | {{p|text}} or {{p|2}} | ||
| Sets the text to be displayed | | Sets the text to be displayed | ||
|}<noinclude> | |} | ||
Word-ending links such as <code><nowiki>{{EntityLink|Creeper}}s</nowiki></code> will not include the suffix as part of the link text, unlike normal links. The <code>text=</code> or second unnamed argument should be used instead; i.e. <code><nowiki>{{EntityLink|Creeper|Creepers}}</nowiki></code><noinclude> | |||
{{documentation}} | {{documentation}} | ||
<!-- Put categories/interwiki on the documentation page --> | <!-- Put categories/interwiki on the documentation page --> | ||
Latest revision as of 22:18, 18 November 2026
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}}