Template:Image tag/doc

The image label start, image label, small image label and image label end templates are used to create tagged images.

Use
The following example shows how to use templates: 

Start image tag

 * image: name of the image without the File:, for example Example.png.
 * width: length of the image in pixels.
 * position: position of the image in the text. It will have the possible values none (the default value), left and right.
 * background color: Background color of the image.
 * alt: alternative text to display in the image while loading.
 * enlace:

Image tag and small image tag

 * scale: Parameter used to display the image at different sizes. It will normally be equal to the width of the image used in the start image tag. If not reported, a scale of 1 will be taken by default.
 * x and y: coordinates of the text position according to the scale. For example, if the scale coincides with the width of the image (400) at the point (100, 300), it will correspond to an x of 100/400=0.25 and an y of 300/400 = 0.75.
 * text: label text.

Examples
 {{picture box | | title = Ranvier's Nodes | position = right | content = {{start image tag | image = Neuron-no_labels.png | width = }} {{image tag | x = 0.14 | y = 0.025 | scale = | text = Dendrite}} {{image tag | x = 0.3525 | y = 0.17 | scale = {{{width | 400}}} | text = Soma}} {{image tag | x = 0.3625 | y = 0.435 | scale = {{{width | 400}}} | text = Axon}} {{image tag | x = 0.0475 | y = 0.5125 | scale = {{{width | 400}}} | text = Nucleus}} {{image tag | x = 0.58 | y = 0.115 | scale = {{{width | 400}}} | text = Node Ranvier }} {{image tag | x = 0.8125 | y = 0.02 | scale = {{{width | 400}}} | text = Terminal axon}} {{image tag | x = 0.7525 | y = 0.4225 | scale = {{{width | 400}}}} text = {{small | Schwann cell}}}} {{image tag | x = 0.565 | y = 0.4875 | scale = {{{width | 400}}} | text = Myelin sheath}} | foot = Structure of a classic neuron }}
 * Use with template picture box

{{Picture box {{start image tag | image = Neuron-no_labels.png | width = {{{width | 400}}}}} {{image tag | x = 0.14 | y = 0.025 | scale = {{{width | 400}}} | text = Dendrite}} {{image tag | x = 0.3525 | y = 0.17 | scale = {{{width | 400}}} | text = Soma}} {{image tag | x = 0.3625 | y = 0.435 | scale = {{{width | 400}}} | text = Axon}} {{image tag | x = 0.0475 | y = 0.5125 | scale = {{{width | 400}}} | text = Nucleus}} {{image tag | x = 0.58 | y = 0.115 | scale = {{{width | 400}}} | text = Node Ranvier }} {{image tag | x = 0.8125 | y = 0.02 | scale = {{{width | 400}}} | text = Terminal axon}} {{image tag | x = 0.7525 | y = 0.4225 | scale = {{{width | 400}}}} text = {{small | Schwann cell}}}} {{image tag | x = 0.565 | y = 0.4875 | scale = {{{width | 400}}} | text = Myelin sheath}} }}
 * title = Ranvier's Nodes
 * position = right
 * content =
 * foot = Structure of a classic neuron