Difference between revisions of "Template:UserDashboard"

[unchecked revision] [quality revision]
(Created page with "<noinclude> ==Usage== The UserDashboard template allows '''any logged-in user who has writing permissions, to build customized dashboards to follow...")
 
(Merge articles)
 

1 Usage[edit]

The UserDashboard template allows any logged-in user who has writing permissions, to build customized dashboards to follow up the state of the pages on which this user has a role (e.g. main writer, expert...) to play.

A dashboard is obtained thanks to a Semantic MediaWiki query[ud 1], and is displayed as a searchable and exportable table thanks to the table format and the datatable class[ud 2]. The features of this class are:

  • nice visual appearance
  • search input box for searching within the table
  • easy export of the table's content into CSV, JSON, RSS and RDF
Usage: {{UserDashboard | user=<username> | role=<role> | filter=<filter>}}

Where:

  • <username> is the optional username of the logged-in user who has writing permissions for whom the customized dashboard is built (if any doubt, cross-check, in your preferences, your wiki username). Per default (if <username> is not set), the user who is currently logged-in, is considered.
  • <role> is the optional role (e.g. main writer, expert...) for which the customized dashboard is built. The default value is MW. The possible values for <role> are:
    • MW: main writer
    • EX: expert
    • TW: technical writer
    • MT: maintainer
  • <filter> is the optional filter to reduce the number of listed pages. The default value is assignment. The possible value for <filter> is:
    • assignment: the dashboard lists all the pages that match with the user and role criteria
    • action: the dashboard lists only the pages that match with the user and role criteria, and for which an action from this user is required (e.g. follow-up, review...)

Summary:

<role> <filter> The dashboard lists the pages
not set whatever the filter An error is displayed
MW
(or not set)
assignment
(or not set)
to which the user is assigned as main writer
action to which the user is assigned as main writer, and that are not approved: therefore, a follow-up from the user is required (e.g. updating, starting a review...)
EX assignment
(or not set)
to which the user is assigned as expert
action to which the user is set as reviewer, and that are "under review by experts": therefore, a review from the user is required
TW assignment
(or not set)
to which the user is assigned as technical writer
action to which the user is set as reviewer, and that are "under review by technical writers": therefore, a review from the user is required
MT assignment
(or not set)
to which the user is assigned as maintainer
action to which the user is set as reviewer, and that are "under maintainer approval for publication": therefore, a review from the user is required

References:

2 Basic examples[edit]

You type All pages to which the "currently logged-in user" is assigned as main writer

{{UserDashboard | role=MW | filter=assignment}}

You get The pages to which you are assigned as main writer
You type All pages to which "Arnaud Pouliquen" is assigned as main writer

{{UserDashboard | user=Arnaud Pouliquen | role=MW | filter=assignment}}

You get Arnaud Pouliquen is not assigned as MW
You type All "not approved" pages to which the "currently logged-in user" is assigned as main writer

{{UserDashboard | role=MW | filter=action}}

You get All "not approved" pages to which you are assigned as main writer
You type All "not approved" pages to which "Arnaud Pouliquen" is assigned as main writer

{{UserDashboard | user=Arnaud Pouliquen | role=MW | filter=action}}

You get As MW, Arnaud Pouliquen has no specific action presently.
You type All pages to which the "currently logged-in user" is assigned as expert

{{UserDashboard | role=EX | filter=assignment}}

You get The pages to which you are assigned as expert
You type All pages to which "Arnaud Pouliquen" is assigned as expert

{{UserDashboard | user=Arnaud Pouliquen | role=EX | filter=assignment}}

You get Arnaud Pouliquen is not assigned as EX
You type All "under review by experts" pages to which the "currently logged-in user" is set as reviewer

{{UserDashboard | role=EX | filter=action}}

You get All "under review by experts" pages to which you are set as reviewer
You type All "under review by experts" pages to which "Arnaud Pouliquen" is set as reviewer

{{UserDashboard | user=Arnaud Pouliquen | role=EX | filter=action}}

You get As EX, Arnaud Pouliquen has no page to review presently.
You type All pages to which the "currently logged-in user" is assigned as technical writer

{{UserDashboard | role=TW | filter=assignment}}

You get The pages to which you are assigned as technical writer
You type All pages to which "Arnaud Pouliquen" is assigned as technical writer

{{UserDashboard | user=Arnaud Pouliquen | role=TW | filter=assignment}}

You get Arnaud Pouliquen is not assigned as TW
You type All "under review by technical writers" pages to which the "currently logged-in user" is set as reviewer

