Difference between revisions of "Template:Missingimage"

From Twinsuniverse
Jump to: navigation, search
(removed the incorrect mentioning of categorization)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>This renders the message on the article that the article image is missing.
+
<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=
 +
}}
  
</noinclude>{| class="mbox information" border="0" cellpadding="0" cellspacing="0"
+
This renders the message on the article that the article image is missing.
| [[Image:Imbox notice.png|40x40px|alt=|link=]] || This article or section might need an '''image''' to illustrate the subject.
+
 
|}<noinclude>
+
==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}}.}}
  
[[Category:System Templates]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 21: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

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