Template:Person
From Navigators
(Difference between revisions)
(11 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|}}}}}{{#if:{{{role|}}}|'''''[[role::{{{role|}}}]]''''' | + | </noinclude><includeonly>{{#set:name={{{name|}}}}}{{#set:Shortbio={{{shortbio|}}}}}{{#if:{{{role|}}}|'''''[[role::{{{role|}}}]]''''' |
| |}}{{#ifeq: {{{role|}}} | Past member | {{Warning|'''{{PAGENAME}} is no longer with the Navigators.}} | }} | | |}}{{#ifeq: {{{role|}}} | Past member | {{Warning|'''{{PAGENAME}} is no longer with the Navigators.}} | }} | ||
[[File:{{PAGENAME}}.jpg|right|thumb|180px|{{PAGENAME}}]]{{#if:{{{email|}}}| | [[File:{{PAGENAME}}.jpg|right|thumb|180px|{{PAGENAME}}]]{{#if:{{{email|}}}| | ||
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;"> </div> | <div style="clear:both;"> </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 = < | + | | intro = <h3>Concluded</h3> |
|?#=Pagename | |?#=Pagename | ||
|?author | |?author | ||
Line 75: | Line 77: | ||
|headers=show | |headers=show | ||
|named args=yes | |named args=yes | ||
- | |link= | + | |link=all |
}} | }} | ||
{{#ask:[[Category:Person]] [[advisor::{{PAGENAME}}]] [[role::!Past member]] | {{#ask:[[Category:Person]] [[advisor::{{PAGENAME}}]] [[role::!Past member]] | ||
- | | intro = < | + | | 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 |
|?doi | |?doi | ||
|?edition | |?edition | ||
|?editor | |?editor | ||
+ | |?intype | ||
|?institution | |?institution | ||
|?journal | |?journal | ||
Line 102: | Line 105: | ||
|?note | |?note | ||
|?number | |?number | ||
- | |? | + | |?Pages |
|?publisher | |?publisher | ||
|?school | |?school | ||
Line 122: | 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 128: | Line 131: | ||
|?address | |?address | ||
|?booktitle | |?booktitle | ||
- | |? | + | |?Chapter |
|?doi | |?doi | ||
|?edition | |?edition | ||
Line 138: | Line 141: | ||
|?note | |?note | ||
|?number | |?number | ||
- | |? | + | |?Pages |
|?publisher | |?publisher | ||
|?school | |?school | ||
Line 188: | Line 191: | ||
|searchlabel=Navigators - {{{name|}}} | |searchlabel=Navigators - {{{name|}}} | ||
}} | }} | ||
- | + | }} | |
{{People_Navbox}} | {{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.