Difference between revisions of "Template:Image label begin/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Zondor
(Line height style in div distorts label locations)
blackwiki>Zondor
(→‎See also: Template:Image label small)
Line 17: Line 17:
 
* <tt>&#123;{[[Template:Image label begin|Image label begin]]|image=Example.png|width=400|float=right}}</tt>
 
* <tt>&#123;{[[Template:Image label begin|Image label begin]]|image=Example.png|width=400|float=right}}</tt>
 
* <tt>&#123;{[[Template:Image label|Image label]]|x=0.25|y=0.75|scale=400|text=&#91;[Wikipedia]]}}</tt>
 
* <tt>&#123;{[[Template:Image label|Image label]]|x=0.25|y=0.75|scale=400|text=&#91;[Wikipedia]]}}</tt>
 +
* <tt>&#123;{[[Template:Image label small|Image label small]]|x=0.25|y=0.75|scale=400|text=&#91;[Wikipedia]]}}</tt>
 
* <tt>{{tl|Image label end}}</tt>
 
* <tt>{{tl|Image label end}}</tt>
  

Revision as of 11:26, 1 November 2006

Labelled
Image
Editor

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; font-size: 7pt;">


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

Labelled images