Difference between revisions of "Template:Cat"

From Mania Tech Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>[[:Category:{{{1}}}|{{{2|{{{1}}}}}}]]</includeonly><noinclude> == Purpose == Shortcut to create a link to a category. Examples: * <nowiki>{{</nowiki>cat|Internal...")
 
m (make link visible)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[[:Category:{{{1}}}|{{{2|{{{1}}}}}}]]</includeonly><noinclude>
+
[[:Category:{{{1}}}|{{{2|{{{1}}}}}}]]<noinclude>
 
== Purpose ==
 
== Purpose ==
 
Shortcut to create a link to a category.
 
Shortcut to create a link to a category.
  
 
Examples:
 
Examples:
* <nowiki>{{</nowiki>cat|Internals<nowiki>}}</nowiki> produces: [[:Category:Internals|Internals]]
+
* <nowiki>{{</nowiki>cat|Internals<nowiki>}}</nowiki> renders as: [[:Category:Internals|Internals]]
* <nowiki>{{</nowiki>cat|Internals|engine details<nowiki>}}</nowiki> produces: [[:Category:Internals|engine details]]
+
* <nowiki>{{</nowiki>cat|Internals|engine details<nowiki>}}</nowiki> renders as: [[:Category:Internals|engine details]]
  
==Sources==
+
===Source===
 
This template is adapted from [https://doomwiki.org/ DoomWiki.org].
 
This template is adapted from [https://doomwiki.org/ DoomWiki.org].
  
 
[[Category:Internal link templates]]
 
[[Category:Internal link templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:05, 6 June 2017

[[:Category:{{{1}}}|{{{1}}}]]

Purpose

Shortcut to create a link to a category.

Examples:

Source

This template is adapted from DoomWiki.org.