Difference between revisions of "Template:Missingimage"
From Twinsuniverse
J McKalling (Talk | contribs) |
J McKalling (Talk | contribs) (removed the incorrect mentioning of categorization) |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | < | + | <includeonly> |
+ | {{mbox|class=notice|{{ | ||
+ | #if: {{{1|}}} | ||
+ | |The article image "{{{1}}}" {{categorylink|category=Articles with a missing image|catlabel=list all|label=does not exist or has no description page yet}}. | ||
+ | |This article or section might need an '''image''' {{categorylink|category=Articles without an image|catlabel=list all|label=to illustrate the subject}}. | ||
+ | }}}}</includeonly><noinclude>{{Infobox Template | ||
+ | |purpose=messagebox | ||
+ | |singletag=optional | ||
+ | |multiline=yes | ||
+ | |gamerelated=no | ||
+ | |suppressible= | ||
+ | |choice= | ||
+ | |cat1= | ||
+ | |var1= | ||
+ | }} | ||
− | < | + | 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== | ||
+ | <nowiki>{{missingimage|filename}}</nowiki> | ||
+ | |||
+ | ==Examples== | ||
+ | <nowiki>{{missingimage}}</nowiki> | ||
+ | |||
+ | :{{mbox|class=notice|This article or section might need an '''image''' {{categorylink|category=Articles without an image|catlabel=list all|label=to illustrate the subject}}.}} | ||
+ | |||
+ | |||
+ | <nowiki>{{missingimage|Nonexisting file.png}}</nowiki> | ||
+ | |||
+ | :{{mbox|class=notice|The article image "Nonexisting file.png" {{categorylink|category=Articles with a missing image|catlabel=list all|label=does not exist or has no description page yet}}.}} | ||
− | |||
</noinclude> | </noinclude> |
Latest revision as of 20:22, 4 June 2014
Missingimage | |
---|---|
Purpose |
Messagebox [list all] |
Single tag |
Optional [list all] |
Multi-line |
Yes [list all] |
Protected |
No [list all] |
Game related |
No [list all] |
Categorization | |
Categories |
none [list all] |
Variables | |
Names |
none [list all] |
Subpages |
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 [list all]. |
{{missingimage|Nonexisting file.png}}
The article image "Nonexisting file.png" does not exist or has no description page yet [list all]. |