Template:NoImage: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
m (This works better for infoboxes, most likely place for it to be used.)
(Changed so the target image would go directly to the upload form with the image under that name.)
Line 1: Line 1:
<onlyinclude>[[File:No Image.png|{{{1|200px}}}|{{{2|center}}}|link={{{3|Special:Upload}}}]]<includeonly>{{Cat|Articles With Missing Images}}</includeonly></onlyinclude>
<onlyinclude>[[File:No Image.png|{{{1|200px}}}|{{{2|center}}}|link={{#if:{{{3|}}}|http://www.zeldadungeon.net/wiki/index.php?title=Special:Upload&wpDestFile={{urlencode:{{{3|}}}}}|Special:Upload}}]]<includeonly>{{Cat|Articles With Missing Images}}</includeonly></onlyinclude>
{{clear}}
{{clear}}
==Purpose==
==Purpose==
Line 8: Line 8:
{{Usage/Param|Size|Size to make the placeholder image. Defaults to 200px.|Optional}}
{{Usage/Param|Size|Size to make the placeholder image. Defaults to 200px.|Optional}}
{{Usage/Param|Position|Position to orientate the placeholder image. Either ''left'', ''right'', or ''center''. Defaults to ''center''.|optional}}
{{Usage/Param|Position|Position to orientate the placeholder image. Either ''left'', ''right'', or ''center''. Defaults to ''center''.|optional}}
{{Usage/Param|Target|Page to have the placeholder to link to. For example the proper name of the eventual image if desired to create a valid redlink. Defaults to the image upload page.|optional}}
{{Usage/Param|Target|Page to have the placeholder to link to. For example the proper name of the eventual image if desired to create a valid link to the image upload form. Defaults to the base image upload page.|optional}}


{{Cat|Formatting Templates}}
{{Cat|Formatting Templates}}

Revision as of 06:34, October 1, 2016

No Image.png

Purpose

This template is for quickly putting down a placeholder image and adding the page it is used on to a hidden category marking the article as having a missing image.

Usage

To use this template, use the format {{NoImage| Size | Position | Target }}

  • Size — Size to make the placeholder image. Defaults to 200px. (Optional.)
  • Position — Position to orientate the placeholder image. Either left, right, or center. Defaults to center. (Optional.)
  • Target — Page to have the placeholder to link to. For example the proper name of the eventual image if desired to create a valid link to the image upload form. Defaults to the base image upload page. (Optional.)