Difference between revisions of "Template:Leadership"
Line 4: | Line 4: | ||
{{#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| | + | {{#vardefine:Balloons_1_sunet|mjyu}} |
− | {{#vardefine:Balloons_1_name| | + | {{#vardefine:Balloons_1_name|Michael Yu}} |
− | {{#vardefine:Balloons_2_sunet| | + | {{#vardefine:Balloons_2_sunet|larizmen}} |
− | {{#vardefine:Balloons_2_name| | + | {{#vardefine:Balloons_2_name|Luis Arizmendi}} |
− | {{#vardefine:Biology_1_sunet| | + | {{#vardefine:Biology_1_sunet|ksaigal}} |
− | {{#vardefine:Biology_1_name| | + | {{#vardefine:Biology_1_name|Keshav Saigal}} |
− | {{#vardefine:Biology_2_sunet| | + | {{#vardefine:Biology_2_sunet|valex}} |
− | {{#vardefine:Biology_2_name| | + | {{#vardefine:Biology_2_name|Vassilis Alexopoulos}} |
− | {{#vardefine:Mars_1_sunet| | + | {{#vardefine:Mars_1_sunet|kylholl}} |
− | {{#vardefine:Mars_1_name| | + | {{#vardefine:Mars_1_name|Kylie Holland}} |
− | {{#vardefine:Mars_2_sunet| | + | {{#vardefine:Mars_2_sunet|jsiskind}} |
− | {{#vardefine:Mars_2_name| | + | {{#vardefine:Mars_2_name|Jay Siskind}} |
− | {{#vardefine:Operations_1_sunet| | + | {{#vardefine:Operations_1_sunet|lskaling}} |
− | {{#vardefine:Operations_1_name| | + | {{#vardefine:Operations_1_name|Lawton Skaling}} |
− | {{#vardefine: | + | {{#vardefine:Policy_1_sunet|jameswall}} |
− | {{#vardefine: | + | {{#vardefine:Policy_1_name|James Wall}} |
− | {{#vardefine: | + | {{#vardefine:Policy_2_sunet|tganea}} |
− | {{#vardefine: | + | {{#vardefine:Policy_2_name|Teddy Ganea}} |
− | {{#vardefine: | + | {{#vardefine:Rockets_1_sunet|evelynan}} |
− | {{#vardefine: | + | {{#vardefine:Rockets_1_name|Evelyn Nutt}} |
− | {{#vardefine: | + | {{#vardefine:Rockets_2_sunet|charlieg}} |
− | {{#vardefine: | + | {{#vardefine:Rockets_2_name|Charlie Gordon}} |
− | {{#vardefine: | + | {{#vardefine:Satellites_1_sunet|spenwall}} |
− | {{#vardefine: | + | {{#vardefine:Satellites_1_name|Spencer Wallace}} |
− | {{#vardefine: | + | {{#vardefine:Satellites_2_sunet|raigosa}} |
− | {{#vardefine: | + | {{#vardefine:Satellites_2_name|Ashley Raigosa}} |
− | {{#vardefine: | + | {{#vardefine:Satellites_3_sunet|theo24}} |
− | {{#vardefine: | + | {{#vardefine:Satellites_3_name|Theo Makler}} |
{{#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 93: | Line 93: | ||
{{#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 | + | {{#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 {{#var:Satellites_3_sunet}}|display-name = {{#var:Satellites_3_name}}}} }} |
{{#if:{{{Everyone|}}}| | {{#if:{{{Everyone|}}}| | ||
==Presidents== | ==Presidents== |
Revision as of 21:08, 11 March 2023
display-name = Theo Makler
}}
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.