Difference between revisions of "Template:Affiliate"

From edegan.com
Jump to navigation Jump to search
Line 92: Line 92:
 
}}
 
}}
  
{{#set: Has headshot={{#if:{{{Has headshot|}}}|{{{Has headshot|}}}|Profile_placeholder.png}}
+
{{#set: Has headshot= {{#if: {{{Has headshot|}}} |{{{Has headshot|}}} |Profile_placeholder.png }} }}
  
 
{{#default_form:Affiliate}}
 
{{#default_form:Affiliate}}
 
[[Category:Affiliate]]
 
[[Category:Affiliate]]
 
</includeonly>
 
</includeonly>

Revision as of 16:32, 5 October 2020

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

{{Affiliate
|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=
}}

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:

It also adds the following:

|Belongs to organization=  
|Works for=  This field is used for students/staff that work for other affiliates