Difference between revisions of "Template:Leadership"
Jump to navigation
Jump to search
Line 32: | Line 32: | ||
{{#vardefine:Satellites_2_sunet|ianchang}} | {{#vardefine:Satellites_2_sunet|ianchang}} | ||
{{#vardefine:Satellites_2_name|Ian Chang}} | {{#vardefine:Satellites_2_name|Ian Chang}} | ||
− | {{#if:{{{Presidents|}}}|{{slack-user|sunet-id = {{#var:President_1_sunet}}|display-name = {{#var:President_1_name}}}} and {{slack-user|sunet-id={{#var: | + | {{#if:{{{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}}}}}} |
{{#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}}}}}} |
Revision as of 07:09, 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 }}