Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 07:09, 16 February 2025 by Prd (talk | contribs) (Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> 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 === * "<nowiki>{{File title| Example.svg }}</nowiki>" → "<code>{{File title| Example.svg }}</code>" * "<nowiki>{{File title...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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