5,521 bytes added
, 01:38, 28 February 2021
{{#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}}
<onlyinclude>
{{#if:{{{Everyone|}}}|
==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}}}}
==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}}}}
==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}}}}
==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}}}}
==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}}}}
==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}}}}
==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}}}}
==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:{{{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>
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.
<nowiki>
{{ssi-online-resource
| Everyone =
| Presidents =
| Balloons =
| Biology =
| Mars =
| Operations =
| Policy =
| Rockets =
| Satellites =
}}</nowiki>
An example of proper usage is shown here:
<nowiki>
{{ssi-online-resource
| Everyone = true
| Presidents =
| Balloons =
| Biology =
| Mars =
| Operations =
| Policy =
| Rockets =
| Satellites =
}}</nowiki>
or, if you only want the Satellites leads you could do:
<nowiki>
{{ssi-online-resource
| Satellites = true
}}</nowiki>
[[Category: Templates]]