Template:Recipe Header: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
imported>Chris Day
(Replacing page with '''A recipe for [[{{{pagename|}}}]].''')
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
''A recipe for [[{{../../Metadata|info=pagename}}]].''
''A recipe for [[{{{pagename|}}}]].''
<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==
To be used at the top of a Recipes subpage. The template fields include:
 
<pre>
{{Recipes Header
|group=
|group2=
|group3=
|abc=
|status=
}}
</pre>
'''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.
</noinclude>

Latest revision as of 13:27, 24 April 2008

A recipe for [[]].