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

From blackwiki
Jump to navigation Jump to search
imported>DixonDBot
m (Migrating 19 interwiki links, now provided by Wikidata on d:Q7482052)
imported>Frietjes
Line 19: Line 19:
 
* {{tl|Category title}}
 
* {{tl|Category title}}
 
* {{tl|Transclude}}
 
* {{tl|Transclude}}
* {{tl|Image}}
 
 
* {{tl|Linked}}
 
* {{tl|Linked}}
  
<includeonly>
+
<includeonly>{{basepage subpage|
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<!-- CATEGORIES HERE, THANKS -->
 
[[Category:Wikipedia metatemplates]]
 
[[Category:Wikipedia metatemplates]]
 
+
}}</includeonly>
</includeonly>
 

Revision as of 18:25, 29 March 2015

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