Template:Image flip/doc

From MOASSpedia
< Template:Image flip
Revision as of 18:02, 8 November 2021 by Wikipedia>GKFX (Document template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Image flip

This template causes all images contained within it to be flipped horizontally by default, or vertically if configured to do so. It should *not* be used to flip real photographs in articles unless the use of the flip is relevant and clearly noted, as this is otherwise misleading.

Template parameters

ParameterDescriptionTypeStatus
Content1

This content will have all its images flipped in some direction.

Contentrequired
Directiondirection

The direction to flip, “horiz” or “vert” only.

Suggested values
horiz vert
Default
Defaults to horizontal if not set.
Stringoptional

Examples

Markup Renders as
{{image flip|[[File:Example.svg |thumb |100px |Just another example.]] {{lorem ipsum span|max len=200}}}}
Just another example.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut a
{{image flip|[[File:Example.svg |thumb |100px |Just another example.]] {{lorem ipsum span|max len=200}}|direction=vert}}
Just another example.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut a