Template:Icon
Jump to navigation
Jump to search
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
Syntax
Regular usage
{{Icon|Lamball}}
With Link Text Alias
{{Icon|Lamball|A Good Lamboi}}
Without Link Text
{{Icon|Lamball|none}}
Invalid Page
{{Icon|Lamboi}}
Template Parameters
Precedes a wiki page link with an icon. The link text can optionally be disabled by using the string "none" as the argument to the linktext parameter.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Target Page | 1 TargetPage | The wiki page the link will direct to. The page title will be used to query the file to use as the icon with the format File:<1>_icon.png | Page name | required |
Link Text Alias | 2 TextAlias | The text to display on the link. Using "none" as the string argument to this parameter disables displaying the page link leaving just the icon. | String | optional |
Source
Improved version not needing t/piece sub template developed on Templates wiki see the list of authors. Copied here via CC-By-SA 3.0 license.