Difference between revisions of "Template:Tag"

From Organic Design wiki
(code)
(code)
Line 7: Line 7:
 
==code==
 
==code==
 
</noinclude>
 
</noinclude>
<includeonly>{{#if:{{{1}}} | {{category:{{{1}}} }} {{#ifeq:{{{2|}}}|{{{2|-}}} | [[:category:{{{1}}}|{{{1}}}]] }} }}</includeonly>
+
<includeonly>{{#if:{{{1}}} | {{category:{{{1}}} }} {{#ifeq:{{{2|}}}|{{{2|-}}} || [[:category:{{{1}}}|{{{1}}}]] }} }}</includeonly>

Revision as of 18:30, 14 December 2010

the purpose of this template is to perform the function of a tag that simultaneously registers a keyword as a category, and links to that category to list all pages containing the same tag

usage

{{tag|keyword}} inline link

{{tag|keyword|}} hidden

code