Template:File title: Difference between revisions

From Bonkipedia
[[mw:]]>Shirayuki
mNo edit summary
 
m (1 revision imported: Workaround and Utility Templates)
 
(No difference)

Latest revision as of 17:33, 12 November 2022

Template documentation

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