Changes

Jump to navigation Jump to search
3,850 bytes added ,  13:40, 5 October 2020
Created page with "<noinclude> This is the "Affiliate" template. It should be called in the following format: <pre> {{Team Member |Has name= |Has headshot= |Has team position= |Has team status=..."
<noinclude>
This is the "Affiliate" template.
It should be called in the following format:
<pre>
{{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=
|Belongs to organization=
|Works for=
}}
</pre>
Edit the page to see the template text.

This template uses [[Form:Affiliate]] and puts pages into [[:Category:Affiliate]]

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

This template uses many properties from [[Template:Team Member]], including:
*[[Property:Has team position]]. This should be set to Faculty, Staff, or Student
*[[Property:Has team status]]. This should be set to Active or Inactive.
*[[Property:Has or doing degree]]. This should be set to None, Bachelor, Master, PhD, or Other.

It also adds the following:
|Belongs to organization=
|Works for= This field is used for students/staff that work for other affiliates

</noinclude><includeonly>
{{Infobox
| bodystyle = width: 25em; background-color: #ffffff; border: 1px solid #a63c07;
| autoheaders = y
| title = Affiliate
| abovestyle = background:#0d776e; font-size: 125%; color:#ffffff
| above = [[Has team position::{{{Has team position|}}}]]
| image = [[File:{{{Has headshot|Profile_placeholder.png}}}|200px|thumb|center]]
| headerstyle = background:#0d776e; color:#ffffff;
| subheader = '''[[Has name::{{{Has name|}}}]]'''
| header1 = Information
| labelstyle = width: 33%;
| label5 =Status
| data5 ={{#if:{{{Has team status|}}} | [[Has team status::{{{Has team status|}}}]] }}
| label6 =Degree
| data6 ={{#if:{{{Has or doing degree|}}} | [[Has or doing degree::{{{Has or doing degree|}}}]] }}
| label7 =Major
| data7 ={{#if:{{{Has academic major|}}} | {{#arraymap:{{{Has academic major|}}}|,|x|[[Has academic major::x]]}} }}
| label8 =Skills (Students only)
| data8 ={{#if:{{{Has skills|}}} | {{#arraymap:{{{Has skills|}}}|,|x|[[Has skills::x]]}} }}
| label9 =Email
| data9 ={{#if:{{{Has email|}}} | [[Has email::{{{Has email|}}}]] }}
| label10 =Skype
| data10 ={{#if:{{{Has skype|}}} | [[Has skype::{{{Has skype|}}}]] }}
| 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]]}} }}
| label20 =Organization
| data20 ={{#if:{{{Belongs to organization|}}} | {{#arraymap:{{{Belongs to organization|}}}|,|x|[[Belongs to organization::x]]}} }}
| label21 =Works for
| data21 ={{#if:{{{Works for|}}} | {{#arraymap:{{{Works for|}}}|,|x|[[Works for::x]]}} }}
| label11 =Projects
| data11 ={{#ask: [[Category:Project]] [[Has owner::{{PAGENAME}}]]}}
| belowstyle = background:#d6d6d6; font-size: 0.7em;
| below = Copyright © 2019 edegan.com. All Rights Reserved.
}}

{{#default_form:Affiliate}}
[[Category:Affiliate]]
</includeonly>

Navigation menu