Difference between revisions of "Template:Tag"

From Organic Design wiki
(eliminate unwanted linebreaks)
m (pretty link (not implemented yet))
Line 5: Line 5:
  
 
'''<nowiki>{{tag|keyword|}}</nowiki>''' hidden
 
'''<nowiki>{{tag|keyword|}}</nowiki>''' hidden
 +
'''<nowiki>{{tag|keyword|word}}</nowiki>''' pretty link (not implemented yet)
 
==code==
 
==code==
 
</noinclude><includeonly>{{#if:{{{1}}} | {{category:{{{1}}} }} {{#ifeq:{{{2|}}}|{{{2|-}}} || [[:category:{{{1}}}|{{{1}}}]] }} }}</includeonly>
 
</noinclude><includeonly>{{#if:{{{1}}} | {{category:{{{1}}} }} {{#ifeq:{{{2|}}}|{{{2|-}}} || [[:category:{{{1}}}|{{{1}}}]] }} }}</includeonly>

Revision as of 03:20, 6 November 2011

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 {{tag|keyword|word}} pretty link (not implemented yet)

code