Difference between revisions of "Template:Fake image"

From blackwiki
Jump to navigation Jump to search
imported>JsfasdF252
imported>JsfasdF252
 
Line 7: Line 7:
 
</div>}}
 
</div>}}
 
|}<noinclude>
 
|}<noinclude>
 
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.<br>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:
 
<pre>
 
{{fake image
 
| image name.ext
 
| caption
 
| width = 122px
 
| align = left / center / right
 
}}
 
</pre>
 
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:
 
{{fake image
 
| Next Movie poster.jpg
 
| Image of movie poster (to be released)
 
| width = 190px
 
| align = right
 
}}
 
<pre>
 
{{fake image
 
| Next Movie poster.jpg
 
| Image of movie poster (to be released)
 
| width = 190px
 
| align = right
 
}}
 
</pre>
 
==See also==
 
* {{tl|Image frame}}: displays any content in an image-style frame
 
* {{tl|Pseudo image}}
 
* [[Help:Table]] - to customize tables of images
 
 
[[Category:Wikipedia formatting and function templates|Fake image]]
 
[[Category:Placeholder templates|Fake image]]
 
</noinclude><noinclude>
 
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->
 
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 19:16, 15 December 2020

{{{1}}}
{{{2}}}
Template documentation[view] [edit] [history] [purge]

Usage

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:

Next Movie poster.jpg
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