模板:Image label end
A div within a div is used to avoid the labels offsetting a little higher than expected when floating left or right:
- <div style="float: {{{float|none}}}; clear: {{{float|none}}};">
- <div style="position: relative;">
Template page may need to be reloaded once to eliminate the slight horizontal offset.
Line height style in div distorts label locations
This template is a self-reference and so is part of the Wikipedia project rather than the encyclopaedic content.
See also
- {{Image label begin|image=Example.png|width=400|float=right}}
- {{Image label|x=0.25|y=0.75|scale=400|text=Wikipedia}}
- {{Image label small|x=0.25|y=0.75|scale=400|text=Wikipedia}}
- {{Image label end}}
Labelled images
Maps
|
Image scaling fixed
|
上述文档嵌入自Template:Image label end/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |