Template:Add role: Difference between revisions

No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{DISPLAYTITLE:Template:Add role}}
<noinclude>{{DISPLAYTITLE:Template:Add role}}
 
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. You will also want to use [[Template:User roles]] on your User page to show all of your roles. See a description of roles in [[Organization]]
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. You will also want to use [[Template:User roles]] on your User page to show all of your roles.


== Examples ==
== Examples ==
Line 12: Line 11:
{{#cargo_declare:_table=MemberRole
{{#cargo_declare:_table=MemberRole
|Role=String
|Role=String
|User=Page}}
|User=String}}
</noinclude><includeonly>{{#cargo_store:
</noinclude><includeonly>{{#cargo_store:
_table = MemberRole
_table = MemberRole
Line 22: Line 21:
{
{
"params": {
"params": {
"Role": {
"1": {
"description": "The user's role",
"description": "The user's role",
"type": "string",
"type": "string",
Line 38: Line 37:
"description": "Add a role for the user",
"description": "Add a role for the user",
"paramOrder": [
"paramOrder": [
"Role"
"1"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>