Difference between revisions of "Template:Leadership"
(4 intermediate revisions by one other user not shown) | |||
Line 12: | Line 12: | ||
{{#vardefine:Biology_2_sunet|valex}} | {{#vardefine:Biology_2_sunet|valex}} | ||
{{#vardefine:Biology_2_name|Vassilis Alexopoulos}} | {{#vardefine:Biology_2_name|Vassilis Alexopoulos}} | ||
− | {{#vardefine:Mars_1_sunet| | + | {{#vardefine:Mars_1_sunet|willnb}} |
− | {{#vardefine:Mars_1_name| | + | {{#vardefine:Mars_1_name|Will Neal-Boyd}} |
{{#vardefine:Mars_2_sunet|jsiskind}} | {{#vardefine:Mars_2_sunet|jsiskind}} | ||
{{#vardefine:Mars_2_name|Jay Siskind}} | {{#vardefine:Mars_2_name|Jay Siskind}} | ||
Line 26: | Line 26: | ||
{{#vardefine:Rockets_2_sunet|charlieg}} | {{#vardefine:Rockets_2_sunet|charlieg}} | ||
{{#vardefine:Rockets_2_name|Charlie Gordon}} | {{#vardefine:Rockets_2_name|Charlie Gordon}} | ||
− | {{#vardefine:Satellites_1_sunet| | + | {{#vardefine:Satellites_1_sunet|niklasv}} |
− | {{#vardefine:Satellites_1_name| | + | {{#vardefine:Satellites_1_name|Niklas Vainio}} |
− | {{#vardefine:Satellites_2_sunet| | + | {{#vardefine:Satellites_2_sunet|sagewu}} |
− | {{#vardefine:Satellites_2_name| | + | {{#vardefine:Satellites_2_name|Sage Wu}} |
− | {{#vardefine:Satellites_3_sunet| | + | {{#vardefine:Satellites_3_sunet|hliu}} |
− | {{#vardefine:Satellites_3_name| | + | {{#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 96: | Line 96: | ||
{{#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}}}} and {{#var:Satellites_3_sunet}}|display-name = {{#var:Satellites_3_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== |
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.