Difference between revisions of "Template:Affiliate"

From edegan.com
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
{{Team Member
+
{{Affiliate
 
|Has name=
 
|Has name=
 
|Has headshot=
 
|Has headshot=
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 86: Line 86:
 
| label11    =Projects
 
| label11    =Projects
 
| data11      ={{#ask: [[Category:Project]] [[Has owner::{{PAGENAME}}]]}}
 
| data11      ={{#ask: [[Category:Project]] [[Has owner::{{PAGENAME}}]]}}
| label11     =Employs
+
| label22     =Employs
| data11     ={{#ask: [[Category:Affiliate]] [[Works for::{{PAGENAME}}]]}}
+
| data22     ={{#ask: [[Category:Affiliate]] [[Works for::{{PAGENAME}}]]}}
 
| belowstyle  = background:#d6d6d6; font-size: 0.7em;
 
| belowstyle  = background:#d6d6d6; font-size: 0.7em;
 
| below      = Copyright © 2019 edegan.com. All Rights Reserved.
 
| below      = Copyright © 2019 edegan.com. All Rights Reserved.
 
}}
 
}}
 +
 +
{{#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 16: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