Difference between revisions of "Template:Tag"

From Organic Design wiki
(code)
(eliminate unwanted linebreaks)
Line 6: Line 6:
 
'''<nowiki>{{tag|keyword|}}</nowiki>''' hidden
 
'''<nowiki>{{tag|keyword|}}</nowiki>''' hidden
 
==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 19:45, 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