Template

Difference between revisions of "AddToCategory"

From Lacey Green History

(Created page with "<noinclude> This is the "AddToCategory" template. It should be called in the following format: <pre> {{AddToCategory |Category= |SortKey= }} </pre> Edit the page to see the te...")
 
Line 15: Line 15:
 
   {{#if: {{{SortKey|}}}
 
   {{#if: {{{SortKey|}}}
 
     |
 
     |
     [[{{{Category}}}|{{{SortKey}}}]]
+
     [[Category::{{{Category}}}|{{{SortKey}}}]]
 
     |
 
     |
     [[{{{Category}}}]]
+
     [[Category::{{{Category}}}]]
 
   }}
 
   }}
 
   |
 
   |
 
}}
 
}}
 
</includeonly>
 
</includeonly>

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