Template:Person

From Navigators

(Difference between revisions)
Jump to: navigation, search
 
(128 intermediate revisions not shown)
Line 14: Line 14:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
-
</noinclude><includeonly>{| class="wikitable"
+
</noinclude><includeonly>{{#set:name={{{name|}}}}}{{#set:Shortbio={{{shortbio|}}}}}{{#if:{{{role|}}}|'''''[[role::{{{role|}}}]]'''''
-
! name
+
| |}}{{#ifeq: {{{role|}}} | Past member | {{Warning|'''{{PAGENAME}} is no longer with the Navigators.}} |  }}
-
| [[name::{{{name|}}}]]
+
[[File:{{PAGENAME}}.jpg|right|thumb|180px|{{PAGENAME}}]]{{#if:{{{email|}}}|
-
|-
+
*''Email:'' [[email::{{{email|}}}]]|}}{{#if:{{{url|}}}|
-
! email
+
*''Homepage:'' [[url::{{{url|}}}]]|}}{{#if:{{{phone|}}}|
-
| [[email::{{{email|}}}]]
+
*''Phone:'' [[phone::{{{phone|}}}]]|}}{{#if:{{{fax|}}}|
-
|-
+
*''Fax:'' [[fax::{{{fax|}}}]]|}}{{#if:{{{advisor|}}}|
-
! url
+
*''Advisor(s):'' {{#arraymap:{{{advisor|}}}|,|x|[[advisor::x]]}}|}}
-
| [[url::{{{url|}}}]]
+
<p class="bio">{{{shortbio|}}}</p>
-
|-
+
<div style="clear:both;">&nbsp;</div>
-
! phone
+
__NOTOC__{{#ifeq: {{{role|}}} | Management | |
-
| [[phone::{{{phone|}}}]]
+
<h2>Projects</h2>
-
|-
+
-
! fax
+
-
| [[fax::{{{fax|}}}]]
+
-
|-
+
-
! role
+
-
| [[role::{{{role|}}}]]
+
-
|-
+
-
! advisor
+
-
| {{#arraymap:{{{advisor|}}}|,|x|[[advisor::x]]}}
+
-
|}
+
-
{{#ask: [[Category:Publication]] [[author::{FULLPAGENAME}}]]
+
{{#ask:[[Category:Project]] [[Past Project::!yes]] [[Researchers::{{PAGENAME}}]]
 +
| intro = <h3>Current projects</h3>
  | ?Title
  | ?Title
-
  | sort = year
+
  | sort=Total award amount
-
  | order = descending  
+
  | order=descending
 +
| format = ul
 +
| headers = hide
 +
}}{{#ask:[[Category:Project]] [[Past Project::yes]] [[Researchers::{{PAGENAME}}]]
 +
| intro = <h3>Past projects</h3>
 +
| ?Title
 +
| sort=Numerical start date
 +
| order=descending
 +
| format = ul
 +
| headers = hide
}}
}}
-
 
+
{{#ifexpr: {{#ask:[[Category:Publication]] [[advisor::{{PAGENAME}}]]|format=count}} + {{#ask:[[Category:Person]] [[advisor::{{PAGENAME}}]] [[role::!Past member]]|format=count}} > 0 | <h2>Student supervision</h2>
 +
{{#ask:[[Category:Publication]] [[advisor::{{PAGENAME}}]]
 +
| intro = <h3>Concluded</h3>
 +
|?#=Pagename
 +
|?author
 +
|?abstract
 +
|?address
 +
|?booktitle
 +
|?chapter
 +
|?doi
 +
|?edition
 +
|?editor
 +
|?institution
 +
|?journal
 +
|?key
 +
|?month
 +
|?note
 +
|?number
 +
|?pages
 +
|?publisher
 +
|?school
 +
|?series
 +
|?title
 +
|?type
 +
|?url
 +
|?volume
 +
|?year
 +
|limit=50
 +
|format=template
 +
|template=PublicationRef
 +
|sort=type,NumPubDate
 +
|order=descending,descending
 +
|headers=show
 +
|named args=yes
 +
|link=all
 +
}}
 +
{{#ask:[[Category:Person]] [[advisor::{{PAGENAME}}]] [[role::!Past member]]
 +
| intro = <h3>Ongoing</h3>
 +
| ?role
 +
| format = ul
 +
| headers = hide
 +
| limit=50
 +
| sort=role
 +
| order=descending
 +
}}}}{{#ask:[[Category:Publication]] [[author::{{PAGENAME}}]]
 +
|?#=Pagename
 +
|mainlabel=Pagename
 +
|?author
 +
|?abstract
 +
|?address
 +
|?booktitle
 +
|?Chapter
 +
|?doi
 +
|?edition
 +
|?editor
 +
|?intype
 +
|?institution
 +
|?journal
 +
|?key
 +
|?month
 +
|?note
 +
|?number
 +
|?Pages
 +
|?publisher
 +
|?school
 +
|?series
 +
|?title
 +
|?type
 +
|?url
 +
|?volume
 +
|?year
 +
|format=template
 +
|template=PublicationRef
 +
|sort=NumPubDate,year
 +
|named args=yes
 +
|offset=0
 +
|order=descending,descending
 +
|link=none
 +
|intro=<h2>Publications</h2>
 +
|limit=20
 +
|searchlabel=More publications
 +
}}
 +
{{#ask:[[Category:Publication]] [[type::book]] [[editor::{{PAGENAME}}]]
 +
|?#=Pagename
 +
|?author
 +
|?abstract
 +
|?address
 +
|?booktitle
 +
|?Chapter
 +
|?doi
 +
|?edition
 +
|?editor
 +
|?institution
 +
|?journal
 +
|?key
 +
|?month
 +
|?note
 +
|?number
 +
|?Pages
 +
|?publisher
 +
|?school
 +
|?series
 +
|?title
 +
|?type
 +
|?url
 +
|?volume
 +
|?year
 +
|format=template
 +
|template=PublicationRef
 +
|sort=NumPubDate
 +
|order=descending
 +
|headers=show
 +
|named args=yes
 +
|link=none
 +
|columns=1
 +
|offset=0
 +
|limit=100
 +
|intro = <h3>As editor</h3>
 +
}}<h3>BibTeX</h3> {{#ask: [[Category:Publication]] [[author::{{PAGENAME}}]] OR [[editor::{{PAGENAME}}]]
 +
|?author
 +
|?abstract
 +
|?address
 +
|?booktitle
 +
|?chapter
 +
|?doi
 +
|?edition
 +
|?editor
 +
|?institution
 +
|?journal
 +
|?key
 +
|?month
 +
|?note
 +
|?number
 +
|?pages
 +
|?publisher
 +
|?school
 +
|?series
 +
|?title
 +
|?type
 +
|?url
 +
|?volume
 +
|?year
 +
|format=bibtex
 +
|limit=300
 +
|sort=NumPubDate
 +
|order=descending
 +
|searchlabel=Navigators - {{{name|}}}
 +
}}
 +
}}
 +
{{People_Navbox}}
[[Category:Person]]
[[Category:Person]]
</includeonly>
</includeonly>

Latest revision as of 13:49, 21 February 2013

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

{{Person
|name=
|email=
|url=
|phone=
|fax=
|role=
|advisor=
}}

Edit the page to see the template text.

Personal tools
Navigators toolbox