Difference between revisions of "Template:Team Member"

From edegan.com
Jump to navigation Jump to search
Line 16: Line 16:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
 
|-
 
! Has name
 
| [[Has name::{{{Has name|}}}]]
 
|-
 
! Has headshot
 
| [[Has name::{{{Has headshot|}}}]]
 
|-
 
! Has team position
 
| [[Has team position::{{{Has team position|}}}]]
 
|-
 
! Has team status
 
| [[Has team status::{{{Has team status|}}}]]
 
|-
 
! Has or doing degree
 
| [[Has or doing degree::{{{Has or doing degree|}}}]]
 
|-
 
! Has academic major
 
| {{#arraymap:{{{Has academic major|}}}|,|x|[[Has academic major::x]]}}
 
|-
 
! Has skills
 
| {{#arraymap:{{{Has skills|}}}|,|x|[[Has skills::x]]}}
 
|-
 
! Has email
 
| [[Has email::{{{Has email|}}}]]
 
|-
 
! Has skype
 
| [[Has skype::{{{Has skype|}}}]]
 
|}
 
  
 +
This template uses [[Form:Team Member]] and puts pages into [[:category:Team Member]]
 +
 +
If [[Property:Has headshot]] is not specified a default image is used.
 +
 +
This template also uses:
 +
*[[Property:Has team position]]. This should be set to Management, Researcher, or Tech Team.
 +
*[[Property:Has team status]]. This should be set to Active or Inactive.
 +
*[[Property:Has or doing degree]]. This should be set to Bachelor, Master, PhD, or Other.
 +
 +
</noinclude><includeonly>
 +
{{Infobox
 +
| bodystyle  = width: 25em; background-color: #ffffff; border: 1px solid #a63c07;
 +
| title      = Team Member
 +
| abovestyle  = background:#0d776e; font-size: 125%; color:#ffffff
 +
| above      = [[position::{{{position|}}}]]
 +
| image      = [[File:{{{Has headshot|Profile_placeholder.png}}}|200px|thumb|center]]| headerstyle = background:#0d776e; color:#ffffff
 +
| headerstyle = background:#0d776e; color:#ffffff;
 +
| subheader  = [[Has name::{{{Has name|}}}]]
 +
| header1    = Information
 +
| labelstyle  = width: 33%;
 +
| label4      Has team position
 +
| data4      =[[Has team position::{{{Has team position|}}}]]
 +
| label5      Has team status
 +
| data5      =[[Has team status::{{{Has team status|}}}]]
 +
| label6      Has or doing degree
 +
| data6      =[[Has or doing degree::{{{Has or doing degree|}}}]]
 +
| label7      Has academic major
 +
| data7      ={{#arraymap:{{{Has academic major|}}}|,|x|[[Has academic major::x]]}}
 +
| label8      Has skills
 +
| data8      ={{#arraymap:{{{Has skills|}}}|,|x|[[Has skills::x]]}}
 +
| label9      Has email
 +
| data9      =[[Has email::{{{Has email|}}}]]
 +
| label10      Has skype
 +
| data10      =[[Has skype::{{{Has skype|}}}]]
 +
| label11    =Owns Projects:
 +
| data11      ={{#ask: [[Category:Project]] [[Has owner::{{PAGENAME}}]]}}
 +
| belowstyle  = background:#d6d6d6; font-size: 0.7em;
 +
| below      = Copyright © 2016 McNair Center. All Rights Reserved.
 +
}}
 +
 +
{{#default_form:Team Member}}
 
[[Category:Team Member]]
 
[[Category:Team Member]]
 
</includeonly>
 
</includeonly>

Revision as of 13:04, 5 March 2019

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

{{Team Member
|Has name=
|Has headshot=
|Has team position=
|Has team status=
|Has or doing degree=
|Has academic major=
|Has skills=
|Has email=
|Has skype=
}}

Edit the page to see the template text.

This template uses Form:Team Member and puts pages into category:Team Member

If Property:Has headshot is not specified a default image is used.

This template also uses: