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

From blackwiki
Jump to navigation Jump to search
imported>Amalthea
(Adaption from Template:File title/doc)
 
imported>Amalthea
(→‎See also: tweak)
Line 18: Line 18:
 
=== See also ===
 
=== See also ===
 
* {{tl|File title}}
 
* {{tl|File title}}
* {{tl|Template title}}
+
* {{tl|Transclude}}
 
* {{tl|Image}}
 
* {{tl|Image}}
 
* {{tl|Linked}}
 
* {{tl|Linked}}

Revision as of 14:50, 23 April 2010

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

  • "{{Category title| Example.svg }}" → "Category:Food"
  • "{{Category title| File:Example.svg }}" → "Category:Food"
  • "{{Category title| :Category:Food }}" → "Category:Food"

To Do

This template could be expanded to a series of "Namespace title" templates, if needed (hopefully sharing the same code).

See also