Template:Person

From Navigators

(Difference between revisions)
Jump to: navigation, search
 
(20 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>{{#set:name={{{name|}}}}}{{#ifeq: {{{role|}}} | Past member | {{Warning|'''{{PAGENAME}} is no longer with the Navigators.}} |  }}
+
</noinclude><includeonly>{{#set:name={{{name|}}}}}{{#set:Shortbio={{{shortbio|}}}}}{{#if:{{{role|}}}|'''''[[role::{{{role|}}}]]'''''
-
[[File:{{PAGENAME}}.jpg|right|thumb|180px|{{PAGENAME}}]]{{#if:{{{role|}}}|'''''[[role::{{{role|}}}]]'''''
+
| |}}{{#ifeq: {{{role|}}} | Past member | {{Warning|'''{{PAGENAME}} is no longer with the Navigators.}} |  }}
-
| |}}{{#if:{{{email|}}}|
+
[[File:{{PAGENAME}}.jpg|right|thumb|180px|{{PAGENAME}}]]{{#if:{{{email|}}}|
*''Email:'' [[email::{{{email|}}}]]|}}{{#if:{{{url|}}}|
*''Email:'' [[email::{{{email|}}}]]|}}{{#if:{{{url|}}}|
*''Homepage:'' [[url::{{{url|}}}]]|}}{{#if:{{{phone|}}}|
*''Homepage:'' [[url::{{{url|}}}]]|}}{{#if:{{{phone|}}}|
Line 22: Line 22:
*''Fax:'' [[fax::{{{fax|}}}]]|}}{{#if:{{{advisor|}}}|
*''Fax:'' [[fax::{{{fax|}}}]]|}}{{#if:{{{advisor|}}}|
*''Advisor(s):'' {{#arraymap:{{{advisor|}}}|,|x|[[advisor::x]]}}|}}
*''Advisor(s):'' {{#arraymap:{{{advisor|}}}|,|x|[[advisor::x]]}}|}}
 +
<p class="bio">{{{shortbio|}}}</p>
<div style="clear:both;">&nbsp;</div>
<div style="clear:both;">&nbsp;</div>
-
__NOTOC__
+
__NOTOC__{{#ifeq: {{{role|}}} | Management | |
<h2>Projects</h2>
<h2>Projects</h2>
Line 42: Line 43:
}}
}}
 +
{{#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}}]]
{{#ask:[[Category:Publication]] [[advisor::{{PAGENAME}}]]
-
| intro = <h2>Completed theses</h2>
+
| intro = <h3>Concluded</h3>
|?#=Pagename
|?#=Pagename
|?author
|?author
Line 71: Line 73:
|format=template
|format=template
|template=PublicationRef
|template=PublicationRef
-
|sort=type,Numerical publication date
+
|sort=type,NumPubDate
|order=descending,descending
|order=descending,descending
|headers=show
|headers=show
|named args=yes
|named args=yes
-
|link=none
+
|link=all
}}
}}
{{#ask:[[Category:Person]] [[advisor::{{PAGENAME}}]] [[role::!Past member]]
{{#ask:[[Category:Person]] [[advisor::{{PAGENAME}}]] [[role::!Past member]]
-
  | intro = <h2>Current supervisions</h2>
+
  | intro = <h3>Ongoing</h3>
  | ?role
  | ?role
  | format = ul
  | format = ul
Line 85: Line 87:
  | sort=role
  | sort=role
  | order=descending
  | order=descending
-
}}{{#ask:[[Category:Publication]] [[author::{{PAGENAME}}]]
+
}}}}{{#ask:[[Category:Publication]] [[author::{{PAGENAME}}]]
|?#=Pagename
|?#=Pagename
|mainlabel=Pagename
|mainlabel=Pagename
Line 92: Line 94:
|?address
|?address
|?booktitle
|?booktitle
-
|?chapter
+
|?Chapter
|?doi
|?doi
|?edition
|?edition
|?editor
|?editor
 +
|?intype
|?institution
|?institution
|?journal
|?journal
Line 102: Line 105:
|?note
|?note
|?number
|?number
-
|?pages
+
|?Pages
|?publisher
|?publisher
|?school
|?school
Line 113: Line 116:
|format=template
|format=template
|template=PublicationRef
|template=PublicationRef
-
|sort=year
+
|sort=NumPubDate,year
|named args=yes
|named args=yes
-
|order=descending
+
|offset=0
 +
|order=descending,descending
|link=none
|link=none
|intro=<h2>Publications</h2>
|intro=<h2>Publications</h2>
Line 121: Line 125:
|searchlabel=More publications
|searchlabel=More publications
}}
}}
-
{{#ask:[[Category:Publication]] [[editor::{{PAGENAME}}]]
+
{{#ask:[[Category:Publication]] [[type::book]] [[editor::{{PAGENAME}}]]
|?#=Pagename
|?#=Pagename
|?author
|?author
Line 127: Line 131:
|?address
|?address
|?booktitle
|?booktitle
-
|?chapter
+
|?Chapter
|?doi
|?doi
|?edition
|?edition
Line 137: Line 141:
|?note
|?note
|?number
|?number
-
|?pages
+
|?Pages
|?publisher
|?publisher
|?school
|?school
Line 148: Line 152:
|format=template
|format=template
|template=PublicationRef
|template=PublicationRef
-
|sort=Numerical publication date
+
|sort=NumPubDate
|order=descending
|order=descending
|headers=show
|headers=show
Line 154: Line 158:
|link=none
|link=none
|columns=1
|columns=1
-
|offset=
+
|offset=0
|limit=100
|limit=100
|intro = <h3>As editor</h3>
|intro = <h3>As editor</h3>
Line 183: Line 187:
|format=bibtex
|format=bibtex
|limit=300
|limit=300
-
|sort=Numerical publication date
+
|sort=NumPubDate
|order=descending
|order=descending
|searchlabel=Navigators - {{{name|}}}
|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