Template:Catalog Subsubpage: Difference between revisions
imported>Chris Day No edit summary |
imported>Chris Day No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
[[Category:Catalogs|{{{abc|}}}]] | {{#ifeq:{{{subpagename|}}}|Masterlist | ||
|[[Category:Masterlists|{{{abc|}}}]] | |||
[[Category:{{{group}}} Masterlists|{{{abc|}}}]] | |||
{{#if:{{{group2|}}}|[[Category:{{{group2}}} Masterlists|{{{abc|}}}]] |}} | |||
{{#if:{{{group3|}}}|[[Category:{{{group3}}} Masterlists|{{{abc|}}}]] |}} | |||
{{#ifeq:{{{status|}}}|0| [[Category:Approved Masterlists|{{{abc}}}]] | |||
[[Category:{{{group}}} Approved Masterlists|{{{abc}}}]] | |||
{{#if:{{{group2|}}}|[[Category:{{{group2}}} Approved Masterlists|{{{abc|}}}]] |}} | |||
{{#if:{{{group3|}}}|[[Category:{{{group3}}} Approved Masterlists|{{{abc|}}}]] |}} }} | |||
|[[Category:Catalogs|{{{abc|}}}]] | |||
[[Category:{{{group}}} Catalogs|{{{abc|}}}]] | [[Category:{{{group}}} Catalogs|{{{abc|}}}]] | ||
{{#if:{{{group2|}}}|[[Category:{{{group2}}} Catalogs|{{{abc|}}}]] |}} | {{#if:{{{group2|}}}|[[Category:{{{group2}}} Catalogs|{{{abc|}}}]] |}} | ||
Line 7: | Line 16: | ||
[[Category:{{{group}}} Approved Catalogs|{{{abc}}}]] | [[Category:{{{group}}} Approved Catalogs|{{{abc}}}]] | ||
{{#if:{{{group2|}}}|[[Category:{{{group2}}} Approved Catalogs|{{{abc|}}}]] |}} | {{#if:{{{group2|}}}|[[Category:{{{group2}}} Approved Catalogs|{{{abc|}}}]] |}} | ||
{{#if:{{{group3|}}}|[[Category:{{{group3}}} Approved Catalogs|{{{abc|}}}]] |}} }}</includeonly> | {{#if:{{{group3|}}}|[[Category:{{{group3}}} Approved Catalogs|{{{abc|}}}]] |}} }} }}</includeonly> | ||
<noinclude> | <noinclude> | ||
Latest revision as of 12:20, 20 February 2009
Usage
This template is used by the {{subpages}} template to add categories to a Catalog subsubpage. For more documentation on how it is used by the subpages template see: Subpages/Doc. The template fields include:
{{Catalog Subsubpage |group= |group2= |group3= |abc= |status= }}
Each field is filled automatically by calling the information from a clusters metadata template.
group = must be an existing workgroup
group2 = second workgroup (optional but must use before group3 if only two workgroups)
group3 = third workgroup (optional)
abc = used to categorise based on last names. For example, the Barbara McClintock approval template is written as abc = McClintock, Barbara so she is categorised under M, or List of Biologists would be abc = Biologists, List of so it is categorised under B.
approved = yes (required to add the approved category)