Template:Code header: Difference between revisions
Jump to navigation
Jump to search
imported>Chris Day No edit summary |
imported>Chris Day No edit summary |
||
Line 2: | Line 2: | ||
<includeonly> | <includeonly> | ||
[[Category:Code | [[Category:Code Subpages|{{{abc|}}}]] | ||
[[Category:{{{group}}} Code | [[Category:{{{group}}} Code Subpages|{{{abc|}}}]] | ||
{{#if:{{{group2|}}}|[[Category:{{{group2}}} Code | {{#if:{{{group2|}}}|[[Category:{{{group2}}} Code Subpages|{{{abc|}}}]] |}} | ||
{{#if:{{{group3|}}}|[[Category:{{{group3}}} Code | {{#if:{{{group3|}}}|[[Category:{{{group3}}} Code Subpages|{{{abc|}}}]] |}} | ||
{{#ifeq:{{{status|}}}|0| [[Category:Approved Code | {{#ifeq:{{{status|}}}|0| [[Category:Approved Code Subpages|{{{abc}}}]] | ||
[[Category:{{{group}}} Approved Code | [[Category:{{{group}}} Approved Code Subpages|{{{abc}}}]] | ||
{{#if:{{{group2|}}}|[[Category:{{{group2}}} Approved Code | {{#if:{{{group2|}}}|[[Category:{{{group2}}} Approved Code Subpages|{{{abc|}}}]] |}} | ||
{{#if:{{{group3|}}}|[[Category:{{{group3}}} Approved Code | {{#if:{{{group3|}}}|[[Category:{{{group3}}} Approved Code Subpages|{{{abc|}}}]] |}} }}</includeonly> | ||
<noinclude> | <noinclude> | ||
==Usage== | ==Usage== |
Revision as of 15:10, 13 September 2007
A collection of code samples relating to the topic of Code header.
Usage
To be used at the top of the code subpage associated with articles. The template fields include:
{{Code header |group= |group2= |group3= |abc= |status= }}
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.