Jump to content

Template:User roles: Difference between revisions

From FASSAG Wiki
No edit summary
No edit summary
Tag: Manual revert
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{Template:Template}}{{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 ==
{{#cargo_declare:_table=MemberRole
</noinclude><includeonly>== Roles ==
|Role=String
{| class="wikitable" style="margin:auto"
|User=Page}}
{{#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 roles
|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)}}

Template