Template:MaybeModUsername/doc: Difference between revisions
From Transcendence AU Wiki
imported>StarlightSystem (Created template documentation) |
imported>StarlightSystem (Added examples) |
||
Line 1: | Line 1: | ||
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. | 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: | |||
* <pre>{{MaybeModUsername|staff}}</pre> renders as "{{MaybeModUsername|staff}}" | |||
* <pre>{{MaybeModUsername|zillychu}}</pre> renders as "{{MaybeModUsername|zillychu}}" |
Latest revision as of 17:37, 11 December 2019
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)"