Template:F/doc
Template page
More actions
Creates a link to the file whose name is given in par# 1.
- If par# 1 is empty, no name is the default.
- Instead of the file name, another name given in par# 2 can be displayed.
- It is possible to avoid the link, displaying only the name of par# 1 (or par# 2).
- The file itself (the image) can be displayed in any size inline after the name (or left of it).
- The displayed image can be surrounded by a border.
Usage
{{Template:F |1= |2= |3= |4= |5= |6= |lang= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | file name: name of the file, with extension | empty | optional | |
2 | display name: any name. Default: file name of par# 1 | empty | optional | |
3 | pixel size: numeric value. The picture is displayed inline in this size [1] | empty | optional | |
4 | b[2] (lowercase B) to draw a border around the picture | empty | optional | |
5 | l[2] (lowercase L) display the image left of the file name | empty | optional | |
6 | x[2] (lowercase X) to display the name without linking to the file | empty | optional | |
lang | language code (ISO 639), if the file is in another Wikipedia [1] | 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
Examples
Buddhist flag: -
Buddhist flag (bordered)
Yes check.svg only link
Yes check.svg: no link (as in "other versions" of File:Arrow-C.svg.)
Yes check.svg: bordered
Yes check.svg bordered image left of name (as in "other versions" of File:Symbol unrelated.svg.)
no name without any parameter