Difference between revisions of "Template:Leadership"

From Stanford SSI Wiki
Jump to navigation Jump to search
Line 32: Line 32:
 
{{#vardefine:Satellites_2_sunet|ianchang}}
 
{{#vardefine:Satellites_2_sunet|ianchang}}
 
{{#vardefine:Satellites_2_name|Ian Chang}}
 
{{#vardefine:Satellites_2_name|Ian Chang}}
{{#if:{{{Presidents|}}}|{{slack-user|sunet-id = {{#var:President_1_sunet}}|display-name = {{#var:President_1_name}}}} and {{slack-user|sunet-id={{#var:President_2_sunet}}|display-name={{#var:President_2_name}}}}}}
+
{{#vardefine:Spaceshot_1_sunet|pmwall}}
 +
{{#vardefine:Spaceshot_1_name|Phoebe Wall}}
 +
{{#vardefine:Spaceshot_2_sunet|aabdalla}}
 +
{{#vardefine:Spaceshot_2_name|Ahmed Abdalla}}
 +
{{#vardefine:Propulsion_1_sunet|newpomax}}
 +
{{#vardefine:Propulsion_1_name|Max Newport}}
 +
{{#vardefine:Propulsion_2_sunet|bhord}}
 +
{{#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:Propulsion_1_sunet|gregen}}
 +
{{#vardefine:Propulsion_1_name|Grant Regen}}
 +
{{#vardefine:Propulsion_2_sunet|moserj}}
 +
{{#vardefine:Propulsion_2_name|Joseph Moser}}
 +
{{#vardefine:Data_1_sunet|mfharris}}
 +
{{#vardefine:Data_1_name|Maya Harris}}
 +
{{#vardefine:DEI_1_sunet|sebamq}}
 +
{{#vardefine:DEI_1_name|Seba Marin-Quiros}}
 +
{{#vardefine:DEI_2_sunet|tdonatto}}
 +
{{#vardefine:DEI_2_name|TaNia Donatto}}
 +
{{#vardefine:DEI_3_sunet|pmwall}}
 +
{{#vardefine:DEI_3_name|Phoebe Wall}}
 +
{{#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|deniselj}}
 +
{{#vardefine:FO_1_name|Denise Lee}}
 +
{{#vardefine:FO_2_sunet|songqipu}}
 +
{{#vardefine:FO_2_name|Steven Songqi Pu}}
 +
{{#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:{{{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:{{{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}}}}}}
Line 56: Line 114:
 
:* {{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}}}}
 +
==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}}}}}}}}
 
</onlyinclude>
 
</onlyinclude>
  

Revision as of 03:36, 1 March 2021


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:

{{ssi-online-resource 
| Satellites = true
}}