Difference between revisions of "Template:Team Member"

From edegan.com
Jump to navigation Jump to search
 
(17 intermediate revisions by the same user not shown)
Line 13: Line 13:
 
|Has email=
 
|Has email=
 
|Has skype=
 
|Has skype=
 +
|Went to school=
 +
|Has graduating class=
 +
|Had join date=
 +
|Has interests=
 +
|Has fun fact=
 +
|Has job title=
 +
|Has URL=
 +
|Has team sponsor=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
  
This template uses [[Form:Team Member]] and puts pages into [[:category:Team Member]]
+
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.
 
If [[Property:Has headshot]] is not specified a default image is used.
Line 24: Line 32:
 
*[[Property:Has team position]]. This should be set to Management, Researcher, or Tech Team.
 
*[[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 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.
+
*[[Property:Has or doing degree]]. This should be set to None, Bachelor, Master, PhD, or Other.
  
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
{{Infobox
 
{{Infobox
 
| bodystyle  = width: 25em; background-color: #ffffff; border: 1px solid #a63c07;
 
| bodystyle  = width: 25em; background-color: #ffffff; border: 1px solid #a63c07;
 +
| autoheaders = y
 
| title      = Team Member
 
| title      = Team Member
 
| abovestyle  = background:#0d776e; font-size: 125%; color:#ffffff
 
| abovestyle  = background:#0d776e; font-size: 125%; color:#ffffff
| above      = [[position::{{{position|}}}]]
+
| above      = [[Has team position::{{{Has team position|}}}]]
| image      = [[File:{{{Has headshot|Profile_placeholder.png}}}|200px|thumb|center]]| headerstyle = background:#0d776e; color:#ffffff
+
| 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|}}}]]
+
| subheader  = '''[[Has name::{{{Has name|}}}]]'''
 
| header1    = Information
 
| header1    = Information
 
| labelstyle  = width: 33%;  
 
| labelstyle  = width: 33%;  
| label4     Has team position
+
| label5     =Status
| data4       =[[Has team position::{{{Has team position|}}}]]
+
| data5       ={{#if:{{{Has team status|}}} | [[Has team status::{{{Has team status|}}}]] }}
| label5      Has team status
+
| label6      =Degree
| data5      =[[Has team status::{{{Has team status|}}}]]  
+
| data6      ={{#if:{{{Has or doing degree|}}} | [[Has or doing degree::{{{Has or doing degree|}}}]] }}
| label6      Has or doing degree
+
| label7      =Major
| data6      =[[Has or doing degree::{{{Has or doing degree|}}}]]  
+
| data7      ={{#if:{{{Has academic major|}}} | {{#arraymap:{{{Has academic major|}}}|,|x|[[Has academic major::x]]}} }}
| label7      Has academic major
+
| label8      =Skills (Students only)
| data7      ={{#arraymap:{{{Has academic major|}}}|,|x|[[Has academic major::x]]}}
+
| data8      ={{#if:{{{Has skills|}}} | {{#arraymap:{{{Has skills|}}}|,|x|[[Has skills::x]]}} }}
| label8      Has skills
+
| label9      =Email
| data8      ={{#arraymap:{{{Has skills|}}}|,|x|[[Has skills::x]]}}
+
| data9      ={{#if:{{{Has email|}}} | [[Has email::{{{Has email|}}}]] }}
| label9      Has email
+
| label10     =Skype
| data9      =[[Has email::{{{Has email|}}}]]  
+
| data10     ={{#if:{{{Has skype|}}} | [[Has skype::{{{Has skype|}}}]] }}
| label10      Has skype
+
| label12    =School
| data10      =[[Has skype::{{{Has skype|}}}]]  
+
| data12      ={{#if:{{{Went to school|}}} | [[Went to school::{{{Went to school|}}}]] }}
| label11    =Owns Projects:
+
| label13    =Graduating class
 +
| data13      ={{#if:{{{Has graduating class|}}} | [[Has graduating clas::{{{Has graduating class|}}}]] }}
 +
| label14    =Join date
 +
| data14      ={{#if:{{{Had join date|}}} | [[Had join date::{{{Had join date|}}}]] }}
 +
| label15    =Interests
 +
| data15      ={{#if:{{{Has interests|}}} | [[Has interests::{{{Has interests|}}}]] }}
 +
| label16    =Fun fact
 +
| data16      ={{#if:{{{Has fun fact|}}} | [[Has fun fact::{{{Has fun fact|}}}]] }}
 +
| label17    =Job Title
 +
| data17      ={{#if:{{{Has job title|}}} | [[Has job title::{{{Has job title|}}}]] }}
 +
| label18    =URL
 +
| data18      ={{#if:{{{Has URL|}}} | [[Has URL::{{{Has URL|}}}]] }}
 +
| label19    =Sponsor
 +
| data19      ={{#if:{{{Has team sponsor|}}} | {{#arraymap:{{{Has team sponsor|}}}|,|x|[[Has team sponsor::x]]}} }}
 +
| label11    =Projects
 
| data11      ={{#ask: [[Category:Project]] [[Has owner::{{PAGENAME}}]]}}
 
| data11      ={{#ask: [[Category:Project]] [[Has owner::{{PAGENAME}}]]}}
 
| belowstyle  = background:#d6d6d6; font-size: 0.7em;
 
| belowstyle  = background:#d6d6d6; font-size: 0.7em;
| below      = Copyright © 2016 McNair Center. All Rights Reserved.
+
| below      = Copyright © 2019 edegan.com. All Rights Reserved.
 
}}
 
}}
  

Latest revision as of 12:13, 30 September 2020

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=
|Went to school=
|Has graduating class=
|Had join date=
|Has interests=
|Has fun fact=
|Has job title=
|Has URL=
|Has team sponsor=
}}

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: