Template:User: Difference between revisions
From WikiMSK
No edit summary |
No edit summary |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:name (label=Name;property=Has user name)|qualifications (label=Qualifications;property=Has user qualifications)|training (label=Level of Training;list;property=Has user training level)|role (label=WikiMSK Role;property=Has user role)|location (label=Location;property=Has user location)|interests (label=Interests;property=Has user interests)}} | {{#template_params:name (label=Name;property=Has user name)|image(label=Image)|qualifications (label=Qualifications;property=Has user qualifications)|training (label=Level of Training;list;property=Has user training level)|role (label=WikiMSK Role;property=Has user role;display=nonempty)|location (label=Location;property=Has user location)|interests (label=Interests;property=Has user interests)|coi(label=coi)}} | ||
</noinclude><includeonly>{| id="profile" | </noinclude><includeonly>{| class="infobox side" id="profile" | ||
! | ! colspan="2" class="title"|{{PAGENAME}} | ||
{{#if: {{{image|}}} | {{!-}} | |||
{{!}} {{#if: {{{image|}}}| colspan="2" class="infobox-image"{{!}}[[File:{{{image|}}}]] }} | |||
}} | |||
|- | |- | ||
! Name | ! Name | ||
Line 13: | Line 16: | ||
| {{#arraymap:{{{training|}}}|,|x|[[Has user training level::x]]}} | | {{#arraymap:{{{training|}}}|,|x|[[Has user training level::x]]}} | ||
|- | |- | ||
{{#if: {{{role|}}} | {{!-}} | |||
! WikiMSK Role | ! WikiMSK Role | ||
| [[Has user role::{{{role | {{!}} {{#if: {{{role|}}}|[[Has user role::{{{role}}}]]}} | ||
}} | |||
|- | |- | ||
! | ! Location | ||
| [[Has user location::{{{location|}}}]] | | [[Has user location::{{{location|}}}]] | ||
|- | |- | ||
! Interests | ! Interests | ||
| [[Has user interests::{{{interests|}}}]] | | [[Has user interests::{{{interests|}}}]] | ||
|- | |||
! Financial Disclosures | |||
| [[Has user coi::{{{coi|}}}]] | |||
|- | |||
! colspan="2" class="title"|<span style="color:#212529; font-size:14px;">[[WikiMSK:Authors/{{PAGENAME}}|Contributions]]</span> | |||
|- | |||
! Contribution Score | |||
| {{#cscore:{{PAGENAME}}|score}} | |||
|- | |||
! Changes Made | |||
| {{#cscore:{{PAGENAME}}|changes}} | |||
|- | |||
! Unique Pages Edited | |||
| {{#cscore:{{PAGENAME}}|pages}} | |||
|} | |} | ||
[[Category:Users]] | [[Category:Users]] | ||
</includeonly> | </includeonly> |
Latest revision as of 14:52, 29 May 2022
This is the "User" template.
It should be called in the following format:
{{User |name= |image= |qualifications= |training= |role= |location= |interests= |coi= }}
Edit the page to see the template text.