Difference between revisions of "Template:Slack-user"

From Stanford SSI Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><code>'''[[File:SlackLogo.png|25px|middle]][https://ssi-teams.slack.com/messages/{{{1|general}}} @{{{1|general}}}]&nbsp;'''</code></onlyinclude>
+
<onlyinclude><code>'''[[File:SlackLogo.png|25px|middle]][https://ssi-teams.slack.com/messages/{{{sunet-id}}} @{{{display-name}}}]&nbsp;'''</code></onlyinclude>
  
To use, copy the following into the desired page, replacing "username" with a valid SUNet ID. Note, this is not the same as the username or the user's name—this is their SUNet ID which they used (via their email) to sign up for an account on the SSI Slack:
+
To use, copy the following into the desired page, adding information in the relevant fields:
  
  <nowiki>{{slack-user|username}}</nowiki>
+
  <nowiki>
 +
{{slack-user
 +
| sunet-id =
 +
| display-name =
 +
}}</nowiki>
  
 
An example of proper usage is shown below:
 
An example of proper usage is shown below:
  
  <nowiki>{{slack-user|flynnd}}</nowiki>
+
  <nowiki>
 +
{{slack-user
 +
| sunet-id = flynnd
 +
| display-name = Flynn Dreilinger
 +
}}</nowiki>
  
 
[[Category:Templates]]
 
[[Category:Templates]]

Latest revision as of 23:16, 27 February 2021

SlackLogo.png@{{{display-name}}} 

To use, copy the following into the desired page, adding information in the relevant fields:

{{slack-user
| sunet-id = 
| display-name = 
}}

An example of proper usage is shown below:

{{slack-user
| sunet-id = flynnd
| display-name = Flynn Dreilinger
}}