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
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
''A collection of images about [[{{BASEPAGENAME}}]].''
''A collection of images about [[{{BASEPAGENAME}}]].''<includeonly>
<includeonly>
[[Category:Galleries|{{{abc|}}}]]  
{{#ifeq:{{{status|}}}|0|
[[Category:{{{group}}} Galleries|{{{abc|}}}]]  
{{#if:{{{abc|}}}|[[Category:Approved Galleries|{{{abc}}}]] |[[Category:Approved Galleries]] }}
{{#if:{{{group2|}}}|[[Category:{{{group2}}} Galleries|{{{abc|}}}]] |}}  
{{#if:{{{abc|}}}|[[Category:{{{group}}} Approved Galleries|{{{abc}}}]] | [[Category:{{{group}}} Approved Galleries]]}}
{{#if:{{{group3|}}}|[[Category:{{{group3}}} Galleries|{{{abc|}}}]] |}}
{{#if:{{{group2|}}}|{{#if:{{{abc|}}}|[[Category:{{{group2}}} Approved Galleries|{{{abc}}}]] | [[Category:{{{group2}}} Approved Galleries]]}}|}}
{{#ifeq:{{{status|}}}|0| [[Category:Approved Galleries|{{{abc}}}]]  
{{#if:{{{group3|}}}|{{#if:{{{abc|}}}|[[Category:{{{group3}}} Approved Galleries|{{{abc}}}]] | [[Category:{{{group3}}} Approved Galleries]]}}|}}
[[Category:{{{group}}} Approved Galleries|{{{abc}}}]]  
{{#if:{{{abc|}}}|[[Category:Galleries|{{{abc}}}]] |[[Category:Galleries]] }}
{{#if:{{{group2|}}}|[[Category:{{{group2}}} Approved Galleries|{{{abc|}}}]] |}}  
{{#if:{{{abc|}}}|[[Category:{{{group}}} Galleries|{{{abc}}}]] | [[Category:{{{group}}} Galleries]]}}
{{#if:{{{group3|}}}|[[Category:{{{group3}}} Approved Galleries|{{{abc|}}}]] |}} }}</includeonly>
{{#if:{{{group2|}}}|{{#if:{{{abc|}}}|[[Category:{{{group2}}} Galleries|{{{abc}}}]] | [[Category:{{{group2}}} Galleries]]}}|}}
{{#if:{{{group3|}}}|{{#if:{{{abc|}}}|[[Category:{{{group3}}} Galleries|{{{abc}}}]] | [[Category:{{{group3}}} Galleries]]}}|}}<nowiki>
 
</nowiki>
|{{#if:{{{abc|}}}|[[Category:Galleries|{{{abc}}}]] |[[Category:Galleries]] }}
{{#if:{{{abc|}}}|[[Category:{{{group}}} Galleries|{{{abc}}}]] | [[Category:{{{group}}} Galleries]]}}
{{#if:{{{group2|}}}|{{#if:{{{abc|}}}|[[Category:{{{group2}}} Galleries|{{{abc}}}]] | [[Category:{{{group2}}} Galleries]]}}|}}
{{#if:{{{group3|}}}|{{#if:{{{abc|}}}|[[Category:{{{group3}}} Galleries|{{{abc}}}]] | [[Category:{{{group3}}} Galleries]]}}|}}
}}
</includeonly>
<noinclude>
<noinclude>
==Usage==
==Usage==

Latest revision as of 00:26, 27 March 2008

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)