User:Alfwyn/Sandbox/Template:Imagebox

From YPPedia
Click [ show ] to see more
[[Image:{{{1}}}]]

Usage

These usage notes will not be included in articles bearing this template.

Show a partial preview of an image that can be expanded to a full view.

Parameters

  • image (or first parameter) required — name of the image to show, without the "Image:" prefix
  • width (or second parameter) optional — width in pixels of the preview, without the "px" postfix
  • height (or third parameter) optional — height in pixels of the preview, without the "px" postfix
  • title optional — text shown in the bar above the image

Examples

{{Imagebox|Example.jpg}}
{{Imagebox|Example.jpg|100|100}}
{{Imagebox|image=Example.jpg|width=100|height=100}}
{{Imagebox|Example.jpg|100|100|title=Example}}