Template:Sprite/LinkParameters: Difference between revisions

From Parallel Wiki
Jump to navigation Jump to search
m (1 revision imported: Imported from minecraft.wiki)
No edit summary
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 -->

Revision as of 07:23, 30 December 2024

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}}

Documentation[create] [purge]
This template has no documentation. If you know how to use this template, please create it.