Difference between revisions of "Template:Tag"
From Organic Design wiki
Infomaniac (talk | contribs) |
Infomaniac (talk | contribs) (→usage) |
||
Line 5: | Line 5: | ||
'''<nowiki>{{tag|keyword|}}</nowiki>''' hidden</noinclude> | '''<nowiki>{{tag|keyword|}}</nowiki>''' hidden</noinclude> | ||
− | <includeonly>{{{#if: {{{1}}} | {{category:{{{1}}} }} {{{#if: {{{2}}} | + | ==code== |
+ | <includeonly>{{{#if: {{{1}}} | {{category:{{{1}}} }} {{{#if: {{{2|-}}} | [[:category:{{{1}}}|{{{1}}}]]}}} }}}</includeonly> |
Revision as of 18:06, 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