Difference between revisions of "Template:Slack-user"

From Stanford SSI Wiki
Jump to navigation Jump to search
(Tightened things up)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><code>'''[[File:SlackLogo.png|25px|middle]]@{{{1}}}'''</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 Slack username (with no "@" symbol):
+
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>
  
{{slack-user|ssicomputer}} is produced by the following:
+
An example of proper usage is shown below:
  
  <nowiki>{{slack-user|ssicomputer}}</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
}}