Template:Timeline Subsubpage: Difference between revisions
imported>Chris Day |
imported>Chris Day No edit summary |
||
Line 1: | Line 1: | ||
<noinclude>This template is | <includeonly> | ||
[[Category:Timelines|{{{abc|}}}]] | |||
[[Category:{{{group}}} Timelines|{{{abc|}}}]] | |||
{{#if:{{{group2|}}}|[[Category:{{{group2}}} Timelines|{{{abc|}}}]] |}} | |||
{{#if:{{{group3|}}}|[[Category:{{{group3}}} Timelines|{{{abc|}}}]] |}} | |||
{{#ifeq:{{{status|}}}|0| [[Category:Approved Timelines|{{{abc}}}]] | |||
[[Category:{{{group}}} Approved Timelines|{{{abc}}}]] | |||
{{#if:{{{group2|}}}|[[Category:{{{group2}}} Approved Timelines|{{{abc|}}}]] |}} | |||
{{#if:{{{group3|}}}|[[Category:{{{group3}}} Approved Timelines|{{{abc|}}}]] |}} }}</includeonly> | |||
<noinclude> | |||
==Usage== | |||
This template is used by the {{tl|subpages}} template to add categories to a Timeline subsubpage. For more documentation on how it is used by the subpages template see: [[Template:Subpages/Doc|Subpages/Doc]]. The template fields include: | |||
<pre> | |||
{{Timeline 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 11:46, 24 April 2008
Usage
This template is used by the {{subpages}} template to add categories to a Timeline subsubpage. For more documentation on how it is used by the subpages template see: Subpages/Doc. The template fields include:
{{Timeline 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)