Template:Catalog Subsubpage: Difference between revisions
imported>Chris Day (New page: <noinclude>This template is currently empty</noinclude>) |
imported>Chris Day No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>This template is | <includeonly> | ||
{{#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|}}}]] | |||
{{#if:{{{group2|}}}|[[Category:{{{group2}}} Catalogs|{{{abc|}}}]] |}} | |||
{{#if:{{{group3|}}}|[[Category:{{{group3}}} Catalogs|{{{abc|}}}]] |}} | |||
{{#ifeq:{{{status|}}}|0| [[Category:Approved Catalogs|{{{abc}}}]] | |||
[[Category:{{{group}}} Approved Catalogs|{{{abc}}}]] | |||
{{#if:{{{group2|}}}|[[Category:{{{group2}}} Approved Catalogs|{{{abc|}}}]] |}} | |||
{{#if:{{{group3|}}}|[[Category:{{{group3}}} Approved Catalogs|{{{abc|}}}]] |}} }} }}</includeonly> | |||
<noinclude> | |||
==Usage== | |||
This template is used by the {{tl|subpages}} template to add categories to a Catalog subsubpage. For more documentation on how it is used by the subpages template see: [[Template:Subpages/Doc|Subpages/Doc]]. The template fields include: | |||
<pre> | |||
{{Catalog Subsubpage | |||
|group= | |||
|group2= | |||
|group3= | |||
|abc= | |||
|status= | |||
}} | |||
</pre> | |||
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) | |||
</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)