Template:Othergroups/doc
<templatestyles src="Template:Mbox/styles.css" />
<templatestyles src="Module:Message box/ombox.css"></templatestyles>
![]() | This is a documentation subpage for Template:Othergroups. It contains usage information, categories and other content that is not part of the original page. |
Lua error: Module:TNT:158: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Lua banner.tab. Please properly enable the JSONConfig extension at Special:ManageWiki/extensions#mw-prefsection-other See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.
This template displays a list of user groups (as specified in Module:Othergroups/config the specified user is in (as defined in Module:Othergroups/data, whilst being able to exclude one particular group, generally the one whose page this template is being used on.
Usage[edit]
{{Othergroups|user|group}}
'user'[edit]
Name of the target user, no namespace prefix
'group'[edit]
Id of the group to exclude
Examples[edit]
{{Othergroups|Dmehus|steward}}
produces: