Template:picdicimg/documentation

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Documentation for Template:picdicimg. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

Use this template to add a clickable image to an entry in a Picture dictionary

The template can be used in combination with Template:picdic.

Usage

[edit]
The sun
The sun
The sun
{{picdicimg|en|image=Celestia sun.jpg|link=Sun|altlink=The sun}}

Parameters

[edit]
|1= (required)
The language code of the entry. See Wiktionary:List of languages.
|image= (required)
Image that describes the entry.
|link= (required)
The name of the entry, used for linking to the wiktionary entry (the caption, as well as the image!).
|sc= (optional)
A script code. Must be specified if not the Latin script (Latn).
|anchor= (optional)
A section within the entry, used for linking to a section within the wiktionary entry. Defaults to the language name of the language specified by the |1= parameter.
|altlink= (optional)
The alternate text shown for the entry. Defaults to the text of the link parameter.
|width= (optional)
Maximum width of the image. The default width is 150. The actual width is probably less as the default height is 75.
|height= (optional)
Maximum height of the image. The height of the image is crucial for an appealing alignment of a series of images. The default height is 75. This value is used to make the height parameter the limiting factor for many images.