模板:Image flip

{{{1}}}

文件圖示 模板文件[檢視] [編輯] [歷史] [清除快取]

用法

編輯
這是用於新版視覺化編輯器及其他工具的模板資料文件。

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.

模板參數[編輯模板資料]

參數描述類型狀態
Content1

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

內容必填
Directiondirection

The direction to flip, 「horiz」 or 「vert」 only.

建議值
horiz vert
預設
Defaults to horizontal if not set.
字串非必填

示例

編輯
原始碼 效果
{{image flip|[[File:Example.svg |thumb |100px |Just another example.]] {{lorem ipsum span|max len=200}}}}
Just another example.
Template:Lorem ipsum span
{{image flip|[[File:Example.svg |thumb |100px |Just another example.]] {{lorem ipsum span|max len=200}}|direction=vert}}
Just another example.
Template:Lorem ipsum span