Difference between revisions of "Template:NeedsImage"

The Beyond Skyrim Wiki — Hosted by UESP
Jump to: navigation, search
(Move docs to doc page; add includeonly; tweak namespace checking)
 
m (clean out MetaTemplate)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{Notice|border=#AAAAFF|bgcolor=#EEFFEE|align=center|message='''This article {{#switch:{{NS_NAME}}
+
<includeonly>{{Notice|border=#AAAAFF|bgcolor=#EEFFEE|align=center|message='''This article could benefit from an image'''{{#if:{{{1|}}}|&#32;'''of:'''<br>''{{{1}}}''|.}}<br><span style="font-size: 90%;">See [[Help:Images]] for information on how to upload images.  Please remove this template from the page when finished.</span>}}{{#switch:{{SUBJECTSPACE}}
|Daggerfall|Morrowind|Bloodmoon|Tribunal=has been flagged by a [[UESPWiki:{{NS_PARENT}} Redesign Project|{{NS_PARENT}} Redesign project]] contributor as needing
 
|could benefit from}} an image'''{{#if:{{{1|}}}|&#32;'''of:'''<br>''{{{1}}}''|.}}<br><span style="font-size: 90%;">See [[Help:Images]] for information on how to upload images.  Please remove this template from the page when finished.</span>}}{{#switch:{{SUBJECTSPACE}}
 
 
|User|Template=
 
|User|Template=
|[[Category:{{NS_NAME}}{{#if:{{{2|}}}|-{{{2}}}}} Pages Needing Images]][[Category:All Pages Needing Images]]}}</includeonly><noinclude>{{/Doc}}</noinclude>
+
|[[Category:{{NAMESPACE}}{{#if:{{{2|}}}|-{{{2}}}}} Pages Needing Images]][[Category:All Pages Needing Images]]}}</includeonly><noinclude>{{/Doc}}</noinclude>

Latest revision as of 18:53, 30 June 2017

Summary[edit]

Indicates that an article could benefit from an image. Pages using this template will be listed in the All Pages Needing Images category, as well as the namespace's Pages Needing Images category (or the appropriate sub-category, if the second parameter is specified).

Parameters[edit]

NeedsImage
Parameter Scope Description
1 optional A description of the image required.
2 optional The category of image, e.g. NPC, Quest, Place, etc.

Example[edit]

Code Notes Output
{{NeedsImage}} If placed on an Online page, this example would categorize the page into All Pages Needing Images and Online Pages Needing Images.
This article could benefit from an image.
See Help:Images for information on how to upload images. Please remove this template from the page when finished.
{{NeedsImage|2=Quest}} If placed on a Skyrim page, this example would categorize the page into All Pages Needing Images and Skyrim-Quest Pages Needing Images.
This article could benefit from an image.
See Help:Images for information on how to upload images. Please remove this template from the page when finished.
{{NeedsImage}} If placed on Daggerfall or Morrowind pages, the text changes, but the categories remain the same.
This article could benefit from an image.
See Help:Images for information on how to upload images. Please remove this template from the page when finished.