Difference between revisions of "Template:File title/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Christian75
({{high-use|250}})
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 +
{{high-use|250}}
 
This template can be used to create proper file titles, both if the name space was omitted or supplied by the user.
 
This template can be used to create proper file titles, both if the name space was omitted or supplied by the user.
  

Revision as of 05:41, 1 September 2015

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