Template:Gallery header: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
No edit summary
Line 1: Line 1:
''A collection of images about [[{{BASEPAGENAME}}]].''
''A collection of images about [[{{BASEPAGENAME}}]].''
<includeonly>
<includeonly>
{{#if:{{{{BASEPAGENAME}}/Info|info=approved|}}|
{{#if:{{{approved|}}}|
{{#if:{{{{BASEPAGENAME}}/Info|info=abc|}}|[[Category:Approved Galleries|{{{{BASEPAGENAME}}/Info|info=abc}}]] |[[Category:Approved Galleries]] }}
{{#if:{{{abc|}}}|[[Category:Approved Galleries|{{{abc}}}]] |[[Category:Approved Galleries]] }}
{{#if:{{{{BASEPAGENAME}}/Info|info=abc|}}|[[Category:{{{{BASEPAGENAME}}/Info|info=group}} Approved Galleries|{{{{BASEPAGENAME}}/Info|info=abc}}]] | [[Category:{{{{BASEPAGENAME}}/Info|info=group}} Approved Galleries]]}}
{{#if:{{{abc|}}}|[[Category:{{{group}}} Approved Galleries|{{{abc}}}]] | [[Category:{{{group}}} Approved Galleries]]}}
{{#if:{{{{BASEPAGENAME}}/Info|info=group2|}}|{{#if:{{{{BASEPAGENAME}}/Info|info=abc|}}|[[Category:{{{{BASEPAGENAME}}/Info|info=group2}} Approved Galleries|{{{{BASEPAGENAME}}/Info|info=abc}}]] | [[Category:{{{{BASEPAGENAME}}/Info|info=group2}} Approved Galleries]]}}|}}
{{#if:{{{group2|}}}|{{#if:{{{abc|}}}|[[Category:{{{group2}}} Approved Galleries|{{{abc}}}]] | [[Category:{{{group2}}} Approved Galleries]]}}|}}
{{#if:{{{{BASEPAGENAME}}/Info|info=group3|}}|{{#if:{{{{BASEPAGENAME}}/Info|info=abc|}}|[[Category:{{{{BASEPAGENAME}}/Info|info=group3}} Approved Galleries|{{{{BASEPAGENAME}}/Info|info=abc}}]] | [[Category:{{{{BASEPAGENAME}}/Info|info=group3}} Approved Galleries]]}}|}}
{{#if:{{{group3|}}}|{{#if:{{{abc|}}}|[[Category:{{{group3}}} Approved Galleries|{{{abc}}}]] | [[Category:{{{group3}}} Approved Galleries]]}}|}}
{{#if:{{{{BASEPAGENAME}}/Info|info=abc|}}|[[Category:Galleries|{{{{BASEPAGENAME}}/Info|info=abc}}]] |[[Category:Galleries]] }}
{{#if:{{{abc|}}}|[[Category:Galleries|{{{abc}}}]] |[[Category:Galleries]] }}
{{#if:{{{{BASEPAGENAME}}/Info|info=abc|}}|[[Category:{{{{BASEPAGENAME}}/Info|info=group}} Galleries|{{{{BASEPAGENAME}}/Info|info=abc}}]] | [[Category:{{{{BASEPAGENAME}}/Info|info=group}} Galleries]]}}
{{#if:{{{abc|}}}|[[Category:{{{group}}} Galleries|{{{abc}}}]] | [[Category:{{{group}}} Galleries]]}}
{{#if:{{{{BASEPAGENAME}}/Info|info=group2|}}|{{#if:{{{{BASEPAGENAME}}/Info|info=abc|}}|[[Category:{{{{BASEPAGENAME}}/Info|info=group2}} Galleries|{{{{BASEPAGENAME}}/Info|info=abc}}]] | [[Category:{{{{BASEPAGENAME}}/Info|info=group2}} Galleries]]}}|}}
{{#if:{{{group2|}}}|{{#if:{{{abc|}}}|[[Category:{{{group2}}} Galleries|{{{abc}}}]] | [[Category:{{{group2}}} Galleries]]}}|}}
{{#if:{{{{BASEPAGENAME}}/Info|info=group3|}}|{{#if:{{{{BASEPAGENAME}}/Info|info=abc|}}|[[Category:{{{{BASEPAGENAME}}/Info|info=group3}} Galleries|{{{{BASEPAGENAME}}/Info|info=abc}}]] | [[Category:{{{{BASEPAGENAME}}/Info|info=group3}} Galleries]]}}|}}<nowiki>
{{#if:{{{group3|}}}|{{#if:{{{abc|}}}|[[Category:{{{group3}}} Galleries|{{{abc}}}]] | [[Category:{{{group3}}} Galleries]]}}|}}<nowiki>


</nowiki>
</nowiki>
|{{#if:{{{{BASEPAGENAME}}/Info|info=abc|}}|[[Category:Galleries|{{{{BASEPAGENAME}}/Info|info=abc}}]] |[[Category:Galleries]] }}
|{{#if:{{{abc|}}}|[[Category:Galleries|{{{abc}}}]] |[[Category:Galleries]] }}
{{#if:{{{{BASEPAGENAME}}/Info|info=abc|}}|[[Category:{{{{BASEPAGENAME}}/Info|info=group}} Galleries|{{{{BASEPAGENAME}}/Info|info=abc}}]] | [[Category:{{{{BASEPAGENAME}}/Info|info=group}} Galleries]]}}
{{#if:{{{abc|}}}|[[Category:{{{group}}} Galleries|{{{abc}}}]] | [[Category:{{{group}}} Galleries]]}}
{{#if:{{{{BASEPAGENAME}}/Info|info=group2|}}|{{#if:{{{{BASEPAGENAME}}/Info|info=abc|}}|[[Category:{{{{BASEPAGENAME}}/Info|info=group2}} Galleries|{{{{BASEPAGENAME}}/Info|info=abc}}]] | [[Category:{{{{BASEPAGENAME}}/Info|info=group2}} Galleries]]}}|}}
{{#if:{{{group2|}}}|{{#if:{{{abc|}}}|[[Category:{{{group2}}} Galleries|{{{abc}}}]] | [[Category:{{{group2}}} Galleries]]}}|}}
{{#if:{{{{BASEPAGENAME}}/Info|info=group3|}}|{{#if:{{{{BASEPAGENAME}}/Info|info=abc|}}|[[Category:{{{{BASEPAGENAME}}/Info|info=group3}} Galleries|{{{{BASEPAGENAME}}/Info|info=abc}}]] | [[Category:{{{{BASEPAGENAME}}/Info|info=group3}} Galleries]]}}|}}
{{#if:{{{group3|}}}|{{#if:{{{abc|}}}|[[Category:{{{group3}}} Galleries|{{{abc}}}]] | [[Category:{{{group3}}} Galleries]]}}|}}
}}</includeonly>
}}
</includeonly>
<noinclude>
==Usage==
To be used at the top of gallery pages associated with approved articles. The template fields include:
 
<pre>
{{Gallery header
|group=
|group2=
|group3=
|abc=
|approved=
}}
</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.
 
'''approved''' = yes (required to add the approved category)
</noinclude>

Revision as of 04:37, 24 July 2007

A collection of images about Gallery header.


Usage

To be used at the top of gallery pages associated with approved articles. The template fields include:

{{Gallery header
|group=
|group2=
|group3=
|abc=
|approved=
}}

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)