Template:User: Difference between revisions

From WikiMSK

No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#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)|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>{| class="infobox side" id="profile"
</noinclude><includeonly>{| class="infobox side" id="profile"
! colspan="2" class="title"|{{PAGENAME}}
! colspan="2" class="title"|{{PAGENAME}}
|-
{{#if: {{{image|}}} | {{!-}}
| colspan="2" |[[File:{{{image|}}}]]
{{!}} {{#if: {{{image|}}}| colspan="2" class="infobox-image"{{!}}[[File:{{{image|}}}]]   }}
}}
|-
|-
! Name
! Name
Line 15: 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
! Location
Line 24: Line 27:
| [[Has user interests::{{{interests|}}}]]
| [[Has user interests::{{{interests|}}}]]
|-
|-
! colspan="2" class="title"|<span style="color:#212529; font-size:14px;">[[Special:Contributions/{{PAGENAME}}|Contributions]]</span>
! Financial Disclosures
| [[Has user coi::{{{coi|}}}]]
|-
! colspan="2" class="title"|<span style="color:#212529; font-size:14px;">[[WikiMSK:Authors/{{PAGENAME}}|Contributions]]</span>
|-
|-
! Contribution Score
! Contribution Score
Line 35: Line 41:
| {{#cscore:{{PAGENAME}}|pages}}
| {{#cscore:{{PAGENAME}}|pages}}
|}
|}
<div id="coi" style="position:absolute; bottom:0; left:0;">Conflict of Interest Statement: {{{coi}}}</div>
[[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.