Template:Sprite

From BergerHealer Wiki
Revision as of 22:38, 25 November 2020 by RyanDo (talk | contribs) (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>|...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 Unknown
{{Sprite|Marker}}
Marker Marker
{{Sprite|Marker|Some text}}
Some text Some text