Template:FileIfExisting/doc
From Dragon Mania Legends (DML) Wiki
< Template:FileIfExistingDocumentation subpage |
---|
View this documentation's related template: Template:FileIfExisting |
Example(s)
{{FileIfExisting|Gems Icon.png}}
gives:
{{FileIfExisting|Gems Icon.png|30}}
gives:
{{FileIfExisting|My Fake Test File.png}}
gives:
See Also
{{EventBox/Profile}}
, which creates the creates/populates the EventBox "Overview" section image and text header.{{EventBox}}
, which creates the side infobox on event pages.
Checks if a file exists, and if it does, produces a the full file link syntax based on the file name provided. Used by the {EventBox/Profile} template.
Parameter | Description | Type | Status | |
---|---|---|---|---|
(File Name) 1 | 1 | no description
| String | optional |
(Size) 2 | 2 | Enter the desired size in pixels (without specifying "px") | Number | optional |