Template:Add role: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 13: | Line 13: | ||
== Template == | == Template == | ||
{{#cargo_declare:_table=MemberRole | {{#cargo_declare:_table=MemberRole | ||
| | |Roles=List (,) of String | ||
|User=Page}} | |User=Page}} | ||
</noinclude><includeonly>{{#cargo_store: | </noinclude><includeonly>{{#cargo_store: | ||
_table = MemberRole | _table = MemberRole | ||
| | |Roles = {{{1}}} | ||
|User = {{PAGENAME}} | |User = {{PAGENAME}} | ||
}} | |||
{{#cargo_query:table=MemberRole | |||
|fields=Roles | |||
|where=User={{PAGENAME}} | |||
}}</includeonly> | }}</includeonly> | ||
Revision as of 23:42, 2 May 2026
When used on a user page, registers the role for that user. Fassag roles show the type of work the user has decided to work on.
Usage
Examples
Give yourself the 'lens' role
{{Member role|lens)}}
Template
This template defines the table "MemberRole". View table.