Template:Person

From Navigators

(Difference between revisions)
Jump to: navigation, search
 
(39 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>{{#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|}}}]]''| |}}{{#if:{{{name|}}}|
+
| |}}{{#ifeq: {{{role|}}} | Past member | {{Warning|'''{{PAGENAME}} is no longer with the Navigators.}} |  }}
-
*''Name:'' [[name::{{{name|}}}]]|}}{{#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=Numerical publication date
+
|sort=type,NumPubDate
-
|order=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
  | headers = hide
  | headers = hide
  | limit=50
  | limit=50
-
}}{{#ask:[[Category:Publication]] [[author::{{PAGENAME}}]]
+
| sort=role
 +
| order=descending
 +
}}}}{{#ask:[[Category:Publication]] [[author::{{PAGENAME}}]]
|?#=Pagename
|?#=Pagename
|mainlabel=Pagename
|mainlabel=Pagename
Line 90: Line 94:
|?address
|?address
|?booktitle
|?booktitle
-
|?chapter
+
|?Chapter
|?doi
|?doi
|?edition
|?edition
|?editor
|?editor
 +
|?intype
|?institution
|?institution
|?journal
|?journal
Line 100: Line 105:
|?note
|?note
|?number
|?number
-
|?pages
+
|?Pages
|?publisher
|?publisher
|?school
|?school
Line 111: Line 116:
|format=template
|format=template
|template=PublicationRef
|template=PublicationRef
-
|sort=Numerical publication date
+
|sort=NumPubDate,year
-
|order=descending
+
|named args=yes
|named args=yes
 +
|offset=0
 +
|order=descending,descending
|link=none
|link=none
|intro=<h2>Publications</h2>
|intro=<h2>Publications</h2>
Line 119: Line 125:
|searchlabel=More publications
|searchlabel=More publications
}}
}}
-
 
+
{{#ask:[[Category:Publication]] [[type::book]] [[editor::{{PAGENAME}}]]
-
BibTeX: {{#ask: [[Category:Publication]] [[author::{{PAGENAME}}]]
+
|?#=Pagename
|?author
|?author
|?abstract
|?abstract
|?address
|?address
|?booktitle
|?booktitle
-
|?chapter
+
|?Chapter
|?doi
|?doi
|?edition
|?edition
Line 135: Line 141:
|?note
|?note
|?number
|?number
-
|?pages
+
|?Pages
|?publisher
|?publisher
|?school
|?school
Line 144: Line 150:
|?volume
|?volume
|?year
|?year
-
|format=bibtex
+
|format=template
-
|limit=300
+
|template=PublicationRef
-
|sort=Numerical publication date
+
|sort=NumPubDate
|order=descending
|order=descending
-
|searchlabel=Navigators - {{{name|}}}
+
|headers=show
-
}}{{#ask:[[Category:Publication]] [[editor::{{PAGENAME}}]]
+
|named args=yes
-
|?#=Pagename
+
|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
|?author
|?abstract
|?abstract
Line 174: Line 185:
|?volume
|?volume
|?year
|?year
-
|format=template
+
|format=bibtex
-
|template=PublicationRef
+
|limit=300
-
|sort=Numerical publication date
+
|sort=NumPubDate
|order=descending
|order=descending
-
|headers=show
+
|searchlabel=Navigators - {{{name|}}}
-
|named args=yes
+
-
|link=none
+
-
|columns=1
+
-
|offset=
+
-
|limit=100
+
-
|intro = <h3>As editor</h3>
+
}}
}}
-
 
+
}}
-
 
+
{{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