Difference between revisions of "Template:Slack-user"

From Stanford SSI Wiki
Jump to navigation Jump to search
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}}} @{{{Users 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 =
 +
| Users 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
 +
| Users Name = Flynn Dreilinger
 +
}}</nowiki>
  
 
[[Category:Templates]]
 
[[Category:Templates]]

Revision as of 23:13, 27 February 2021

SlackLogo.pngID}}} @{{{Users Name}}} 

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

{{slack-user
| SUNet ID = 
| Users Name = 
}}

An example of proper usage is shown below:

{{slack-user
| SUNet ID = flynnd
| Users Name = Flynn Dreilinger
}}