Difference between revisions of "Template:Leadership"

From Stanford SSI Wiki
Jump to navigation Jump to search
m
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<onlyinclude>
 
<onlyinclude>
{{nowrap|{{#vardefine:President_1_sunet|reachelijah}}
+
{{nowrap|{{#vardefine:President_1_sunet|elijahkim}}
 
{{#vardefine:President_1_name|Elijah Kim}}
 
{{#vardefine:President_1_name|Elijah Kim}}
 
{{#vardefine:President_2_sunet|akrinos}}
 
{{#vardefine:President_2_sunet|akrinos}}
 
{{#vardefine:President_2_name|Angelina Krinos}}
 
{{#vardefine:President_2_name|Angelina Krinos}}
{{#vardefine:Balloons_1_sunet|rsanda}}
+
{{#vardefine:Balloons_1_sunet|mjyu}}
{{#vardefine:Balloons_1_name|Rohan Sanda}}
+
{{#vardefine:Balloons_1_name|Michael Yu}}
{{#vardefine:Balloons_2_sunet|bernardj}}
+
{{#vardefine:Balloons_2_sunet|larizmen}}
{{#vardefine:Balloons_2_name|Jack Barnardo}}
+
{{#vardefine:Balloons_2_name|Luis Arizmendi}}
{{#vardefine:Biology_1_sunet|shrestp}}
+
{{#vardefine:Biology_1_sunet|ksaigal}}
{{#vardefine:Biology_1_name|Priyanka Shrestha}}
+
{{#vardefine:Biology_1_name|Keshav Saigal}}
{{#vardefine:Biology_2_sunet|shayns}}
+
{{#vardefine:Biology_2_sunet|valex}}
{{#vardefine:Biology_2_name|Shay Nair Sharma}}
+
{{#vardefine:Biology_2_name|Vassilis Alexopoulos}}
{{#vardefine:Mars_1_sunet|jolenel}}
+
{{#vardefine:Mars_1_sunet|willnb}}
{{#vardefine:Mars_1_name|Jolene Lee}}
+
{{#vardefine:Mars_1_name|Will Neal-Boyd}}
{{#vardefine:Mars_2_sunet|yjenkim}}
+
{{#vardefine:Mars_2_sunet|jsiskind}}
{{#vardefine:Mars_2_name|Jenny Kim}}
+
{{#vardefine:Mars_2_name|Jay Siskind}}
{{#vardefine:Operations_1_sunet|agschmi}}
+
{{#vardefine:Operations_1_sunet|lskaling}}
{{#vardefine:Operations_1_name|Alex Schmitt}}
+
{{#vardefine:Operations_1_name|Lawton Skaling}}
{{#vardefine:Operations_2_sunet|carias}}
+
{{#vardefine:Policy_1_sunet|jameswall}}
{{#vardefine:Operations_2_name|Carlos Arias}}
+
{{#vardefine:Policy_1_name|James Wall}}
{{#vardefine:Policy_1_sunet|jlasiota}}
+
{{#vardefine:Policy_2_sunet|tganea}}
{{#vardefine:Policy_1_name|Julia Lasiota}}
+
{{#vardefine:Policy_2_name|Teddy Ganea}}
{{#vardefine:Policy_2_sunet|pocmalek}}
+
{{#vardefine:Rockets_1_sunet|evelynan}}
{{#vardefine:Policy_2_name|Malek Hodroj}}
+
{{#vardefine:Rockets_1_name|Evelyn Nutt}}
{{#vardefine:Rockets_1_sunet|ajmacias}}
+
{{#vardefine:Rockets_2_sunet|charlieg}}
{{#vardefine:Rockets_1_name|Anthony Macias}}
+
{{#vardefine:Rockets_2_name|Charlie Gordon}}
{{#vardefine:Rockets_2_sunet|akrinos}}
+
{{#vardefine:Satellites_1_sunet|niklasv}}
{{#vardefine:Rockets_2_name|Angelina Krinos}}
+
{{#vardefine:Satellites_1_name|Niklas Vainio}}
{{#vardefine:Satellites_1_sunet|isobelporteous}}
+
{{#vardefine:Satellites_2_sunet|sagewu}}
{{#vardefine:Satellites_1_name|Isobel Porteous}}
+
{{#vardefine:Satellites_2_name|Sage Wu}}
{{#vardefine:Satellites_2_sunet|jmukobi}}
+
{{#vardefine:Satellites_3_sunet|hliu}}
{{#vardefine:Satellites_2_name|Jacob Mukobi}}
+
{{#vardefine:Satellites_3_name|Hunter Liu}}
 
{{#vardefine:Spaceshot_1_sunet|zhixinli}}
 
{{#vardefine:Spaceshot_1_sunet|zhixinli}}
 
{{#vardefine:Spaceshot_1_name|Zhi Xin Li}}
 
{{#vardefine:Spaceshot_1_name|Zhi Xin Li}}
Line 89: Line 89:
 
{{#vardefine:Website_2_name|Matthew Turk}}
 
{{#vardefine:Website_2_name|Matthew Turk}}
 
{{#vardefine:Current}}
 
{{#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:{{{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}}}}}}
 
{{#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:{{{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}}}} and {{slack-user|sunet-id={{#var:Operations_2_sunet}}|display-name={{#var:Operations_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:{{{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:{{{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}}}}}}
+
{{#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 108: 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 114: 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}}}}
 
==Spaceshot Leads==  
 
==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}}}}
 
:* {{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}}}}
Line 143: Line 142:
 
==Website Leads==  
 
==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}}}}}}}}
 
:* {{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}}}}}}}}
</onlyinclude>
+
<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 193: Line 192:
 
=Updating this page=
 
=Updating 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.
+
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.