Difference between revisions of "Template:Image label begin/doc"
Jump to navigation
Jump to search
blackwiki>Zondor (update: <div style="position: relative;">) |
blackwiki>Zondor (→Labelled images: {{tl|Iraq football labelled map}}) |
||
| Line 21: | Line 21: | ||
===Labelled images=== | ===Labelled images=== | ||
| + | |||
| + | {{Col-begin}} | ||
| + | |||
| + | {{Col-1-of-2}} | ||
| + | |||
| + | ====Maps==== | ||
| + | |||
* {{tl|Africa Labelled Map}} | * {{tl|Africa Labelled Map}} | ||
* {{tl|Australia Labelled Map}} | * {{tl|Australia Labelled Map}} | ||
| Line 37: | Line 44: | ||
* {{tl|United States Labelled Map}} | * {{tl|United States Labelled Map}} | ||
* {{[[Defense of Sihang Warehouse/Map|:Defense of Sihang Warehouse/Map]]}} | * {{[[Defense of Sihang Warehouse/Map|:Defense of Sihang Warehouse/Map]]}} | ||
| + | |||
| + | {{Col-2-of-2}} | ||
| + | |||
| + | ====Image scaling fixed==== | ||
| + | :''Please specify the width for the image itself as well. For example, if the image template width is {{{width|400}}}, then the image itself must specify the width as {{{width|400}}} too.'' | ||
| + | * {{tl|Iraq football labelled map}} | ||
| + | |||
| + | {{Col-end}} | ||
Revision as of 14:53, 1 November 2006
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
|