Difference between revisions of "Template:Slack-user"

From Stanford SSI Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<onlyinclude><code>'''[[File:SlackLogo.png|25px|middle]][https://ssi-teams.slack.com/messages/{{{SUNet ID}}} @{{{Users Name}}}]&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, adding information in the relevant fields:
 
To use, copy the following into the desired page, adding information in the relevant fields:
Line 5: Line 5:
 
  <nowiki>
 
  <nowiki>
 
{{slack-user
 
{{slack-user
| sunet id =  
+
| sunet-id =  
| users name =  
+
| display-name =  
 
}}</nowiki>
 
}}</nowiki>
  
Line 13: Line 13:
 
  <nowiki>
 
  <nowiki>
 
{{slack-user
 
{{slack-user
| sunet id = flynnd
+
| sunet-id = flynnd
| users name = Flynn Dreilinger
+
| display-name = Flynn Dreilinger
 
}}</nowiki>
 
}}</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
}}