Difference between revisions of "Template:Leadership"

From Stanford SSI Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<onlyinclude>
 
<onlyinclude>
 
{{nowrap|{{#vardefine:President_1_sunet|aabdalla}}{{#vardefine:President_1_name|Ahmed Abdalla}}{{#vardefine:President_2_sunet|mfharris}}{{#vardefine:President_2_name|Maya Harris}}{{#vardefine:Balloons_1_sunet|jteoh2}}{{#vardefine:Balloons_1_name|Janice Teoh}}{{#vardefine:Balloons_2_name|matthtan}}{{#vardefine:Balloons_2_sunet|Matthew Tan}}
 
{{nowrap|{{#vardefine:President_1_sunet|aabdalla}}{{#vardefine:President_1_name|Ahmed Abdalla}}{{#vardefine:President_2_sunet|mfharris}}{{#vardefine:President_2_name|Maya Harris}}{{#vardefine:Balloons_1_sunet|jteoh2}}{{#vardefine:Balloons_1_name|Janice Teoh}}{{#vardefine:Balloons_2_name|matthtan}}{{#vardefine:Balloons_2_sunet|Matthew Tan}}
{{#vardefine:Biology_1_sunet|luciam}}{{#vardefine:Biology_1_name|Lucia Riley Morris}}{{#vardefine:Biology_2_sunet|finsam}}{{#vardefine:Biology_2_name|Finsam Samson}}{{#vardefine:Mars_1_sunet|rahma}}{{#vardefine:Mars_1_name|Rahma Ali}}{{#vardefine:Mars_2_sunet|kylholl}}{{#vardefine:Mars_2_name|Kylie Holland}}{{#vardefine:Operations_1_sunet|flynnd}}{{#vardefine:Operations_1_name|Flynn Dreilinger}}{{#vardefine:Operations_2_sunet|gsocolof}}{{#vardefine:Operations_2_name|Giulia Socolof}}{{#vardefine:Policy_1_sunet|jthai}}{{#vardefine:Policy_1_name|Jocelyn Thai}}{{#vardefine:Policy_2_sunet|lglik}}{{#vardefine:Policy_2_name|Leo Glikbarg}}{{#vardefine:Rockets_1_sunet|jsbell39}}{{#vardefine:Rockets_1_name|Spencer Bell}}{{#vardefine:Rockets_2_sunet|mfharris}}{{#vardefine:Rockets_2_name|Maya Harris}}{{#vardefine:Satellites_1_sunet|akasha}}{{#vardefine:Satellites_1_name|Akasha Hayden}}{{#vardefine:Satellites_2_sunet|ianchang}}{{#vardefine:Satellites_2_name|Ian Chang}}}}
+
{{#vardefine:Biology_1_sunet|luciam}}{{#vardefine:Biology_1_name|Lucia Riley Morris}}{{#vardefine:Biology_2_sunet|finsam}}{{#vardefine:Biology_2_name|Finsam Samson}}{{#vardefine:Mars_1_sunet|rahma}}{{#vardefine:Mars_1_name|Rahma Ali}}{{#vardefine:Mars_2_sunet|kylholl}}{{#vardefine:Mars_2_name|Kylie Holland}}{{#vardefine:Operations_1_sunet|flynnd}}{{#vardefine:Operations_1_name|Flynn Dreilinger}}{{#vardefine:Operations_2_sunet|gsocolof}}{{#vardefine:Operations_2_name|Giulia Socolof}}{{#vardefine:Policy_1_sunet|jthai}}{{#vardefine:Policy_1_name|Jocelyn Thai}}{{#vardefine:Policy_2_sunet|lglik}}{{#vardefine:Policy_2_name|Leo Glikbarg}}{{#vardefine:Rockets_1_sunet|jsbell39}}{{#vardefine:Rockets_1_name|Spencer Bell}}{{#vardefine:Rockets_2_sunet|mfharris}}{{#vardefine:Rockets_2_name|Maya Harris}}{{#vardefine:Satellites_1_sunet|akasha}}{{#vardefine:Satellites_1_name|Akasha Hayden}}{{#vardefine:Satellites_2_sunet|ianchang}}{{#vardefine:Satellites_2_name|Ian Chang}}{{#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}}}}}}
 +
{{#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}}}}}}
 +
{{#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}}}}}}
 +
{{#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}}}}}}
 +
{{#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}}}}}}
 +
{{#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}}}}}}
 +
{{#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}}}}}}
 +
{{#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}}}}}}
 
{{#if:{{{Everyone|}}}|
 
{{#if:{{{Everyone|}}}|
 
==Presidents==
 
==Presidents==
Line 18: Line 25:
 
:* {{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}}}}}}}}
}}{{#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}}}}}}
 
{{#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}}}}}}
 
{{#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}}}}}}
 
{{#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}}}}}}
 
{{#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}}}}}}
 
{{#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}}}}}}
 
{{#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}}}}}}
 
{{#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}}}}}}
 
 
</onlyinclude>
 
</onlyinclude>
  

Revision as of 05:51, 28 February 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
}}