# வார்ப்புரு:Image label begin/doc



This is a and thus is part of the Wikipedia project rather than the encyclopaedic content.  

## Usage
Consider this example, adapted from Template:Australia Labelled Map:  
<syntaxhighlight lang="wikitext">  

...  

</syntaxhighlight>  

## Parameters
### width/scale

A number of pixels. Default is 400. (Do not include "px" after the number.)  

If is given for , **the same value must be given as ** for , or the labels will become misaligned if the image is resized. When used in a template, the simplest way to ensure this is by passing through the same parameter, as in the example. For example, *&#123;{Australia Labelled Map|width=500}}* displays the labelled image as a larger one of 500 pixels in width instead of the default, 400.  

For earthly geographic maps, conforming to these specifications can allow easier conversion to for any other purposes such as for the use of .  

### x/y

X values are always between 0 and 1. For square images, Y values are also between 0 and 1. The maximum Y value is higher for tall images, lower for wide images. The X and Y values represent the fraction of the width where the label will be placed. The exact point is the top- corner of the image label.  
x=0 |y=0 will place the top- corner of the label at the top- of a square image  
x=0 |y=1 will place the top- corner of the label at the bottom- of a square image  
x=1 |y=1 will place the top- corner of the label at the bottom- of a square image  
x=1 |y=0 will place the top- corner of the label at the top- of a square image  
x=0.5|y=0.5 will place the top- corner of the label at the centre of a square image  

### image

The title of the wiki page of the image without the "Image:" prefix.  

### text

The text label to display as wiki markup.  

### float

Four options:  

- – makes the image sit on its own line of the page (default)
- – centers the image relative to the page
- – makes the image pushed to the of the page
- – makes the image pushed to the of the page

### font-size

Optional. If given, specifies a font size for the labels. For example, displays labels in a smaller font size. If omitted, font size will inherit from surrounding content.  

can also be set on each individual to adjust the font size for that label.  

### font-stretch

Available only in . If given, alters text width for a label. The proper value could be <code>normal</code>, <code>semi-condensed</code>, <code>condensed</code>, <code>extra-condensed</code>, <code>ultra-condensed</code>, <code>semi-expanded</code>, <code>expanded</code>, <code>extra-expanded</code> or <code>ultra-expanded</code>, or alternatively a percentage number, for example: .  

### text-align

Optional. If given, affects the line-by-line alignment within labels with line breaks. If omitted, the default text alignment is centered.  

### link

Specifies where the image should link to. If <code>File:</code> (the default), the image links to its file page. If empty, the image does not link to anything; this is appropriate for purely decorative images.  

### alt

Specifies text to be used in the image's "alt" attribute. If is empty, this should be empty; if is <code>File:</code> or is not given, this should describe the image; if points to some other page this should describe the action that will be taken if you click on the image. See .  

### caption

Specifies text to be used in the image's "title" attribute.  
In certain browsers, this text will appear in a tooltip when the mouse pointer is rolled over it.  

## Template set
- 
  - (template redirect to )
- 
  - (deprecated, use on or instead)
- 

## Tool
- Labelled Image Editor

## Sample labelled images

- 
- 
- 
- 
  - 
  - 
- 
- 
- 
- 
- 
- 
- 
- 
  - 
  - 
- 
- 
- 
- 
- 
- 
- 
- 
  - 
- 
  - 
- 
- 
- 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
- 
- 
- 
- 
  - 
  - 
  - 
- 
- 
- 
- 
- 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
  - 
- 
- 
- 
- 
- 
- 

## Tracking categories
- 
- <includeonly>

</includeonly>