Difference between revisions of "Template:Slack-user"

From Stanford SSI Wiki
Jump to navigation Jump to search
(attempt to be cool)
 
(5 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 username:
+
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
}}