Difference between revisions of "Template:Image label begin/doc"
Jump to navigation
Jump to search
blackwiki>Zzyzx11 (<noinclude> around the cat link since this page is transcluded to others) |
blackwiki>Qyd m (+cat Category:Dynamic map templates (will include templates using this documentation in the wiki template category)) |
||
| Line 61: | Line 61: | ||
{{Col-end}} | {{Col-end}} | ||
| − | <noinclude>[[Category:Wikipedia tools]]</noinclude> | + | <noinclude>[[Category:Wikipedia tools]]</noinclude><includeonly> |
| + | [[Category:Dynamic map templates]]</includeonly> | ||
Revision as of 15:27, 10 December 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
|