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

From blackwiki
Jump to navigation Jump to search
imported>Amalthea
m (Reverted edits by 86.169.121.211 (talk) to last version by Amalthea)
imported>Frietjes
 
Line 19: Line 19:
 
* {{tl|File title}}
 
* {{tl|File 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>
 

Latest 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

  • "{{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