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:{{{approved|}}}|
{{#ifeq:{{{status|}}}|0|
{{#if:{{{abc|}}}|[[Category:Approved Galleries|{{{abc}}}]] |[[Category:Approved Galleries]] }}
{{#if:{{{abc|}}}|[[Category:Approved Galleries|{{{abc}}}]] |[[Category:Approved Galleries]] }}
{{#if:{{{abc|}}}|[[Category:{{{group}}} Approved Galleries|{{{abc}}}]] | [[Category:{{{group}}} Approved Galleries]]}}
{{#if:{{{abc|}}}|[[Category:{{{group}}} Approved Galleries|{{{abc}}}]] | [[Category:{{{group}}} Approved Galleries]]}}

Revision as of 00:40, 27 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)