Template:Ifimt
Uses Lua: |
Displays facultativ one or more files
e.g. in the file description, section Other versions=
Usage
{{Ifimt |1= |2= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | File name. Only displayed when used in another file description (the display of the file is suppressed where used by the file itself} / instead of the file name a new table row can be initated | empty | optional | |
2 | caption text for the file | empty | optional | |
3 | 3, 5, 7, ... more file names (or a slash) | empty | optional | |
4 | 4, 6, 8, ... more captions | empty | optional | |
p1 to p4 | p1, p2, p3, p4: parameters for all files, e.g. thumb , border , 180px , ...With p4=lang the language option is enabled | empty | optional |
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}} [ ]
For the SVG langswitch option, see {{Other versions/Iceberg Effect}} [ ]
For the SVG langswitch option, see {{Other versions/Ecliptic}} [ ]
Examples
{{Other versions/Chem-de}}: [ ]
(A) |
(Am) |
(Eam) |
(Eg) |
(H) |
(Hm) |
(L) |
(M) |
(Nm) |
(Ue) |
(Üm) |
{{Other versions/Ecliptic}}: [ ]
-
Deutsch
-
Ελληνικά
-
English
-
Esperanto
-
dolnoserbski
-
hornjoserbsce
-
Lëtzebuergesch
Or see e.g. {{Other versions/Erin Silversmith}}: [ ]