Template:PropVals/getIcon/doc
From Salem Wiki
< Template:PropVals | getIcon
Description
- This template is used to automatically display an icon for a page.
- The page to fetch an icon for is given as its only argument.
- If no icon can be found or it doesn't exist, then will be displayed.
- If is displayed, then the image will link to the image that should have been shown, to easy uploading one by clicking the image.
Syntax
- Type the below code somewhere on a page:
{{PropVals/getIcon|pagename}}
- pagename will default to
{{PAGENAME}}
when not provided.
Examples
- {{PropVals/getIcon}} ⇒
- {{PropVals/getIcon|Nails}} ⇒