Template

Difference between revisions of "AddToCategory"

From Lacey Green History

Line 15: Line 15:
 
   {{#if: {{{SortKey|}}}
 
   {{#if: {{{SortKey|}}}
 
     |
 
     |
     [[Category::{{{Category}}}|{{{SortKey}}}]]
+
     [[Category:{{{Category}}}|{{{SortKey}}}]]
 
     |
 
     |
 
     test
 
     test
     [[Category::{{{Category}}}]]
+
     [[Category:{{{Category}}}]]
 
   }}
 
   }}
 
   |
 
   |
 
}}
 
}}
 
</includeonly>
 
</includeonly>

Revision as of 07:31, 22 November 2020

This is the "AddToCategory" template. It should be called in the following format:

{{AddToCategory
|Category=
|SortKey=
}}

Edit the page to see the template text.