{{UserDashboard | role=TW | filter=action}}

You get All "under review by technical writers" pages to which you are set as reviewer
You type All "under review by technical writers" pages to which "Arnaud Pouliquen" is set as reviewer

{{UserDashboard | user=Arnaud Pouliquen | role=TW | filter=action}}

You get As TW, Arnaud Pouliquen has no page to review presently.
You type All pages to which the "currently logged-in user" is assigned as maintainer

{{UserDashboard | role=MT | filter=assignment}}

You get The pages to which you are assigned as maintainer
You type All pages to which "Arnaud Pouliquen" is assigned as maintainer

{{UserDashboard | user=Arnaud Pouliquen | role=MT | filter=assignment}}

You get Arnaud Pouliquen is not assigned as MT
You type All "under maintainer approval for publication" pages to which the "currently logged-in user" is set as reviewer

{{UserDashboard | role=MT | filter=action}}

You get All "under maintainer approval for publication" pages to which you are set as reviewer
You type All "under maintainer approval for publication" pages to which "Arnaud Pouliquen" is set as reviewer

{{UserDashboard | user=Arnaud Pouliquen | role=MT | filter=action}}

You get As MT, Arnaud Pouliquen has no page to approve presently.

3 More examples[edit]

You type No role and no filter specified: same as if "MW" and "assignment were specified

{{UserDashboard | user=Arnaud Pouliquen}}

You get Arnaud Pouliquen is not assigned as MW
You type No role specified: same as if "MW" was specified

{{UserDashboard | user=Arnaud Pouliquen | filter=action}}

You get As MW, Arnaud Pouliquen has no specific action presently.
You type Unknown user
{{UserDashboard | user=Unknown user}}<br>
{{UserDashboard | user=Unknown user | role=MW}}<br>
{{UserDashboard | user=Unknown user | role=EX}}<br>
{{UserDashboard | user=Unknown user | role=TW}}<br>
{{UserDashboard | user=Unknown user | role=MT}}<br>
{{UserDashboard | user=Unknown user | role=MW | filter=action}}<br>
{{UserDashboard | user=Unknown user | role=EX | filter=action}}<br>
{{UserDashboard | user=Unknown user | role=TW | filter=action}}<br>
{{UserDashboard | user=Unknown user | role=MT | filter=action}}
You get Unknown user is not assigned as MW

Unknown user is not assigned as MW
Unknown user is not assigned as EX
Unknown user is not assigned as TW
Unknown user is not assigned as MT
As MW, Unknown user has no specific action presently.
As EX, Unknown user has no page to review presently.
As TW, Unknown user has no page to review presently.
As MT, Unknown user has no page to approve presently.

You type Unknown role

{{UserDashboard | user=Arnaud Pouliquen | role=AA}}
{{UserDashboard | user=Arnaud Pouliquen | role=AA | filter=action}}

You get Unknown role

Unknown role

You type Unknown filter: same as if "assignment" was specified

{{UserDashboard | user=Arnaud Pouliquen | role=MW | filter=unknown}}

You get Unknown filter ("assignment" is considered). Arnaud Pouliquen is not assigned as MW
You type Check that there's no space before and after the text

BEFORE{{UserDashboard | user=Arnaud Pouliquen | role=MW}}AFTER
BEFORE{{UserDashboard | user=Arnaud Pouliquen | role=BB}}AFTER

You get BEFOREArnaud Pouliquen is not assigned as MWAFTER

BEFOREUnknown roleAFTER

4 Maintenance[edit]

This template is a template common to all ST wikis.
Modifications must be done into the WikiModel. They must be reviewed by all ST wikis maintainers.
When approved, the template can be pushed/merged towards all ST wikis.


5 Code[edit]

10.59.1.29 is not assigned as MW

<noinclude>

==Usage==
The [[Template:UserDashboard|UserDashboard]] template allows '''any logged-in user who has writing permissions, to build customized dashboards to follow up the state of the pages on which this user has a [[Contributors:Review process#Roles|role]] (e.g. main writer, expert...) to play'''.

