Difference between revisions of "Template:Bio"

From Bioinformatics Core Wiki
Line 32: Line 32:
 
| {{#arraymap:{{{HomePage||}}}|\n|x|[[HomePage::x]]}}
 
| {{#arraymap:{{{HomePage||}}}|\n|x|[[HomePage::x]]}}
 
|}
 
|}
{{#ifingroup:biocore|<div style="float:right; clear:right;"><p style="text-align:right; font-weight:bold;">Pending Tasks</p>
+
{{#ifingroup:biocore|<div style="float:right; clear:right;">
 +
=== Pending Tasks ===
 
{{#ask:[[Category:Tasks]][[Responsible::{{FULLPAGENAME}}]][[Task Status::Running]]
 
{{#ask:[[Category:Tasks]][[Responsible::{{FULLPAGENAME}}]][[Task Status::Running]]
 
|?Title
 
|?Title
Line 51: Line 52:
 
}}{{#vardefine:end1|{{CURRENTMONTH}}}}{{#vardefine:end2|{{#expr:{{CURRENTMONTH}}+1}}}}{{#vardefine:year1|{{CURRENTYEAR}}}}{{#vardefine:year2|{{CURRENTYEAR}}}}{{#ifeq:{{#var:end2}}|13|{{#vardefine:end2|01}}{{#vardefine:year2|{{#expr:{{#var:year1}}+1}} }} }}
 
}}{{#vardefine:end1|{{CURRENTMONTH}}}}{{#vardefine:end2|{{#expr:{{CURRENTMONTH}}+1}}}}{{#vardefine:year1|{{CURRENTYEAR}}}}{{#vardefine:year2|{{CURRENTYEAR}}}}{{#ifeq:{{#var:end2}}|13|{{#vardefine:end2|01}}{{#vardefine:year2|{{#expr:{{#var:year1}}+1}} }} }}
 
* [[Private:Hour_Tasks_Light?user={{FULLPAGENAME}}&status=Finished&end1={{#var:year1}}-{{#var:end1}}-01&end2={{#var:year2}}-{{#var:end2}}-01|Finished Tasks this month]]
 
* [[Private:Hour_Tasks_Light?user={{FULLPAGENAME}}&status=Finished&end1={{#var:year1}}-{{#var:end1}}-01&end2={{#var:year2}}-{{#var:end2}}-01|Finished Tasks this month]]
</div> }}
+
</div>  
 +
 
 +
=== All tasks ===
 +
 
 +
{{#ask:[[Category:Tasks]][[Responsible::{{FULLPAGENAME}}]][[Task Status::Running]]
 +
|?Date Start
 +
|?Date End
 +
|sort=Date Start
 +
|order=DESC
 +
|format=timeline
 +
|limit=50
 +
}}
 +
 
 +
}}
 
[[Category:Members]]
 
[[Category:Members]]
 
</includeonly>
 
</includeonly>

Revision as of 13:36, 1 September 2015

This is the "Bio" template. It should be called in the following format:

{{Bio
|Name=
|Surnames=
|Position=
|Photo=
|Email_address=
|Phone=
|HomePage=
}}

Edit the page to see the template text.

Bioinformatics Core Facility @ CRG — 2011-2024