Difference between revisions of "Template:Tag"

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

Revision as of 01:49, 8 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. This is more manageable than adding individual 'see also' items to a page, as each related page will require the same additions to them, compounding maintenance. The tag category becomes a hub for related items, displays as one link, and eliminates the need for maintaining redundant lists of links in related items.

usage

{{tag|keyword}} inline link

{{tag|keyword|}} hidden

{{tag|keyword|word}} pretty link (not implemented yet)

code