Difference between revisions of "Template:Missingimage"
From Twinsuniverse
J McKalling (Talk | contribs) m (J McKalling moved page Template:Image to Template:Missingimage without leaving a redirect: this template isn't about an image, but about the fact one is missing) |
J McKalling (Talk | contribs) m |
||
Line 11: | Line 11: | ||
==Syntax== | ==Syntax== | ||
− | <nowiki>{{ | + | <nowiki>{{missingimage|filename}}</nowiki> |
==Examples== | ==Examples== | ||
− | <nowiki>{{ | + | <nowiki>{{missingimage}}</nowiki> |
:{{mbox|class=notice|This article or section might need an '''image''' to illustrate the subject.}} | :{{mbox|class=notice|This article or section might need an '''image''' to illustrate the subject.}} | ||
− | <nowiki>{{ | + | <nowiki>{{missingimage|Nonexisting file.png}}</nowiki> |
:{{mbox|class=notice|The article image "Nonexisting file.png" does not exist or has no description page yet.}} | :{{mbox|class=notice|The article image "Nonexisting file.png" does not exist or has no description page yet.}} |
Revision as of 19:31, 23 December 2012
This renders the message on the article that the article image is missing.
Parameters
- The filename of the image that is missing, or an empty string to indicate the reference is missing altogether (case sensitive, defaults to empty string)
Syntax
{{missingimage|filename}}
Examples
{{missingimage}}
This article or section might need an image to illustrate the subject. |
{{missingimage|Nonexisting file.png}}
The article image "Nonexisting file.png" does not exist or has no description page yet. |