Sjabloon:Beeldetiket begin/Dokumentasie


Hierdie sjabloon dokumentasie is nog nie volledig vertaal nie.
Moet asseblief nie in etiketbeeldsjablone wydtes en skale van -1 gebruik nie. Gebruik wydtes en hoogtes groter as 0 en presies dieselfde in elke sjabloon. Byvoorbeeld as wydte 300 is dan moet alle skale ook 300 wees.

Hierdie sjabloon is self-verwysend en is dus deel van Wikipedia projek en nie die ensiklopediese inhoud nie.

Die sjabloon sal outomaties die huidige sjabloon kategoriseer na: Kategorie:Geëtiketteerde beeldkaart sjablone.


Hierdie sjabloon se dokumentasie is vanaf Sjabloon:Beeldetiket begin/Dokumentasie [wysig].



Hoe om te gebruik

Consider this example for en:Template:Australia Labelled Map:

{{Image label begin |width={{{width|400}}} |image=Australia location map recolored.png |float={{{float|none}}}}}
{{Image label small |scale={{{width|400}}} |x=0.260 |y=0.3450 |text=[[Western Australia]]}}
{{Image label small |scale={{{width|400}}} |x=0.480 |y=0.2000 |text=[[Northern Territory]]}}
{{Image label small |scale={{{width|400}}} |x=0.505 |y=0.4025 |text=[[South Australia]]}}
...
{{Image label end}}

Width/Scale

In this example, all widths must be set to the same number of 400 as the default width. They must all be the same number of 400 for the template to be functionally scalable. This means they can be displayed at a different size by supplying a width parameter to the template when in use. For example, {{Australia Labelled Map|width=500}} will display the labelled image as a larger one of 500 pixels in width instead of 400.

To change the default size, search and replace "{{{width|400}}}" with "{{{width|500}}}".

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

X/Y

X and Y values are always between 0 and 1. They represent the percentages of the width and height respectively where the label will be placed. The exact point is the top-left corner of the image label.

x=0  |y=0   will place the top-left corner of the label at the top-left     of the image
x=0  |y=1   will place the top-left corner of the label at the bottom-left  of the image
x=1  |y=1   will place the top-left corner of the label at the bottom-right of the image
x=1  |y=0   will place the top-left corner of the label at the top-right    of the image
x=0.5|y=0.5 will place the top-left corner of the label at the centre       of the 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

Three options:

{{{float|none}}}  makes the image sit on its own line of the page by default
{{{float|left}}}  makes the image pushed to the left of the page  by default
{{{float|right}}} makes the image pushed to the right of the page by default

Template set

wysig