A dashboard is obtained thanks to a Semantic MediaWiki query<ref group="ud">[https://www.semantic-mediawiki.org/wiki/Help:Inline_queries Semantic MediaWiki Help:Inline queries]</ref>, and is displayed as a searchable and exportable table thanks to the <code>table</code> format and the <code>datatable</code> class<ref group="ud">[https://www.semantic-mediawiki.org/wiki/Help:Table_format Semantic MediaWiki Help:Table format]</ref>. The features of this class are:
* nice visual appearance
* search input box for searching within the table
* easy export of the table's content into CSV, JSON, RSS and RDF

 Usage: <nowiki>{{</nowiki>UserDashboard | user={{HighlightParam|<username>}} | role={{HighlightParam|<role>}} | filter={{HighlightParam|<filter>}}}}
Where:
* {{HighlightParam|<username>}} is the '''optional''' username of the logged-in user who has writing permissions for whom the customized dashboard is built (if any doubt, cross-check, in your preferences, your wiki [[Special:Preferences#mw-prefsection-personal | username]]). Per default (if {{HighlightParam|<username>}} is not set), the user who is currently logged-in, is considered.
* {{HighlightParam|<role>}} is the '''optional''' [[Contributors:Review process#Roles|role]] (e.g. main writer, expert...) for which the customized dashboard is built. The default value is '''MW'''. The possible values for {{HighlightParam|<role>}} are:
** '''MW''': main writer
** '''EX''': expert
** '''TW''': technical writer
** '''MT''': maintainer
* {{HighlightParam|<filter>}} is the '''optional''' filter to reduce the number of listed pages. The default value is '''assignment'''. The possible value for <filter> is:
** '''assignment''': the dashboard lists all the pages that match with the user and role criteria
** '''action''': the dashboard lists only the pages  that match with the user and role criteria, '''and''' for which an action from this user is required (e.g. follow-up, review...)

Summary:
{| class="st-table"
! {{HighlightParam|<role>}} !! {{HighlightParam|<filter>}} !! The dashboard lists the pages
|-
| ''not set'' || whatever the filter || An error is displayed
|-
| rowspan="2" | MW<br>(or ''not set'') || assignment<br>(or ''not set'') || to which the user is assigned as main writer
|-
| action || to which the user is assigned as main writer, and that are not approved: therefore, a follow-up from the user is required (e.g. updating, starting a review...)
|-
| rowspan="2" | EX || assignment<br>(or ''not set'') || to which the user is assigned as expert
|-
| action || to which the user is set as reviewer, and that are "under review by experts": therefore, a review from the user is required
|-
| rowspan="2" | TW || assignment<br>(or ''not set'') || to which the user is assigned as technical writer
|-
| action || to which the user is set as reviewer, and that are "under review by technical writers": therefore, a review from the user is required
|-
| rowspan="2" | MT || assignment<br>(or ''not set'') || to which the user is assigned as maintainer
|-
| action || to which the user is set as reviewer, and that are "under maintainer approval for publication": therefore, a review from the user is required
|}

References:<references group="ud" />


==Basic examples==
{{#vardefine:usertest|Arnaud Pouliquen}}
{| class="st-table"
! scope="row" | You type
| All pages to which the "currently logged-in user" is assigned as main writer<code><nowiki>{</nowiki>{UserDashboard | role=MW | filter=assignment}}</code>

|-
! scope="row" | You get
| The pages to which you are assigned as main writer<!-- {{UserDashboard | role=MW | filter=assignment}} -->

|-
! scope="row" | You type
| All pages to which "{{#var:usertest}}" is assigned as main writer<code><nowiki>{</nowiki>{UserDashboard | user={{#var:usertest}} | role=MW | filter=assignment}}</code>

|-
! scope="row" | You get
| {{UserDashboard | user={{#var:usertest}} | role=MW | filter=assignment}}
|-
! scope="row" | You type
|  All "not approved" pages to which the "currently logged-in user" is assigned as main writer<code><nowiki>{</nowiki>{UserDashboard | role=MW | filter=action}}</code>

|-
! scope="row" | You get
| All "not approved" pages to which you are assigned as main writer<!-- {{UserDashboard | role=MW | filter=action}} -->

|-
! scope="row" | You type
|  All "not approved" pages to which "{{#var:usertest}}" is assigned as main writer<code><nowiki>{</nowiki>{UserDashboard | user={{#var:usertest}} | role=MW | filter=action}}</code>

|-
! scope="row" | You get
| {{UserDashboard | user={{#var:usertest}} | role=MW | filter=action}}
|-
! scope="row" | You type
| All pages to which the "currently logged-in user" is assigned as expert<code><nowiki>{</nowiki>{UserDashboard | role=EX | filter=assignment}}</code>

|-
! scope="row" | You get
| The pages to which you are assigned as expert<!-- {{UserDashboard | role=EX | filter=assignment}} -->

|-
! scope="row" | You type
| All pages to which "{{#var:usertest}}" is assigned as expert<code><nowiki>{</nowiki>{UserDashboard | user={{#var:usertest}} | role=EX | filter=assignment}}</code>

|-
! scope="row" | You get
| {{UserDashboard | user={{#var:usertest}} | role=EX | filter=assignment}}
|-
! scope="row" | You type
| All "under review by experts" pages to which the "currently logged-in user" is set as reviewer<code><nowiki>{</nowiki>{UserDashboard | role=EX | filter=action}}</code>

|-
! scope="row" | You get
| All "under review by experts" pages to which you are set as reviewer<!-- {{UserDashboard | role=EX | filter=action}} -->

|-
! scope="row" | You type
| All "under review by experts" pages to which "{{#var:usertest}}" is set as reviewer<code><nowiki>{</nowiki>{UserDashboard | user={{#var:usertest}} | role=EX | filter=action}}</code>

|-
! scope="row" | You get
| {{UserDashboard | user={{#var:usertest}} | role=EX | filter=action}}
|-
! scope="row" | You type
| All pages to which the "currently logged-in user" is assigned as technical writer<code><nowiki>{</nowiki>{UserDashboard | role=TW | filter=assignment}}</code>

|-
! scope="row" | You get
| The pages to which you are assigned as technical writer<!-- {{UserDashboard | role=TW | filter=assignment}} -->

|-
! scope="row" | You type
| All pages to which "{{#var:usertest}}" is assigned as technical writer<code><nowiki>{</nowiki>{UserDashboard | user={{#var:usertest}} | role=TW | filter=assignment}}</code>

|-
! scope="row" | You get
| {{UserDashboard | user={{#var:usertest}} | role=TW | filter=assignment}}
|-
! scope="row" | You type
| All "under review by technical writers" pages to which the "currently logged-in user" is set as reviewer<code><nowiki>{</nowiki>{UserDashboard | role=TW | filter=action}}</code>

|-
! scope="row" | You get
| All "under review by technical writers" pages to which you are set as reviewer<!-- {{UserDashboard | role=TW | filter=action}} -->

|-
! scope="row" | You type
| All "under review by technical writers" pages to which "{{#var:usertest}}" is set as reviewer<code><nowiki>{</nowiki>{UserDashboard | user={{#var:usertest}} | role=TW | filter=action}}</code>

|-
! scope="row" | You get
| {{UserDashboard | user={{#var:usertest}} | role=TW | filter=action}}
|-
! scope="row" | You type
| All pages to which the "currently logged-in user" is assigned as maintainer<code><nowiki>{</nowiki>{UserDashboard | role=MT | filter=assignment}}</code>

|-
! scope="row" | You get
| The pages to which you are assigned as maintainer<!-- {{UserDashboard | role=MT | filter=assignment}} -->

|-
! scope="row" | You type
| All pages to which "{{#var:usertest}}" is assigned as maintainer<code><nowiki>{</nowiki>{UserDashboard | user={{#var:usertest}} | role=MT | filter=assignment}}</code>

|-
! scope="row" | You get
| {{UserDashboard | user={{#var:usertest}} | role=MT | filter=assignment}}
|-
! scope="row" | You type
| All "under maintainer approval for publication" pages to which the "currently logged-in user" is set as reviewer<code><nowiki>{</nowiki>{UserDashboard | role=MT | filter=action}}</code>

|-
! scope="row" | You get
| | All "under maintainer approval for publication" pages to which you are set as reviewer<!-- {{UserDashboard | role=MT | filter=action}} -->

|-
! scope="row" | You type
| All "under maintainer approval for publication" pages to which "{{#var:usertest}}" is set as reviewer<code><nowiki>{</nowiki>{UserDashboard | user={{#var:usertest}} | role=MT | filter=action}}</code>

|-
! scope="row" | You get
| {{UserDashboard | user={{#var:usertest}} | role=MT | filter=action}}
|}

==More examples==
{| class="st-table"
! scope="row" | You type
| No role and no filter specified: same as if "MW" and "assignment'' were specified<code><nowiki>{</nowiki>{UserDashboard | user={{#var:usertest}}}}</code>

|-
! scope="row" | You get
| {{UserDashboard | user={{#var:usertest}}}}
|-
! scope="row" | You type
| No role specified: same as if "MW" was specified<code><nowiki>{</nowiki>{UserDashboard | user={{#var:usertest}} | filter=action}}</code>

|-
! scope="row" | You get
| {{UserDashboard | user={{#var:usertest}} | filter=action}}
|-
! scope="row" | You type
| Unknown user<pre style="white-space: pre-wrap;">

{{UserDashboard | user=Unknown user}}<br>

{{UserDashboard | user=Unknown user | role=MW}}<br>

{{UserDashboard | user=Unknown user | role=EX}}<br>

{{UserDashboard | user=Unknown user | role=TW}}<br>

{{UserDashboard | user=Unknown user | role=MT}}<br>

{{UserDashboard | user=Unknown user | role=MW | filter=action}}<br>

{{UserDashboard | user=Unknown user | role=EX | filter=action}}<br>

{{UserDashboard | user=Unknown user | role=TW | filter=action}}<br>

{{UserDashboard | user=Unknown user | role=MT | filter=action}}</pre>

|-
! scope="row" | You get
| {{UserDashboard | user=Unknown user}}<br>

{{UserDashboard | user=Unknown user | role=MW}}<br>

{{UserDashboard | user=Unknown user | role=EX}}<br>

{{UserDashboard | user=Unknown user | role=TW}}<br>

{{UserDashboard | user=Unknown user | role=MT}}<br>

{{UserDashboard | user=Unknown user | role=MW | filter=action}}<br>

{{UserDashboard | user=Unknown user | role=EX | filter=action}}<br>

{{UserDashboard | user=Unknown user | role=TW | filter=action}}<br>

{{UserDashboard | user=Unknown user | role=MT | filter=action}}
|-
! scope="row" | You type
| Unknown role<code><nowiki>{</nowiki>{UserDashboard | user={{#var:usertest}} | role=AA}}</code><br>
<code><nowiki>{</nowiki>{UserDashboard | user={{#var:usertest}} | role=AA | filter=action}}</code>

|-
! scope="row" | You get
| {{UserDashboard | user={{#var:usertest}} | role=AA}}<br>

{{UserDashboard | user={{#var:usertest}} | role=AA | filter=action}}
|-
! scope="row" | You type
| Unknown filter: same as if "assignment" was specified<code><nowiki>{</nowiki>{UserDashboard | user={{#var:usertest}} | role=MW | filter=unknown}}</code>

|-
! scope="row" | You get
| {{UserDashboard | user={{#var:usertest}} | role=MW | filter=unknown}}
|-
! scope="row" | You type
| Check that there's no space before and after the text<code>BEFORE<nowiki>{</nowiki>{UserDashboard | user={{#var:usertest}} | role=MW}}AFTER</code><br>
<code>BEFORE<nowiki>{</nowiki>{UserDashboard | user={{#var:usertest}} | role=BB}}AFTER</code>

|-
! scope="row" | You get
| BEFORE{{UserDashboard | user={{#var:usertest}} | role=MW}}AFTER<br>

BEFORE{{UserDashboard | user={{#var:usertest}} | role=BB}}AFTER
|}
==Maintenance==
This template is a template common to all ST wikis. <br>

Modifications must be done into the [[stwikimodel:Template:UserDashboard|WikiModel]]. They must be reviewed by all  ST wikis maintainers.<br>

When approved, the template can be pushed/merged towards all ST wikis.
==Code==</noinclude>{{#if: {{{user|}}} | {{#vardefine:usr|{{{user}}}}} | {{#vardefine:usr|{{CURRENTUSER}}}}}}{{#switch:{{{filter|assignment}}}
| action = {{#switch:{{{role|MW}}}
  | MW = {{#vardefine:filter|[[Assignment/MW::User:{{#var:usr}}]] [[QM/Document state::!~Approved version]]}}{{#vardefine:main|As {{Highlight|MW}}, {{#var:usr}} is required to follow presently:}}{{#vardefine:default|As {{Highlight|MW}}, {{#var:usr}} has no specific action presently.}}
  | EX = {{#vardefine:filter|[[Reviewers::User:{{#var:usr}}]] [[QM/Document state::Under review by experts]]}}{{#vardefine:main|As {{Highlight|EX}}, {{#var:usr}} is required to review presently:}}{{#vardefine:default|As {{Highlight|EX}}, {{#var:usr}} has no page to review presently.}}
  | TW = {{#vardefine:filter|[[Reviewers::User:{{#var:usr}}]] [[QM/Document state::Under review by technical writers]]}}{{#vardefine:main|As {{Highlight|TW}}, {{#var:usr}} is required to review presently:}}{{#vardefine:default|As {{Highlight|TW}}, {{#var:usr}} has no page to review presently.}}
  | MT = {{#vardefine:filter|[[Reviewers::User:{{#var:usr}}]] [[QM/Document state::Under maintainer approval for publication]]}}{{#vardefine:main|As {{Highlight|MT}}, {{#var:usr}} is required to approve presently:}}{{#vardefine:default|As {{Highlight|MT}}, {{#var:usr}} has no page to approve presently.}}
  }}
| #default = {{#ifeq: {{{filter|assignment}}}  | assignment | | {{Highlight|Unknown filter ("assignment" is considered).}}&nbsp;}}{{#vardefine:main|{{#var:usr}} is assigned as {{Highlight|{{{role|MW}}}}} of}}{{#vardefine:default|{{#var:usr}} is not assigned as {{Highlight|{{{role|MW}}}}}}}{{#switch:{{{role|MW}}}
    | MW = {{#vardefine:filter|[[Assignment/MW::User:{{#var:usr}}]]}}
    | EX = {{#vardefine:filter|[[Assignment/EX::User:{{#var:usr}}]]}}
    | TW = {{#vardefine:filter|[[Assignment/TW::User:{{#var:usr}}]]}}
    | MT = {{#vardefine:filter|[[Assignment/MT::User:{{#var:usr}}]]}}
    }}
}}{{#switch:{{{role|MW}}}
| MW =
{{#ask: [[:+||Contributors:+||LegalInformation:+||WikiAdmin:+||File:+||Category:+]] [[modification date::+]] {{#var:filter}}
|mainlabel=Page
|intro={{#var:main}}
|default={{#var:default}}
|?QM/Document state=Page state
|?QM/Acceptance date=Date of last approved revision
|?Modification date=Date of last modification
|?Has reviews comments=The page has review comments
|?Has under construction messages=The page has parts under construction
|?QM/Document version=Number of approved revisions
|?Number of revisions=Number of revisions
|?Number of page views=Number of views
|format=table
|class=datatable st-table
|headers=plain
|limit=300
}}
| EX =
{{#ask: [[:+||Contributors:+||LegalInformation:+||WikiAdmin:+||File:+||Category:+]] [[modification date::+]] {{#var:filter}}
|mainlabel=Page
|intro={{#var:main}}
|default={{#var:default}}
|?QM/Document state=Page state
|?Assignment/EX=Assigned experts
|?Reviewers=Reviewers (if a review is in progress)
|?Has reviews comments=The page has review comments
|?Has under construction messages=The page has parts under construction
|format=table
|class=datatable st-table
|headers=plain
|limit=300
}}
| TW =
{{#ask: [[:+||Contributors:+||LegalInformation:+||WikiAdmin:+||File:+||Category:+]] [[modification date::+]] {{#var:filter}}
|mainlabel=Page
|intro={{#var:main}}
|default={{#var:default}}
|?QM/Document state=Page state
|?Assignment/TW=Assigned technical writers
|?Reviewers=Reviewers (if a review is in progress)
|?Has reviews comments=The page has review comments
|?Has under construction messages=The page has parts under construction
|format=table
|class=datatable st-table
|headers=plain
|limit=300
}}
| MT =
{{#ask: [[:+||Contributors:+||LegalInformation:+||WikiAdmin:+||File:+||Category:+]] [[modification date::+]] {{#var:filter}}
|mainlabel=Page
|intro={{#var:main}}
|default={{#var:default}}
|?QM/Document state=Page state
|?Assignment/MT=Assigned maintainers
|?Reviewers=Reviewers (if a review is in progress)
|?Has reviews comments=The page has review comments
|?Has under construction messages=The page has parts under construction
|format=table
|class=datatable st-table
|headers=plain
|limit=300
}}
| #default = {{Highlight|Unknown role}}
}}
Line 236: Line 236:
 
BEFORE{{UserDashboard | user={{#var:usertest}} | role=BB}}AFTER
 
BEFORE{{UserDashboard | user={{#var:usertest}} | role=BB}}AFTER
 
|}
 
|}
  +
==Maintenance==
  +
This template is a template common to all ST wikis. <br>
  +
Modifications must be done into the [[stwikimodel:Template:UserDashboard|WikiModel]]. They must be reviewed by all  ST wikis maintainers.<br>
  +
When approved, the template can be pushed/merged towards all ST wikis.
  +
   
 
==Code==
 
==Code==