Template:File title/doc

From blackwiki
< Template:File title
Revision as of 03:16, 28 March 2013 by imported>DixonDBot (Migrating 19 interwiki links, now provided by Wikidata on d:Q7482052)
Jump to navigation Jump to search

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.

This template can be substituted.

Usage

  • "{{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

This template could be expanded to a series of "Namespace title" templates, if needed (hopefully sharing the same code).

See also