Difference between revisions of "Template:Infobox user profile"

From WikiAnesthesia
Tag: 2017 source edit
m (Changed contribution to authorship)
Tag: 2017 source edit
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox" id="infobox-user-profile-data">{{#if:{{{image|}}}|
<div class="infobox" id="infobox-user-profile">{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{{image}}}|320px]]</div>}}
<div class="infobox-image">[[File:{{{image}}}|400px]]</div>}}
<table class="table userprofile-infobox">{{#if:{{{institutions|}}}|<tr>
<table class="table">{{#if:{{{options|}}}|<tr>
    <td colspan="2">{{{options}}}</td>
</tr>}}{{#if:{{{institutions|}}}|<tr>
     <td colspan="2" class="infobox-table-section-end">{{{institutions}}}</td>
     <td colspan="2" class="infobox-table-section-end">{{{institutions}}}</td>
</tr>}}{{#if:{{{clinical_role|}}}|<tr>
</tr>}}{{#if:{{{clinical_role|}}}|<tr>
Line 11: Line 13:
</tr>}}{{#if:{{{edit_link|}}}|<tr>
</tr>}}{{#if:{{{edit_link|}}}|<tr>
     <td colspan="2" class="infobox-table-section-start">{{{edit_link}}}</td>
     <td colspan="2" class="infobox-table-section-start">{{{edit_link}}}</td>
</tr>}}{{#if:{{{contribution_score|}}}|<tr>
</tr>}}<tr>
     <td colspan="2" class="infobox-table-section-heading">[[Special:Contributions/{{PAGENAME}}|Contributions]]</td>
     <td colspan="2" class="infobox-table-section-heading">Authorship</td>
</tr><tr>
</tr>{{#if:{{{contribution_score|}}}|<tr>
     <th class="infobox-table-section-start">Contribution score</th>
     <th class="infobox-table-section-start">Authorship score</th>
     <td class="infobox-table-section-start">{{{contribution_score}}}</td>
     <td class="infobox-table-section-start">{{{contribution_score}}}</td>
</tr>}}{{#if:{{{contribution_edits|}}}|<tr>
    <th>Total edits</th>
    <td>{{{contribution_edits}}}</td>
</tr>}}{{#if:{{{contribution_pages|}}}|<tr>
    <th>Articles edited</th>
    <td>{{{contribution_pages}}}</td>
</tr>}}{{#if:{{{contribution_creations|}}}|<tr>
</tr>}}{{#if:{{{contribution_creations|}}}|<tr>
     <th>Articles created</th>
     <th>Articles created</th>
     <td>{{{contribution_creations}}}</td>
     <td>{{{contribution_creations}}}</td>
</tr>}}{{#if:{{{contribution_pages|}}}|<tr>
</tr>}}{{#if:{{{contribution_characters|}}}|<tr>
     <th>Articles edited</th>
     <th>Total characters added</th>
     <td>{{{contribution_pages}}}</td>
     <td>{{{contribution_characters}}}</td>
</tr>}}{{#if:{{{contribution_edits|}}}|<tr>
</tr>}}<tr>
     <th>Total edits</th>
    <td colspan="2"><small>''[[Special:Contributions/{{PAGENAME}}|See authorship history]]''</small></td>
     <td>{{{contribution_edits}}}</td>
</tr>{{#if:{{{achievements|}}}|<tr>
     <td colspan="2" class="infobox-table-section-heading">Achievements</td>
</tr><tr>
     <td colspan="2">{{{achievements}}}</td>
</tr><tr>
    <td colspan="2"><small>''[[Special:UserAchievements/{{PAGENAME}}|See progress for all achievements]]''</small></td>
</tr>}}{{#if:{{{practice_groups|}}}|<tr>
</tr>}}{{#if:{{{practice_groups|}}}|<tr>
     <td colspan="2" class="infobox-table-section-heading">Practice groups</td>
     <td colspan="2" class="infobox-table-section-heading">Practice groups</td>
</tr><tr>
</tr><tr>
     <td colspan="2">{{{practice_groups}}}</td>
     <td colspan="2">
</tr>}}{{#if:{{{admin_links|}}}|<tr>
{{{practice_groups}}}</td>
    <td colspan="2" class="infobox-table-section-start">{{{admin_links}}}</td>
</tr>}}</table>
</tr>}}</table>
</div>
</div>
Line 43: Line 55:
"label": "Image filename"
"label": "Image filename"
},
},
"options": {},
"institutions": {},
"institutions": {},
"clinical_role": {},
"clinical_role": {},
Line 51: Line 64:
"contribution_creations": {},
"contribution_creations": {},
"contribution_edits": {},
"contribution_edits": {},
"contribution_characters": {},
"practice_groups": {},
"practice_groups": {},
"admin_links": {}
"achievements": {}
}
}
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 20:06, 20 March 2022

No description.

Template parameters

ParameterDescriptionTypeStatus
Image filenameimage

no description

Example
John.Smith.jpg
Filesuggested
optionsoptions

no description

Unknownoptional
institutionsinstitutions

no description

Unknownoptional
clinical_roleclinical_role

no description

Unknownoptional
practice_typepractice_type

no description

Unknownoptional
edit_linkedit_link

no description

Unknownoptional
contribution_scorecontribution_score

no description

Unknownoptional
contribution_pagescontribution_pages

no description

Unknownoptional
contribution_creationscontribution_creations

no description

Unknownoptional
contribution_editscontribution_edits

no description

Unknownoptional
contribution_characterscontribution_characters

no description

Unknownoptional
practice_groupspractice_groups

no description

Unknownoptional
achievementsachievements

no description

Unknownoptional