Template:File title/sandbox
< Template:File title
Jump to navigation
Jump to search
Revision as of 13:11, 28 November 2009 by imported>Amalthea (Uglify it by allowing a subst parameter)
| This is the template sandbox page for Template:File title (diff). See also the companion subpage for test cases. |
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
- {{Category title}}
- {{Transclude}}
- {{Linked}}
| The above documentation is transcluded from Template:File title/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |