Template:Infobox image/doc: Difference between revisions

From escforumwiki
Jump to navigation Jump to search
Santos (talk | contribs)
Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> == Usage == This template inserts an image with borders that look like that..."
 
Santos (talk | contribs)
m 7 revisions
 
(No difference)

Latest revision as of 20:48, 14 November 2012

Usage

This template inserts an image with borders that look like that of Template:Infobox. Use this template when you need to stack images vertically with an infobox template, such as {{Infobox}}, {{Infobox software}}, {{Infobox Windows component}} or {{Infobox website}}.

Synatx
{{Infobox image
  |name = <Image name>
  |size = <Width>
  |has border = <yes|no>
  |caption = <Image caption>
}}

Parameters

Parameter Description
name Mandatory: Image file name (including its extension) You do not need to include "File:" prefix or "Image:" prefix.
size Highly-recommended: Width of the intended image in pixels
has border Optional: Indicates whether a light border should be drawn around the image. Can be set to "yes" or "no". Default is "no". Do not use this parameter when the image has a transparent background. Do not confuse this border with the black border which is always present around the infobox.
caption Optional: A text to be written below the image.

Example of use

Template:Pre wrap

  1. REDIRECT Template:Infobox non-profit
Picture
Former office next to the Googleplex shared by both the Mozilla Foundation and the Mozilla Corporation until July 2009

See also