Difference between revisions of "Template:Missingimage"

From Twinsuniverse
Jump to: navigation, search
m
m
Line 2: Line 2:
 
{{mbox|class=notice|{{
 
{{mbox|class=notice|{{
 
     #if: {{{1|}}}
 
     #if: {{{1|}}}
     |The article image "{{{1}}}" does not exist or has no description page yet.
+
     |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''' to illustrate the subject.
+
     |This article or section might need an '''image''' {{categorylink|category=Articles without an image|catlabel=list all|label=to illustrate the subject}}.
 
}}}}</includeonly><noinclude>
 
}}}}</includeonly><noinclude>
 
This renders the message on the article that the article image is missing.
 
This renders the message on the article that the article image is missing.
Line 16: Line 16:
 
  <nowiki>{{missingimage}}</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''' {{categorylink|category=Articles without an image|catlabel=list all|label=to illustrate the subject}}.}}
  
  
 
  <nowiki>{{missingimage|Nonexisting file.png}}</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" {{categorylink|category=Articles with a missing image|catlabel=list all|label=does not exist or has no description page yet}}.}}
  
 
[[Category:Mboxes]]
 
[[Category:Mboxes]]
 
</noinclude>
 
</noinclude>

Revision as of 20:52, 23 December 2012

This renders the message on the article that the article image is missing.

Parameters

  1. 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].