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
 
(9 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|}}}]]  
{{#if:{{{{BASEPAGENAME}}/info|info=approved|}}|
[[Category:{{{group}}} Galleries|{{{abc|}}}]]  
{{#if:{{{{BASEPAGENAME}}/info|info=abc|}}|[[Category:Approved Galleries|{{{{BASEPAGENAME}}/info|info=abc}}]] |[[Category:Approved Galleries]] }}
{{#if:{{{group2|}}}|[[Category:{{{group2}}} Galleries|{{{abc|}}}]] |}}  
{{#if:{{{{BASEPAGENAME}}/info|info=abc|}}|[[Category:{{{{BASEPAGENAME}}/info|info=group}} Approved Galleries|{{{{BASEPAGENAME}}/info|info=abc}}]] | [[Category:{{{{BASEPAGENAME}}/info|info=group}} Approved Galleries]]}}
{{#if:{{{group3|}}}|[[Category:{{{group3}}} Galleries|{{{abc|}}}]] |}}
{{#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]]}}|}}
{{#ifeq:{{{status|}}}|0| [[Category:Approved Galleries|{{{abc}}}]]  
{{#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]]}}|}}
[[Category:{{{group}}} Approved Galleries|{{{abc}}}]]  
{{#if:{{{{BASEPAGENAME}}/info|info=abc|}}|[[Category:Galleries|{{{{BASEPAGENAME}}/info|info=abc}}]] |[[Category:Galleries]] }}
{{#if:{{{group2|}}}|[[Category:{{{group2}}} Approved Galleries|{{{abc|}}}]] |}}  
{{#if:{{{{BASEPAGENAME}}/info|info=abc|}}|[[Category:{{{{BASEPAGENAME}}/info|info=group}} Galleries|{{{{BASEPAGENAME}}/info|info=abc}}]] | [[Category:{{{{BASEPAGENAME}}/info|info=group}} Galleries]]}}
{{#if:{{{group3|}}}|[[Category:{{{group3}}} Approved Galleries|{{{abc|}}}]] |}} }}</includeonly>
{{#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]]}}|}}
<noinclude>
{{#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>
==Usage==
To be used at the top of gallery pages associated with approved articles. The template fields include:


</nowiki>
<pre>
|{{#if:{{{{BASEPAGENAME}}/info|info=abc|}}|[[Category:Galleries|{{{{BASEPAGENAME}}/info|info=abc}}]] |[[Category:Galleries]] }}
{{Gallery header
{{#if:{{{{BASEPAGENAME}}/info|info=abc|}}|[[Category:{{{{BASEPAGENAME}}/info|info=group}} Galleries|{{{{BASEPAGENAME}}/info|info=abc}}]] | [[Category:{{{{BASEPAGENAME}}/info|info=group}} Galleries]]}}
|group=
{{#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]]}}|}}
|group2=
{{#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]]}}|}}</includeonly>
|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>

Latest revision as of 23:26, 26 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)