Difference between revisions of "Template:Team Member"

From edegan.com
Jump to navigation Jump to search
 
(12 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>
Line 29: Line 37:
 
{{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      = [[Has team position::{{{Has team 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|}}}]]'''
Line 38: Line 47:
 
| labelstyle  = width: 33%;  
 
| labelstyle  = width: 33%;  
 
| label5      =Status
 
| label5      =Status
| data5      =[[Has team status::{{{Has team status|}}}]]  
+
| data5      ={{#if:{{{Has team status|}}} | [[Has team status::{{{Has team status|}}}]] }}
 
| label6      =Degree
 
| label6      =Degree
| data6      =[[Has or doing degree::{{{Has or doing degree|}}}]]  
+
| data6      ={{#if:{{{Has or doing degree|}}} | [[Has or doing degree::{{{Has or doing degree|}}}]] }}
| label7      =Academic major
+
| label7      =Major
| data7      ={{#arraymap:{{{Has academic major|}}}|,|x|[[Has academic major::x]]}}
+
| data7      ={{#if:{{{Has academic major|}}} | {{#arraymap:{{{Has academic major|}}}|,|x|[[Has academic major::x]]}} }}
| label8      =Skills
+
| label8      =Skills (Students only)
| data8      ={{#arraymap:{{{Has skills|}}}|,|x|[[Has skills::x]]}}
+
| data8      ={{#if:{{{Has skills|}}} | {{#arraymap:{{{Has skills|}}}|,|x|[[Has skills::x]]}} }}
 
| label9      =Email
 
| label9      =Email
| data9      =[[Has email::{{{Has email|}}}]]  
+
| data9      ={{#if:{{{Has email|}}} | [[Has email::{{{Has email|}}}]] }}
 
| label10    =Skype
 
| label10    =Skype
| data10      =[[Has skype::{{{Has skype|}}}]]  
+
| data10      ={{#if:{{{Has skype|}}} | [[Has skype::{{{Has skype|}}}]] }}
| label11    =Owns Projects:
+
| label12    =School
 +
| data12      ={{#if:{{{Went to school|}}} | [[Went to school::{{{Went to school|}}}]] }}
 +
| 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;

Latest revision as of 13: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: