Template:Recipe Subsubpage: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
imported>Chris Day
No edit summary
 
Line 1: Line 1:
<noinclude>This template is currently empty</noinclude>
<includeonly>
[[Category:Recipes|{{{abc|}}}]]
[[Category:{{{group}}} Recipes|{{{abc|}}}]]
{{#if:{{{group2|}}}|[[Category:{{{group2}}} Recipes|{{{abc|}}}]] |}}
{{#if:{{{group3|}}}|[[Category:{{{group3}}} Recipes|{{{abc|}}}]] |}}
{{#ifeq:{{{status|}}}|0| [[Category:Approved Recipes|{{{abc}}}]]
[[Category:{{{group}}} Approved Recipes|{{{abc}}}]]
{{#if:{{{group2|}}}|[[Category:{{{group2}}} Approved Recipes|{{{abc|}}}]] |}}
{{#if:{{{group3|}}}|[[Category:{{{group3}}} Approved Recipes|{{{abc|}}}]] |}} }}</includeonly>
<noinclude>
 
==Usage==
This template is used by the {{tl|subpages}} template to add categories to a Recipe subsubpage. For more documentation on how it is used by the subpages template see: [[Template:Subpages/Doc|Subpages/Doc]]. The template fields include:
 
<pre>
{{Recipe 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:28, 24 April 2008


Usage

This template is used by the {{subpages}} template to add categories to a Recipe subsubpage. For more documentation on how it is used by the subpages template see: Subpages/Doc. The template fields include:

{{Recipe 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)