Difference between revisions of "Template:File title"

From blackwiki
Jump to navigation Jump to search
imported>Amalthea
m (moved Template:File link to Template:File title: thought about it)
imported>Amalthea
m (Protected Template:File title: Highly visible page: about to be used in other protected templates ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(No difference)

Revision as of 13:37, 27 November 2009

50px Template documentation[view] [edit] [history] [purge]

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:Template:Str trim"
  • "{{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