模板:Image flip
{{{1}}}
用法
编辑本模板使用以下模板样式: |
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.
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
Content | 1 | This content will have all its images flipped in some direction. | 内容 | 必需 |
Direction | direction | The direction to flip, “horiz” or “vert” only.
| 字符串 | 可选 |
示例
编辑代码 | 效果 |
---|---|
{{image flip|[[File:Example.svg |thumb |100px |Just another example.]] {{lorem ipsum span|max len=200}}}} |
|
{{image flip|[[File:Example.svg |thumb |100px |Just another example.]] {{lorem ipsum span|max len=200}}|direction=vert}} |
|
上述文档嵌入自Template:Image flip/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。 本模板的子页面。 |