Difference between revisions of "Template:Missingimage"

From Twinsuniverse
Jump to: navigation, search
m
(added infobox)
Line 4: Line 4:
 
     |The article image "{{{1}}}" {{categorylink|category=Articles with a missing image|catlabel=list all|label=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''' {{categorylink|category=Articles without an image|catlabel=list all|label=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>{{Infobox Template
 +
|purpose=messagebox
 +
|singletag=optional
 +
|multiline=yes
 +
|gamerelated=no
 +
|suppressible=no
 +
|choice=single
 +
|cat1=Articles with a missing image!''with filename''
 +
|cat2=Articles without an image!''without filename''
 +
|var1=
 +
}}
 +
 
 
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 23: Line 34:
 
:{{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}}.}}
 
:{{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]]
 
 
</noinclude>
 
</noinclude>

Revision as of 17:49, 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
Suppressible

No [list all]

Choice

Single category [list all]

Categories

Multiple: [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].