跳转到内容

模板: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