Template:Timelines header: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Larry Sanger
No edit summary
imported>Chris Day
No edit summary
Line 1: Line 1:
''A timeline (or several) relating to [[{{BASEPAGENAME}}]].''
''A timeline (or several) relating to [[{{BASEPAGENAME}}]].''
<includeonly>
<includeonly>
{{#ifeq:{{{status|}}}|0|
[[Category:Timelines|{{{abc|}}}]]  
{{#if:{{{abc|}}}|[[Category:Approved Timelines|{{{abc}}}]] |[[Category:Approved Timelines]] }}
[[Category:{{{group}}} Timelines|{{{abc|}}}]]  
{{#if:{{{abc|}}}|[[Category:{{{group}}} Approved Timelines|{{{abc}}}]] | [[Category:{{{group}}} Approved Timelines]]}}
{{#if:{{{group2|}}}|[[Category:{{{group2}}} Timelines|{{{abc|}}}]] |}}  
{{#if:{{{group2|}}}|{{#if:{{{abc|}}}|[[Category:{{{group2}}} Approved Timelines|{{{abc}}}]] | [[Category:{{{group2}}} Approved Timelines]]}}|}}
{{#if:{{{group3|}}}|[[Category:{{{group3}}} Timelines|{{{abc|}}}]] |}}
{{#if:{{{group3|}}}|{{#if:{{{abc|}}}|[[Category:{{{group3}}} Approved Timelines|{{{abc}}}]] | [[Category:{{{group3}}} Approved Timelines]]}}|}}
{{#ifeq:{{{status|}}}|0| [[Category:Approved Timelines|{{{abc}}}]]  
{{#if:{{{abc|}}}|[[Category:Timelines|{{{abc}}}]] |[[Category:Timelines]] }}
[[Category:{{{group}}} Approved Timelines|{{{abc}}}]]  
{{#if:{{{abc|}}}|[[Category:{{{group}}} Timelines|{{{abc}}}]] | [[Category:{{{group}}} Timelines]]}}
{{#if:{{{group2|}}}|[[Category:{{{group2}}} Approved Timelines|{{{abc|}}}]] |}}  
{{#if:{{{group2|}}}|{{#if:{{{abc|}}}|[[Category:{{{group2}}} Timelines|{{{abc}}}]] | [[Category:{{{group2}}} Timelines]]}}|}}
{{#if:{{{group3|}}}|[[Category:{{{group3}}} Approved Timelines|{{{abc|}}}]] |}} }}</includeonly>
{{#if:{{{group3|}}}|{{#if:{{{abc|}}}|[[Category:{{{group3}}} Timelines|{{{abc}}}]] | [[Category:{{{group3}}} Timelines]]}}|}}<nowiki>
 
</nowiki>
|{{#if:{{{abc|}}}|[[Category:Timelines|{{{abc}}}]] |[[Category:Timelines]] }}
{{#if:{{{abc|}}}|[[Category:{{{group}}} Timelines|{{{abc}}}]] | [[Category:{{{group}}} Timelines]]}}
{{#if:{{{group2|}}}|{{#if:{{{abc|}}}|[[Category:{{{group2}}} Timelines|{{{abc}}}]] | [[Category:{{{group2}}} Timelines]]}}|}}
{{#if:{{{group3|}}}|{{#if:{{{abc|}}}|[[Category:{{{group3}}} Timelines|{{{abc}}}]] | [[Category:{{{group3}}} Timelines]]}}|}}
}}
</includeonly>
<noinclude>
<noinclude>
==Usage==
==Usage==
Line 38: Line 29:


'''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.
'''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>
</noinclude>

Revision as of 23:33, 5 August 2007

A timeline (or several) relating to Timelines header.


Usage

To be used at the top of the Timelines subpage associated with articles. The template fields include:

{{Timelines 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.