14,035
edits
m |
|||
(14 intermediate revisions by 4 users not shown) | |||
<includeonly><span class="cm-tag {{{class|}}}"><!--
LINK
-->[[{{{link|{{{1}}}|}}}|{{{text|{{{1}}}
CATEGORY
-->
--></span></includeonly><noinclude>
Note that the category will be suppressed on userpages for the sake of drafting articles without affecting readers, you can use [[Special:ExpandTemplates]] if you wish to test that proper categories are included before moving the draft to the mainspace.
=== Template ===
<small>'''Note:''' Replace <code><nowiki>{{1}}</nowiki></code> with an actual parameter.</small>
<pre class=mw-code>
{{tag |{{1}} |cat= |text= }}
<!-- ------------- -->
<!-- ROW:
<!-- ------------- -->
{{docs/row/required
|param=<nowiki>
|desc= Use the first parameter to create a link and add the page to a category with the same name.
|eg=
<code><nowiki>|cat=Diagram</nowiki></code>
}}
<!-- -------- -->
<!-- ROW: link-->
<!-- -------- -->
{{docs/row/optional
|param=link
|desc=Use this to change which page the tag links to.<br>
<small>'''Note:''' To follow from the above example, <code><nowiki>{{tag|Diagram|link=Diagram (group)}}</nowiki></code> adds the page to [[:Category:Diagram]], links to [[Diagram (group)]] and displays the tag as [[Diagram (group)|Diagram]].</small>
|eg=
<code><nowiki>|link=Diagram (group)</nowiki></code>
}}
<!-- -------- -->
|}
[[
== Articles using Template ==
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages.}}
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}
|