Difference between revisions of "Template:Missingimage"

From Twinsuniverse
Jump to: navigation, search
m
Line 1: Line 1:
<includeonly>{{mbox|class=notice|This article or section might need an '''image''' to illustrate the subject.}}</includeonly><noinclude>
+
<includeonly>{{mbox|class=notice|{{
 +
#if: {{{1|}}}
 +
|The article image "{{{1}}}" does not exist or has no description page yet.
 +
|This article or section might need an '''image''' to illustrate the subject.
 +
}}}}</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.
  
==Example==
+
==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>{{image|filename}}</nowiki>
 +
 
 +
==Examples==
 
  <nowiki>{{image}}</nowiki>
 
  <nowiki>{{image}}</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>
 +
 +
:{{mbox|class=notice|The article image "Nonexisting file.png" does not exist or has no description page yet.}}
  
 
[[Category:Mbox Templates]]
 
[[Category:Mbox Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 01:28, 8 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

{{image|filename}}

Examples

{{image}}
  This article or section might need an image to illustrate the subject.


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