Jump to content

Template:Othergroups/doc

From test1-

<templatestyles src="Template:Mbox/styles.css" />

<templatestyles src="Module:Message box/ombox.css"></templatestyles>

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: