Difference between revisions of "Template:Sprite"

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "<noinclude>Template used to display an icon (small image) together with a text.<br> The file will be scaled up/down to 20 pixels. == Usage == <pre>{{Sprite|<filename>|<text>|...")
 
(No difference)

Latest revision as of 22:38, 25 November 2020

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 Unknown
{{Sprite|Marker}}
Marker Marker
{{Sprite|Marker|Some text}}
Some text Some text