Template:File title/doc

From Meta, a Wikimedia project coordination wiki

This template can be used to create proper file titles, both if the name space was omitted or supplied by the user.

It is primarily of use in templates and should not be used in articles directly.

Usage[edit]

  • "{{File title| Example.svg }}" → "File:Example.svg"
  • "{{File title| File:Example.svg }}" → "File:Example.svg"
  • "{{File title| :File:Example.svg }}" → "File:Example.svg"

To Do[edit]

This template could be expanded to a series of "Namespace title" templates, if needed.

See also[edit]