Difference between revisions of "Template:Bio"

From Bioinformatics Core Wiki
(Pushed from Bioinformatics Core Wiki.)
(Pushed from Bioinformatics Core Wiki.)
 
Line 28: Line 28:
 
<h3>[[Bio Position::{{{Position|}}}]]</h3>
 
<h3>[[Bio Position::{{{Position|}}}]]</h3>
 
<p>Email: [[Email address::{{{Email_address|}}}]]</p>
 
<p>Email: [[Email address::{{{Email_address|}}}]]</p>
<p>Phone: [[Phone::{{{Phone|}}}]]</p>
+
{{#ifeq:{{{Phone|}}}|||<p>Phone: [[Phone::{{{Phone|}}}]]</p>}}
<p>Homepage(s): {{#arraymap:{{{HomePage||}}}|\n|@@|[[HomePage::@@]]}}</p>
+
{{#ifeq:{{{HomePage|}}}|||<p>Homepage(s): {{#arraymap:{{{HomePage||}}}|\n|@@|[[HomePage::@@]]}}</p> }}
<p>ORCID: [[Has ORCID::{{{ORCID|}}}|]]{{#if:{{{ORCID|}}}|[http://orcid.org/{{{ORCID|}}}  {{{ORCID|}}}]}}</p>
+
{{#ifeq:{{{ORCID|}}}|||<p>ORCID: [[Has ORCID::{{{ORCID|}}}|]]{{#if:{{{ORCID|}}}|[http://orcid.org/{{{ORCID|}}}  {{{ORCID|}}}]}}</p>}}
<p> LinkedIn: [[Has LinkedIn::{{{LinkedIn|}}}|]] {{#if:{{{LinkedIn|}}}|[http://www.linkedin.com/in/{{{LinkedIn|}}}  {{{LinkedIn|}}}]}}</p>
+
{{#ifeq:{{{LinkedIn|}}}|||<p> LinkedIn: [[Has LinkedIn::{{{LinkedIn|}}}|]] {{#if:{{{LinkedIn|}}}|[http://www.linkedin.com/in/{{{LinkedIn|}}}  {{{LinkedIn|}}}]}}</p>}}
 
</div>
 
</div>
 
</div>
 
</div>
Line 74: Line 74:
 
|limit=10
 
|limit=10
 
}}{{#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| left]]
+
* [[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>  
 
</div>  
 
</div>  

Latest revision as of 10:35, 31 August 2016

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

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

Edit the page to see the template text.


Bioinformatics Core Facility @ CRG — 2011-2024