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