Difference between revisions of "Template:Fake image"
Jump to navigation
Jump to search
imported>Wikid77 (changed margins to 7px to match a real image-box; example "Next Movie") |
imported>GKFX (→See also: Add to see also) |
||
| Line 39: | Line 39: | ||
</pre> | </pre> | ||
==See also== | ==See also== | ||
| + | * {{tl|Image frame}}: displays any content in an image-style frame | ||
* [[Help:Table]] - to customize tables of images | * [[Help:Table]] - to customize tables of images | ||
Revision as of 09:33, 1 February 2018
{{{2}}}
|
The Template:Fake image displays a box which looks like an empty image containing the strike-through name, parameter {{{1}}}, of an image file (which formerly existed or might exist later). The box can show a caption, as parameter {{{2}}}, under the empty image. The top and inner margins each default to 8px (similar to actual images), but can be reset by style=xxxx.
Parameters:
- style=margin: 1px 2px 3px 4px - set margins for top/right/bottom/left.
- align=left - or align=center (default: align=right)
The usage format is:
{{fake image
| image name.ext
| caption
| width = 122px
| align = left / center / right
}}
Only the image name is required. This template is useful for delinking images in archives used on commons (where a placeholder is useful).
Examples
The following are examples of usage:
Image of movie poster (to be released)
|
{{fake image
| Next Movie poster.jpg
| Image of movie poster (to be released)
| width = 190px
| align = right
}}
See also
- {{Image frame}}: displays any content in an image-style frame
- Help:Table - to customize tables of images