Difference between revisions of "Template:Leadership"

From Stanford SSI Wiki
Jump to navigation Jump to search
 
(32 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<onlyinclude>{{nowrap|{{#vardefine:President_1_sunet|aabdalla}}
+
<onlyinclude>
{{#vardefine:President_1_name|Ahmed Abdalla}}
+
{{nowrap|{{#vardefine:President_1_sunet|elijahkim}}
{{#vardefine:President_2_sunet|mfharris}}
+
{{#vardefine:President_1_name|Elijah Kim}}
{{#vardefine:President_2_name|Maya Harris}}
+
{{#vardefine:President_2_sunet|akrinos}}
{{#vardefine:Balloons_1_sunet|jteoh2}}
+
{{#vardefine:President_2_name|Angelina Krinos}}
{{#vardefine:Balloons_1_name|Janice Teoh}}
+
{{#vardefine:Balloons_1_sunet|mjyu}}
{{#vardefine:Balloons_2_name|matthtan}}
+
{{#vardefine:Balloons_1_name|Michael Yu}}
{{#vardefine:Balloons_2_sunet|Matthew Tan}}
+
{{#vardefine:Balloons_2_sunet|larizmen}}
{{#vardefine:Biology_1_sunet|luciam}}
+
{{#vardefine:Balloons_2_name|Luis Arizmendi}}
{{#vardefine:Biology_1_name|Lucia Riley Morris}}
+
{{#vardefine:Biology_1_sunet|ksaigal}}
{{#vardefine:Biology_2_sunet|finsam}}
+
{{#vardefine:Biology_1_name|Keshav Saigal}}
{{#vardefine:Biology_2_name|Finsam Samson}}
+
{{#vardefine:Biology_2_sunet|valex}}
{{#vardefine:Mars_1_sunet|rahma}}
+
{{#vardefine:Biology_2_name|Vassilis Alexopoulos}}
{{#vardefine:Mars_1_name|Rahma Ali}}
+
{{#vardefine:Mars_1_sunet|willnb}}
{{#vardefine:Mars_2_sunet|kylholl}}
+
{{#vardefine:Mars_1_name|Will Neal-Boyd}}
{{#vardefine:Mars_2_name|Kylie Holland}}
+
{{#vardefine:Mars_2_sunet|jsiskind}}
{{#vardefine:Operations_1_sunet|flynnd}}
+
{{#vardefine:Mars_2_name|Jay Siskind}}
{{#vardefine:Operations_1_name|Flynn Dreilinger}}
+
{{#vardefine:Operations_1_sunet|lskaling}}
{{#vardefine:Operations_2_sunet|gsocolof}}
+
{{#vardefine:Operations_1_name|Lawton Skaling}}
{{#vardefine:Operations_2_name|Giulia Socolof}}
+
{{#vardefine:Policy_1_sunet|jameswall}}
{{#vardefine:Policy_1_sunet|jthai}}
+
{{#vardefine:Policy_1_name|James Wall}}
{{#vardefine:Policy_1_name|Jocelyn Thai}}
+
{{#vardefine:Policy_2_sunet|tganea}}
{{#vardefine:Policy_2_sunet|lglik}}
+
{{#vardefine:Policy_2_name|Teddy Ganea}}
{{#vardefine:Policy_2_name|Leo Glikbarg}}
+
{{#vardefine:Rockets_1_sunet|evelynan}}
{{#vardefine:Rockets_1_sunet|jsbell39}}
+
{{#vardefine:Rockets_1_name|Evelyn Nutt}}
{{#vardefine:Rockets_1_name|Spencer Bell}}
+
{{#vardefine:Rockets_2_sunet|charlieg}}
{{#vardefine:Rockets_2_sunet|mfharris}}
+
{{#vardefine:Rockets_2_name|Charlie Gordon}}
{{#vardefine:Rockets_2_name|Maya Harris}}
+
{{#vardefine:Satellites_1_sunet|niklasv}}
{{#vardefine:Satellites_1_sunet|akasha}}
+
{{#vardefine:Satellites_1_name|Niklas Vainio}}
{{#vardefine:Satellites_1_name|Akasha Hayden}}
+
{{#vardefine:Satellites_2_sunet|sagewu}}
{{#vardefine:Satellites_2_sunet|ianchang}}
+
{{#vardefine:Satellites_2_name|Sage Wu}}
{{#vardefine:Satellites_2_name|Ian Chang}}
+
{{#vardefine:Satellites_3_sunet|hliu}}
 
+
{{#vardefine:Satellites_3_name|Hunter Liu}}
{{#if:{{{Presidents|}}}|Presidents, {{slack-user|sunet-id = {{#var:President_1_sunet}}|display-name = {{#var:President_1_name}}}} and {{slack-user|sunet-id={{#var:President_1_sunet}}|display-name={{#var:President_1_name}}}}}}
+
{{#vardefine:Spaceshot_1_sunet|zhixinli}}
{{#if:{{{Balloons|}}}|Balloons Leads, {{slack-user|sunet-id = {{#var:Balloons_1_sunet}}|display-name = {{#var:Balloons_1_name}}}} and {{slack-user|sunet-id={{#var:Balloons_2_sunet}}|display-name={{#var:Balloons_2_name}}}}}}
+
{{#vardefine:Spaceshot_1_name|Zhi Xin Li}}
{{#if:{{{Biology|}}}|Biology Leads, {{slack-user|sunet-id = {{#var:Biology_1_sunet}}|display-name = {{#var:Biology_1_name}}}} and {{slack-user|sunet-id={{#var:Biology_2_sunet}}|display-name={{#var:Biology_2_name}}}}}}
+
{{#vardefine:Spaceshot_2_sunet|lvirsik}}
{{#if:{{{Mars|}}}|Mars Leads, {{slack-user|sunet-id = {{#var:Mars_1_sunet}}|display-name = {{#var:Mars_1_name}}}} and {{slack-user|sunet-id={{#var:Mars_2_sunet}}|display-name={{#var:Mars_2_name}}}}}}
+
{{#vardefine:Spaceshot_2_name|Luke Virsik}}
{{#if:{{{Operations|}}}|Operations Leads, {{slack-user|sunet-id = {{#var:Operations_1_sunet}}|display-name = {{#var:Operations_1_name}}}} and {{slack-user|sunet-id={{#var:Operations_2_sunet}}|display-name={{#var:Operations_2_name}}}}}}
+
{{#vardefine:Propulsion_1_sunet|newpomax}}
{{#if:{{{Policy|}}}|Policy Leads, {{slack-user|sunet-id = {{#var:Policy_1_sunet}}|display-name = {{#var:Policy_1_name}}}} and {{slack-user|sunet-id={{#var:Policy_2_sunet}}|display-name={{#var:Policy_2_name}}}}}}
+
{{#vardefine:Propulsion_1_name|Max Newport}}
{{#if:{{{Rockets|}}}|Rockets Leads, {{slack-user|sunet-id = {{#var:Rockets_1_sunet}}|display-name = {{#var:Rockets_1_name}}}} and {{slack-user|sunet-id={{#var:Rockets_2_sunet}}|display-name={{#var:Rockets_2_name}}}}}}
+
{{#vardefine:Propulsion_2_sunet|bhord}}
{{#if:{{{Satellites|}}}|Satellites Leads, {{slack-user|sunet-id = {{#var:Satellites_1_sunet}}|display-name = {{#var:Satellites_1_name}}}} and {{slack-user|sunet-id={{#var:Satellites_2_sunet}}|display-name={{#var:Satellites_2_name}}}}}}
+
{{#vardefine:Propulsion_2_name|Blake Hord}}
 +
{{#vardefine:Business_1_sunet|lglik}}
 +
{{#vardefine:Business_1_name|Leo Glikbarg}}
 +
{{#vardefine:Business_2_sunet|ydalmia}}
 +
{{#vardefine:Business_2_name|Yash Dalmia}}
 +
{{#vardefine:Community_1_sunet|gregen}}
 +
{{#vardefine:Community_1_name|Grant Regen}}
 +
{{#vardefine:Community_2_sunet|moserj}}
 +
{{#vardefine:Community_2_name|Joseph Moser}}
 +
{{#vardefine:Data_1_sunet|mfharris}}
 +
{{#vardefine:Data_1_name|Maya Harris}}
 +
{{#vardefine:DEI_1_sunet|tdonatto}}
 +
{{#vardefine:DEI_1_name|TaNia Donatto}}
 +
{{#vardefine:DEI_2_sunet|pmwall}}
 +
{{#vardefine:DEI_2_name|James Wall}}
 +
{{#vardefine:DEI_3_sunet|shreya7}}
 +
{{#vardefine:DEI_3_name|Shreya Garg}}
 +
{{#vardefine:Events_1_sunet|kylholl}}
 +
{{#vardefine:Events_1_name|Kylie Holland}}
 +
{{#vardefine:Events_2_sunet|lbrown27}}
 +
{{#vardefine:Events_2_name|Lucy Brown}}
 +
{{#vardefine:FO_1_sunet|lfayne}}
 +
{{#vardefine:FO_1_name|Laywood Fayne}}
 +
{{#vardefine:FO_2_sunet|elijahkim}}
 +
{{#vardefine:FO_2_name|Elijah Kim}}
 +
{{#vardefine:IT_1_sunet|timv}}
 +
{{#vardefine:IT_1_name|Tim Vrakas}}
 +
{{#vardefine:Marketing_1_sunet|rahma}}
 +
{{#vardefine:Marketing_1_name|Rahma Ali}}
 +
{{#vardefine:Marketing_2_sunet|sophiaj}}
 +
{{#vardefine:Marketing_2_name|Sophia Jones}}
 +
{{#vardefine:Outreach_1_sunet|ajmacias}}
 +
{{#vardefine:Outreach_1_name|Anthony Macias}}
 +
{{#vardefine:Outreach_2_sunet|rsanda}}
 +
{{#vardefine:Outreach_2_name|Rohan Sanda}}
 +
{{#vardefine:Outreach_3_sunet|mfharris}}
 +
{{#vardefine:Outreach_3_name|Maya Harris}}
 +
{{#vardefine:Safety_1_sunet|newpomax}}
 +
{{#vardefine:Safety_1_name|Leo Glikbarg}}
 +
{{#vardefine:Safety_2_sunet|branjz}}
 +
{{#vardefine:Safety_2_name|Brandon Zhang}}
 +
{{#vardefine:Workspace_1_sunet|timv}}
 +
{{#vardefine:Workspace_1_name|Tim Vrakas}}
 +
{{#vardefine:Workspace_2_sunet|aclark22}}
 +
{{#vardefine:Workspace_2_name|Anna Clark}}
 +
{{#vardefine:Website_1_sunet|pritir}}
 +
{{#vardefine:Website_1_name|Priti Rangnekar}}
 +
{{#vardefine:Website_2_sunet|mjturk}}
 +
{{#vardefine:Website_2_name|Matthew Turk}}
 +
{{#vardefine:Current}}
 +
{{#if:{{{Presidents|}}}|{{#vardefine:Current|President}}{{slack-user|sunet-id = {{#var:{{#var:Current}}_1_sunet}}|display-name = {{#var:{{#var:Current}}_1_name}}}} and {{slack-user|sunet-id={{#var:{{#var:Current}}_2_sunet}}|display-name={{#var:{{#var:Current}}_2_name}}}}}}
 +
{{#if:{{{Balloons|}}}|{{slack-user|sunet-id = {{#var:Balloons_1_sunet}}|display-name = {{#var:Balloons_1_name}}}} and {{slack-user|sunet-id={{#var:Balloons_2_sunet}}|display-name={{#var:Balloons_2_name}}}}}}
 +
{{#if:{{{Biology|}}}|{{slack-user|sunet-id = {{#var:Biology_1_sunet}}|display-name = {{#var:Biology_1_name}}}} and {{slack-user|sunet-id={{#var:Biology_2_sunet}}|display-name={{#var:Biology_2_name}}}}}}
 +
{{#if:{{{Mars|}}}|{{slack-user|sunet-id = {{#var:Mars_1_sunet}}|display-name = {{#var:Mars_1_name}}}} and {{slack-user|sunet-id={{#var:Mars_2_sunet}}|display-name={{#var:Mars_2_name}}}}}}
 +
{{#if:{{{Operations|}}}|{{slack-user|sunet-id = {{#var:Operations_1_sunet}}|display-name = {{#var:Operations_1_name}}}} }}
 +
{{#if:{{{Policy|}}}|{{slack-user|sunet-id = {{#var:Policy_1_sunet}}|display-name = {{#var:Policy_1_name}}}} and {{slack-user|sunet-id={{#var:Policy_2_sunet}}|display-name={{#var:Policy_2_name}}}}}}
 +
{{#if:{{{Rockets|}}}|{{slack-user|sunet-id = {{#var:Rockets_1_sunet}}|display-name = {{#var:Rockets_1_name}}}} and {{slack-user|sunet-id={{#var:Rockets_2_sunet}}|display-name={{#var:Rockets_2_name}}}}}}
 +
{{#if:{{{Satellites|}}}|{{slack-user|sunet-id = {{#var:Satellites_1_sunet}}|display-name = {{#var:Satellites_1_name}}}} and {{slack-user|sunet-id={{#var:Satellites_2_sunet}}|display-name={{#var:Satellites_2_name}}}} and {{slack-user|sunet-id = {{#var:Satellites_3_sunet}}|display-name = {{#var:Satellites_3_name}}}} }}
 
{{#if:{{{Everyone|}}}|
 
{{#if:{{{Everyone|}}}|
 
==Presidents==
 
==Presidents==
Line 50: Line 107:
 
:* {{slack-user|sunet-id = {{#var:Mars_1_sunet}}|display-name = {{#var:Mars_1_name}}}} and {{slack-user|sunet-id={{#var:Mars_2_sunet}}|display-name={{#var:Mars_2_name}}}}
 
:* {{slack-user|sunet-id = {{#var:Mars_1_sunet}}|display-name = {{#var:Mars_1_name}}}} and {{slack-user|sunet-id={{#var:Mars_2_sunet}}|display-name={{#var:Mars_2_name}}}}
 
==Operations Leads==  
 
==Operations Leads==  
:* {{slack-user|sunet-id = {{#var:Operations_1_sunet}}|display-name = {{#var:Operations_1_name}}}} and {{slack-user|sunet-id={{#var:Operations_2_sunet}}|display-name={{#var:Operations_2_name}}}}
+
:* {{slack-user|sunet-id = {{#var:Operations_1_sunet}}|display-name = {{#var:Operations_1_name}}}}
 
==Policy Leads==  
 
==Policy Leads==  
 
:* {{slack-user|sunet-id = {{#var:Policy_1_sunet}}|display-name = {{#var:Policy_1_name}}}} and {{slack-user|sunet-id={{#var:Policy_2_sunet}}|display-name={{#var:Policy_2_name}}}}
 
:* {{slack-user|sunet-id = {{#var:Policy_1_sunet}}|display-name = {{#var:Policy_1_name}}}} and {{slack-user|sunet-id={{#var:Policy_2_sunet}}|display-name={{#var:Policy_2_name}}}}
Line 56: Line 113:
 
:* {{slack-user|sunet-id = {{#var:Rockets_1_sunet}}|display-name = {{#var:Rockets_1_name}}}} and {{slack-user|sunet-id={{#var:Rockets_2_sunet}}|display-name={{#var:Rockets_2_name}}}}
 
:* {{slack-user|sunet-id = {{#var:Rockets_1_sunet}}|display-name = {{#var:Rockets_1_name}}}} and {{slack-user|sunet-id={{#var:Rockets_2_sunet}}|display-name={{#var:Rockets_2_name}}}}
 
==Satellites Leads==  
 
==Satellites Leads==  
:* {{slack-user|sunet-id = {{#var:Satellites_1_sunet}}|display-name = {{#var:Satellites_1_name}}}} and {{slack-user|sunet-id={{#var:Satellites_2_sunet}}|display-name={{#var:Satellites_2_name}}}}}}}}
+
:* {{slack-user|sunet-id = {{#var:Satellites_1_sunet}}|display-name = {{#var:Satellites_1_name}}}} and {{slack-user|sunet-id={{#var:Satellites_2_sunet}}|display-name={{#var:Satellites_2_name}}}} and {{slack-user|sunet-id={{#var:Satellites_3_sunet}}|display-name={{#var:Satellites_3_name}}}}
</onlyinclude>
+
==Spaceshot Leads==
 +
:* {{slack-user|sunet-id = {{#var:Spaceshot_1_sunet}}|display-name = {{#var:Spaceshot_1_name}}}} and {{slack-user|sunet-id={{#var:Spaceshot_2_sunet}}|display-name={{#var:Spaceshot_2_name}}}}
 +
==Propulsion Leads==
 +
:* {{slack-user|sunet-id = {{#var:Propulsion_1_sunet}}|display-name = {{#var:Propulsion_1_name}}}} and {{slack-user|sunet-id={{#var:Propulsion_2_sunet}}|display-name={{#var:Propulsion_2_name}}}}
 +
==Business Leads==
 +
:* {{slack-user|sunet-id = {{#var:Business_1_sunet}}|display-name = {{#var:Business_1_name}}}} and {{slack-user|sunet-id={{#var:Business_2_sunet}}|display-name={{#var:Business_2_name}}}}
 +
==Community Leads==
 +
:* {{slack-user|sunet-id = {{#var:Community_1_sunet}}|display-name = {{#var:Community_1_name}}}} and {{slack-user|sunet-id={{#var:Community_2_sunet}}|display-name={{#var:Community_2_name}}}}
 +
==Data Lead==
 +
:* {{slack-user|sunet-id = {{#var:Data_1_sunet}}|display-name = {{#var:Data_1_name}}}}
 +
==Diversity, Equity, and Inclusion Leads==
 +
:* {{slack-user|sunet-id = {{#var:DEI_1_sunet}}|display-name = {{#var:DEI_1_name}}}}, {{slack-user|sunet-id = {{#var:DEI_2_sunet}}|display-name = {{#var:DEI_2_name}}}} and {{slack-user|sunet-id={{#var:DEI_3_sunet}}|display-name={{#var:DEI_3_name}}}}
 +
==Events Leads==
 +
:* {{slack-user|sunet-id = {{#var:Events_1_sunet}}|display-name = {{#var:Events_1_name}}}} and {{slack-user|sunet-id={{#var:Events_2_sunet}}|display-name={{#var:Events_2_name}}}}
 +
==Financial Officers==
 +
:* {{slack-user|sunet-id = {{#var:FO_1_sunet}}|display-name = {{#var:FO_1_name}}}} and {{slack-user|sunet-id={{#var:FO_2_sunet}}|display-name={{#var:FO_2_name}}}}
 +
==IT Lead==
 +
:* {{slack-user|sunet-id = {{#var:IT_1_sunet}}|display-name = {{#var:IT_1_name}}}}
 +
==Marketing Leads==
 +
:* {{slack-user|sunet-id = {{#var:Marketing_1_sunet}}|display-name = {{#var:Marketing_1_name}}}} and {{slack-user|sunet-id={{#var:Marketing_2_sunet}}|display-name={{#var:Marketing_2_name}}}}
 +
==Outreach Leads==
 +
:* {{slack-user|sunet-id = {{#var:Outreach_1_sunet}}|display-name = {{#var:Outreach_1_name}}}}, {{slack-user|sunet-id={{#var:Outreach_2_sunet}}|display-name={{#var:Outreach_2_name}}}}, and {{slack-user|sunet-id={{#var:Outreach_3_sunet}}|display-name={{#var:Outreach_3_name}}}}
 +
==Safety Leads==
 +
:* {{slack-user|sunet-id = {{#var:Safety_1_sunet}}|display-name = {{#var:Safety_1_name}}}} and {{slack-user|sunet-id={{#var:Safety_2_sunet}}|display-name={{#var:Safety_2_name}}}}
 +
==Workspace Leads==
 +
:* {{slack-user|sunet-id = {{#var:Workspace_1_sunet}}|display-name = {{#var:Workspace_1_name}}}} and {{slack-user|sunet-id={{#var:Workspace_2_sunet}}|display-name={{#var:Workspace_2_name}}}}
 +
==Website Leads==
 +
:* {{slack-user|sunet-id = {{#var:Website_1_sunet}}|display-name = {{#var:Website_1_name}}}} and {{slack-user|sunet-id={{#var:Website_2_sunet}}|display-name={{#var:Website_2_name}}}}}}}}
 +
<nowiki/></onlyinclude>
 +
 
 
To use, copy the code below into the desired page, populating the fields that you wish to be displayed (with any text that you want) and feel free to leave the other fields blank or remove.
 
To use, copy the code below into the desired page, populating the fields that you wish to be displayed (with any text that you want) and feel free to leave the other fields blank or remove.
  
Line 73: Line 159:
 
}}</nowiki>
 
}}</nowiki>
  
An example of proper usage is shown here. Check out [[Leadership]] for a MediaWiki rendered version.
+
An example of proper usage is shown here:
  
 
  <nowiki>
 
  <nowiki>
Line 88: Line 174:
 
}}</nowiki>
 
}}</nowiki>
  
or, if you only want the Satellites leads you could only define the Satellites field. Check out [[Satellites]] for an example of rendered MediaWiki.
+
or, if you only want the Satellites leads you could do:
  
 
  <nowiki>
 
  <nowiki>
{{ssi-online-resource
+
{{Leadership
 
| Satellites = true
 
| Satellites = true
 
}}</nowiki>
 
}}</nowiki>
Line 97: Line 183:
 
[[Category: Templates]]
 
[[Category: Templates]]
 
<nowiki/>
 
<nowiki/>
 +
 +
One downside is that you need to wrap any text that includes this template with nowrap if you want the coleads' names to appear inline with the text.
 +
 +
<nowiki>
 +
{{nowrap|{{Leadership|Satellites=true}}}}
 +
</nowiki>
 +
 +
=Updating this page=
 +
 +
To change the leadership template edit the source of this page. For "SUNet" you actually need to put the first part of the leadership member's email address that they _first_ used to register on slack. I.e., if they registered with a gmail first, and then changed to a Stanford email later, then you need to put the part before the @ of their original gmail account.

Latest revision as of 21:41, 3 October 2024

To use, copy the code below into the desired page, populating the fields that you wish to be displayed (with any text that you want) and feel free to leave the other fields blank or remove.

{{Leadership
| Everyone = 
| Presidents = 
| Balloons = 
| Biology = 
| Mars = 
| Operations = 
| Policy = 
| Rockets = 
| Satellites = 
}}

An example of proper usage is shown here:

{{Leadership
| Everyone = true
| Presidents = 
| Balloons = 
| Biology = 
| Mars = 
| Operations = 
| Policy = 
| Rockets = 
| Satellites = 
}}

or, if you only want the Satellites leads you could do:

{{Leadership
| Satellites = true
}}

One downside is that you need to wrap any text that includes this template with nowrap if you want the coleads' names to appear inline with the text.

{{nowrap|{{Leadership|Satellites=true}}}}

Updating this page

To change the leadership template edit the source of this page. For "SUNet" you actually need to put the first part of the leadership member's email address that they _first_ used to register on slack. I.e., if they registered with a gmail first, and then changed to a Stanford email later, then you need to put the part before the @ of their original gmail account.