Difference between revisions of "Template:Tag"

From Organic Design wiki
(usage)
Line 4: Line 4:
 
'''<nowiki>{{tag|keyword}}</nowiki>''' inline link
 
'''<nowiki>{{tag|keyword}}</nowiki>''' inline link
  
'''<nowiki>{{tag|keyword|}}</nowiki>''' hidden</noinclude>
+
'''<nowiki>{{tag|keyword|}}</nowiki>''' hidden
 
==code==
 
==code==
 +
</noinclude>
 
<includeonly>{{{#if: {{{1}}} | {{category:{{{1}}} }} {{{#if: {{{2|-}}} | [[:category:{{{1}}}|{{{1}}}]]}}} }}}</includeonly>
 
<includeonly>{{{#if: {{{1}}} | {{category:{{{1}}} }} {{{#if: {{{2|-}}} | [[:category:{{{1}}}|{{{1}}}]]}}} }}}</includeonly>

Revision as of 18:07, 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