Difference between revisions of "Template:Bio"

From Bioinformatics Core Wiki
(Pushed from Bioinformatics Core Wiki.)
 
(2 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
|HomePage=
 
|HomePage=
 
|ORCID=
 
|ORCID=
 +
|LinkedIn=
 +
|Description=
 
}}
 
}}
 
</pre>
 
</pre>
 +
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{{DISPLAYTITLE:{{{Name|}}} {{{Surnames|}}}}}{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f2f2f2; color: #000000; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 
! style="text-align: center; background-color:#262626; color:#ffffff" colspan="2" |<big>[[Bio Name::{{{Name|}}}]] [[Bio Surnames::{{{Surnames|}}}]]</big>
 
|-
 
! Photo
 
| [[Bio Photo::Image:{{{Photo|Unknown.jpg}}}|]][[Image:{{{Photo|Unknown.jpg}}}|120px]]
 
|-
 
! Position
 
| [[Bio Position::{{{Position|}}}]]
 
|-
 
! Email address
 
| [[Email address::{{{Email_address|}}}]]
 
|-
 
! Office phone
 
| [[Phone::{{{Phone|}}}]]
 
|-
 
! Homepage(s)
 
| {{#arraymap:{{{HomePage||}}}|\n|x|[[HomePage::x]]}}
 
|-
 
! ORCID
 
| [[Has ORCID::{{{ORCID|}}}| ]]{{#if:{{{ORCID|}}}|[http://orcid.org/{{{ORCID|}}} {{{ORCID|}}}]}}
 
|}
 
{{#ifingroup:biocore|<div style="float:left; clear:both;">
 
=== Current Requests ===
 
  
 +
</noinclude><includeonly>__NOTOC__{{DISPLAYTITLE:{{{Name|}}} {{{Surnames|}}}}}
 +
<div id="bio_box">
 +
<div id="bio_inf">
 +
<div id="bio_data">
 +
<h1>[[Bio Name::{{{Name|}}}]] [[Bio Surnames::{{{Surnames|}}}]]</h1>
 +
<div id="bio_photo"> [[Bio Photo::Image:{{{Photo|Unknown.jpg}}}|]][[Image:{{{Photo|Unknown.jpg}}}|200px]]</div>
 +
<div id="bio_contact">
 +
<h3>[[Bio Position::{{{Position|}}}]]</h3>
 +
<p>Email: [[Email address::{{{Email_address|}}}]]</p>
 +
{{#ifeq:{{{Phone|}}}|||<p>Phone: [[Phone::{{{Phone|}}}]]</p>}}
 +
{{#ifeq:{{{HomePage|}}}|||<p>Homepage(s): {{#arraymap:{{{HomePage||}}}|\n|@@|[[HomePage::@@]]}}</p> }}
 +
{{#ifeq:{{{ORCID|}}}|||<p>ORCID: [[Has ORCID::{{{ORCID|}}}|]]{{#if:{{{ORCID|}}}|[http://orcid.org/{{{ORCID|}}}  {{{ORCID|}}}]}}</p>}}
 +
{{#ifeq:{{{LinkedIn|}}}|||<p> LinkedIn: [[Has LinkedIn::{{{LinkedIn|}}}|]] {{#if:{{{LinkedIn|}}}|[http://www.linkedin.com/in/{{{LinkedIn|}}}  {{{LinkedIn|}}}]}}</p>}}
 +
</div>
 +
</div>
 +
<div id="bio_description">
 +
{{{Description|}}}
 +
</div>
 +
</div>
 +
<!-- UP DESCRIPTION - DOWN REQUEST - PENDING TASKS - WORK -->
 +
 +
{{#ifingroup:biocore|
 +
<div id="bio_work">
 +
<div class="bio_man" id="bio_request">
 +
=== Current Requests ===
 
{{#ask:[[-Request Reference::<q>[[Responsible::{{FULLPAGENAMEE}}]]</q>]][[Status::Accepted]]
 
{{#ask:[[-Request Reference::<q>[[Responsible::{{FULLPAGENAMEE}}]]</q>]][[Status::Accepted]]
 
|?Has Title
 
|?Has Title
Line 48: Line 53:
 
|limit=20
 
|limit=20
 
|}}
 
|}}
 
+
</div>
 +
 +
<div class="bio_man" id="bio_pending"">
 
=== Pending Tasks ===
 
=== Pending Tasks ===
 
{{#ask:[[Category:Tasks]][[Responsible::{{FULLPAGENAME}}]][[Task Status::Running]]
 
{{#ask:[[Category:Tasks]][[Responsible::{{FULLPAGENAME}}]][[Task Status::Running]]
Line 68: Line 75:
 
}}{{#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>  
 
</div>  
 +
 +
<!--
 
<div style="float:left; clear:both; width:75%;">
 
<div style="float:left; clear:both; width:75%;">
 
=== All tasks ===
 
=== All tasks ===
 
 
{{#ask:[[Category:Tasks]][[Responsible::{{FULLPAGENAME}}]]
 
{{#ask:[[Category:Tasks]][[Responsible::{{FULLPAGENAME}}]]
 
|?Title
 
|?Title
Line 84: Line 93:
 
}}
 
}}
 
</div>
 
</div>
 +
-->
 
}}
 
}}
 +
 
[[Category:Members]]
 
[[Category:Members]]
 +
</div>
 
</includeonly>
 
</includeonly>

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