Template:MaybeModUsername: Difference between revisions

From Transcendence AU Wiki
imported>StarlightSystem
(Created template)
 
imported>StarlightSystem
m (Fixed typo in mod Z's name)
Line 1: Line 1:
<noinclude>{{Documentation}}</noinclude><includeonly>{{{1}}}{{#switch:{{{1}}}
<noinclude>{{Documentation}}</noinclude><includeonly>{{{1}}}{{#switch:{{{1}}}
|zillychu
|zillychu
|zillenoise
|zilleniose
|Zillychu
|Zillychu
|Zillenoise = &nbsp;(mod&nbsp;Z)
|Zilleniose = &nbsp;(mod&nbsp;Z)
|seiya234
|seiya234
|Seiya234 = &nbsp;(mod&nbsp;S)
|Seiya234 = &nbsp;(mod&nbsp;S)

Revision as of 18:22, 11 December 2019

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:MaybeModUsername/doc to edit this documentation. (How does this work?)

This template takes in a username. If the username is that of a mod, it outputs the username with the mod's designation after it. Otherwise, it just outputs the username.

For example:

  • {{MaybeModUsername|staff}}
    renders as "staff"
  • {{MaybeModUsername|zillychu}}
    renders as "zillychu (mod Z)"