Template:Category title/doc: Difference between revisions

From wikiNonStop
Content added Content deleted
m (→‎top: {{High-use}})
(No difference)

Revision as of 18:21, 26 December 2023

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