picdiclabel

Use this template to insert text labels on the main image of Picture dictionary.

To be used in combination with Template:picdic.

Usage (feel free to amend this template):

{{ picdic
| image=Solar_sys8.jpg
| text=Solar System
| width=310
| labels=

{{ picdiclabel | en | color=white | fontsize=18 | posx=181 | posy= 86 | link=Sun | altlink=The sun }}
{{ picdiclabel | en | color=white | fontsize=12 | posx=214 | posy=119 | link=Mercury | style="text-align:right;" }}

| detail1=Click on labels in the image
}}

Parameters for this template:

1
The ISO code of the language of the entry, used for linking within the wiktionary entry. Mandatory.
posx
posy
The coordinates are the number of pixels from the upper-left-hand corner of the visible size of the image, so are dependent of the size shown on screen.
These parameters are mandatory. In case these are missing the link is shown centered at the top of the image.
link
The name of the entry, used for linking to the wiktionary entry

Optional parameters

sc
A script code. Must be specified if not the Latin script (Latn).
anchor
A section within the entry, used for linking to a section within the wiktionary entry
This parameter is optional, the default is the language name of the ISO language specified by the |1= parameter.
altlink
The alternate text shown for the entry
This parameter is optional, the default is the text of the link parameter
Tip: Use altlink=x for preview mode editing to fine-tune the position
fontsize
The fontsize of the link
This parameter is optional. The default value is 12
color
The color of the link.
This parameter is optional. The default value is blue, but might be unreadable on some images
align
The alignment of the label. Valid values are left, center and right
This parameter is optional. The default value is center

"https://si.wiktionary.org/w/index.php?title=සැකිල්ල:picdiclabel&oldid=190679" වෙතින් සම්ප්‍රවේශනය කෙරිණි