Template:Sprite
Jump to navigation
Jump to search
Template used to display an icon (small image) together with a text.
The file will be scaled up/down to 20 pixels.
Usage
{{Sprite|<filename>|<text>|<filetype>}}
Field | Description | Default |
---|---|---|
Filename | The name of the file and text to display. | Unknown.png |
Text | Optional. A separate text to display. | Filename - if present - or Unknown |
Filetype | Optional. The image type (i.e. jpeg) | png |
Examples
Code | Result |
---|---|
{{Sprite}} |
Unknown |
{{Sprite|Marker}} |
Marker |
{{Sprite|Marker|Some text}} |
Some text |