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

From blackwiki
Jump to navigation Jump to search
imported>Yahia.barie
imported>DixonDBot
m (Migrating 19 interwiki links, now provided by Wikidata on d:Q7482052)
Line 26: Line 26:
 
[[Category:Wikipedia metatemplates]]
 
[[Category:Wikipedia metatemplates]]
  
[[as:সাঁচ:File title]]
 
[[be:Шаблон:File title]]
 
[[bn:টেমপ্লেট:File title]]
 
[[cy:Nodyn:Teitl ffeil]]
 
[[da:Skabelon:File title]]
 
[[diq:Template:File title]]
 
[[es:Plantilla:Título de archivo]]
 
[[ia:Patrono:File title]]
 
[[ja:Template:File title]]
 
[[km:ទំព័រគំរូ:File title]]
 
[[ms:Templat:File title]]
 
[[ne:ढाँचा:File title]]
 
[[or:ଟେମ୍ପଲେଟ:File title]]
 
[[ro:Format:File title]]
 
[[si:සැකිල්ල:File title]]
 
[[sl:Predloga:File title]]
 
[[sv:Mall:Bildnamn]]
 
[[tr:Şablon:File title]]
 
[[uz:Andoza:File title]]
 
 
</includeonly>
 
</includeonly>

Revision as of 03:16, 28 March 2013

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