Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 16:33, 24 June 2012 by commons>Sarang (expansion)

Establishes a link to the file whose name is given in par #1 and displays the name without the prefix "File:".
Additional possibilities:

  • If par #1 is empty, the default will be no name.
  • Instead of the file name, another name given in par #2 can be displayed.
  • It is possible to avoid the link and display only the name of par #1 (or par #2).
  • The file itself (the image) can be displayed at any size inline after the name (or left of it).
  • The displayed image can be surrounded by a border.
  • The size of the file can be displayed.

Usage

{{Template:F |1= |2= |3= |4= |5= |6= |7= |lang= }}

The parameters "n" and "l" allow better formatting, e.g. to get equal-wide rows when arranging several lines with displayed images — see the examples.

Template parameters

ParameterDescriptionDefaultStatus
1file name: name of the file, without "File:", with extensionemptyoptional
2display name: any text. Default is the file name (par #1)emptyoptional
3pixel size: numeric value. The picture is displayed inline in this size [1]emptyoptional
4b[2] (lowercase B) to draw a border around the displayed pictureemptyoptional
5.l[2] (lowercase L) to display the image left of the file nameemptyoptional
6n[2] (lowercase N) to display the name not-linking to the fileemptyoptional
7s[2] (lowercase S) to display the file's sizeemptyoptional
langlanguage code (ISO 639), if the file is in another Wikipedia [1]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

Examples

Buddhist flag   —   Buddhist flag (bordered)


no name 00000 without any parameter

Yes check.svg 00 only link

Yes check.svg 00 only name

Yes check.svg:  no link (as in "other versions" of File:Arrow-C.svg.)

Yes check.svg bordered

Yes check.svg left of name (as in "other versions" of File:Symbol unrelated.svg.)

no name

Notes

  1. 1.0 1.1 It is not possible to display images of other Wikipedias - only when the files are stored in the Commons
  2. 2.0 2.1 2.2 2.3 Any of these parameter values (b, l, n, s) can be passed in any sequence, each as an argument for one of the parameters either #4, #5, #6 or #7: {{F|X.jpg||16|b|l|n|s}} is equivalent to {{F|X.jpg||16|l|s|n|b}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.