Template:File title/doc

From Bonkipedia
< Template:File title
Revision as of 17:10, 15 August 2020 by [[mw:]]>Pppery (Redlinked)
(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.

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).