Jump to: navigation, search

Difference between revisions of "Template:Category title"


m (Protected Template:Category title: Highly visible template ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
m (1 revision)
 
(No difference)

Latest revision as of 14:35, 23 January 2013

[view] [edit] [history] [purge] Documentation icon Template documentation

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| Food }}" → "Category:Food"
  • "{{Category title| Category:Food }}" → "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