Difference between revisions of "Template:Affiliate"

From edegan.com
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 47: Line 47:
 
| 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]]
+
| image      = [[File:{{{Has headshot|Profile_placeholder.png}}}|200px|center]]
 
| headerstyle = background:#0d776e; color:#ffffff;
 
| headerstyle = background:#0d776e; color:#ffffff;
 
| subheader  = '''[[Has name::{{{Has name|}}}]]'''
 
| subheader  = '''[[Has name::{{{Has name|}}}]]'''
Line 92: Line 92:
 
}}
 
}}
  
{{#set: Has team status={{#if:{{{Has headshot}}} |{{{Has team status}}}|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>

Latest revision as of 15:36, 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