Template:User roles: Difference between revisions
Appearance
No edit summary |
No edit summary Tag: Manual revert |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude>{{DISPLAYTITLE:Template:User roles}} | <noinclude>{{DISPLAYTITLE:Template:User roles}} | ||
When used on a user page, shows a summary of the roles defined for the user. Use [[Template:Add role]] to give yourself a role. | |||
When used on a user page, shows a summary of the roles defined for the user | |||
== Usage == | == Usage == | ||
| Line 10: | Line 9: | ||
== Template == | == Template == | ||
</noinclude><includeonly>== Roles == | |||
{| class="wikitable" style="margin:auto" | |||
{{#cargo_query:table=MemberRole | |||
</noinclude><includeonly>{{#cargo_query:table=MemberRole | |||
|fields=Role | |fields=Role | ||
|where=User="{{PAGENAME}}" | |where=User="{{PAGENAME}}" | ||
|format=template | |format=template | ||
|template=Display | |template=Display role | ||
}}</includeonly> | }} | ||
|}</includeonly> | |||
Latest revision as of 18:41, 3 May 2026
When used on a user page, shows a summary of the roles defined for the user. Use Template:Add role to give yourself a role.
Usage
Examples
{{User roles)}}