Template:Image/doc

From Citizendium
< Template:Image
Revision as of 07:21, 29 June 2010 by imported>Russell D. Jones (Created Page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is to be used for inserting images in the Citizendium. Please use this template instead of the image insertion coding.

This template will automatically insert a credit line into the image, if the credit subpage of the image was created.

Usage

When inserting an image use the following code

{{Image|image name|position|size|caption}}

Image Name:This is the page name of the image. Do not include namespace. So, "Classical elements.png" not "Image:Classical elements.png."

Position: acceptable values are "right", "left", "center"

Size: use a numeric pixel value followed by "px" without spaces. So "250px" not "250 px". Percentage values may work but I haven't tested it.

Caption: any text in the last field is inserted as is. Piped links may have to use the pipe substitution template {{!}}.

Known Quirks

Spaces before pipe characters will short-circuit the code and block some of the functionality. See Template:Image/Issues.

Example

{{Image|Classical elements.png|center|250px|A graphical representation of the Aristotelian elements}}
A graphical representation of the Aristotelian elements