模板: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子頁面中添加分類。本模板的子頁面。 |