Template:Ifimt

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Ifimt/doc.

Displays facultativ one or more files
e.g. in the file description, section Other versions=

Usage

{{Ifimt |1= |2= }}

Template parameters

ParameterDescriptionDefaultStatus
1File name. Only displayed when used in another file description

(the display of the file is suppressed where used by the file itself}

With / instead of the file name a new table row can be initated
emptyoptional
2caption text for the fileemptyoptional
33, 5, 7, ... more file names (or a slash)emptyoptional
44, 6, 8, ... more captionsemptyoptional
p1 to p4p1, p2, p3, p4:
parameters for all files, e.g. thumb, border, 180px, ...
With p4=lang the language option is enabled
emptyoptional

Additional information

The template is intended to be used in the following namespaces: the File namespace

The template is intended to be used by the following user groups: all users

See also

{{Ifim}} to generate a row of files
{{Ifimc}} to generate a table which displays below of each picture the file name
{{Ov}} and other "other versions" templates in Other versions templates

The template is intended to be used within the {{Information}} box, at the parameter Other versions=

It uses {{Ifim2}} to avoid the display of the file itself pretending to be an other version;
instead of the file a bullet • is displayed to ease the browsing through the other versions.
When starting a new table row with the slash "/", the next parameter is necessary but not used

Language option

Only when it is enabled with p4=lang each parameter 2, 4, 6, ... is checked: when it is a string of
2 characters it is used as a language identifier. Then e.g. mk is displayed македонски;

for SVG files with the multi language switch option, the code is set for the language.

When less or more than 2 characters the string is displayed for caption as it is.
For usage of the language option, see {{Other versions/Greenhouse Effect}} [edit]
For the SVG langswitch option, see {{Other versions/Iceberg Effect}} [edit]
For the SVG langswitch option, see {{Other versions/Ecliptic}} [edit]

Examples

{{Other versions/Chem-de}}: [edit]


(A)

(Am)

(Eam)

(Eg)

(H)

(Hm)

(L)

(M)

(Nm)

(Ue)

(Üm)

{{Other versions/Ecliptic}}: [edit]

Or see e.g. {{Other versions/Erin Silversmith}}: [edit]