Difference between revisions of "Template:Slack-user"

From Stanford SSI Wiki
Jump to navigation Jump to search
(Tightened things up)
(attempt to be cool)
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/{{{1|general}}} @ {{{1|general}}}]&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, replacing "username" with a valid username:
  
 
  <nowiki>{{slack-user|username}}</nowiki>
 
  <nowiki>{{slack-user|username}}</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|flynnd}}</nowiki>
 
  
 
[[Category:Templates]]
 
[[Category:Templates]]

Revision as of 23:03, 27 February 2021

SlackLogo.png@ general 

To use, copy the following into the desired page, replacing "username" with a valid username:

{{slack-user|username}}

An example of proper usage is shown below:

{{slack-user|flynnd}}