Difference between revisions of "Template:Missingimage"

From Twinsuniverse
Jump to: navigation, search
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)
m
Line 11: Line 11:
  
 
==Syntax==
 
==Syntax==
  <nowiki>{{image|filename}}</nowiki>
+
  <nowiki>{{missingimage|filename}}</nowiki>
  
 
==Examples==
 
==Examples==
  <nowiki>{{image}}</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>{{image|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" does not exist or has no description page yet.}}

Revision as of 20:31, 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.


{{missingimage|Nonexisting file.png}}
  The article image "Nonexisting file.png" does not exist or has no description page yet.