Template:User Page Header: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>An Adventurer
(Undo revision 446336 by An Adventurer (talk))
imported>An Adventurer
mNo edit summary
Line 5: Line 5:
|height=30px style="font-size:30px; color:#3366CC"| &nbsp;{{{1|}}}<br>
|height=30px style="font-size:30px; color:#3366CC"| &nbsp;{{{1|}}}<br>
|rowspan=2| '''[[Special:Contributions/{{{1|}}}|Wiki Contributions]]'''
|rowspan=2| '''[[Special:Contributions/{{{1|}}}|Wiki Contributions]]'''
|rowspan=2 align=right style="font-size:50px; color:#3366CC"|{{formatnum:{{#ec:{{{1|}}}}}}}
|rowspan=2 align=right style="font-size:50px; color:#3366CC"|{{Special:Editcount/{{{1|}}}}}
{{#ifeq:{{Group Status|{{{1|}}}}}|None||
{{#ifeq:{{Group Status|{{{1|}}}}}|None||
{{!-}}
{{!-}}

Revision as of 06:59, 20 June 2019

Template Documentation: Page Header| |_}}/Doc?action=edit Edit Documentation

Related topics: Wiki Templates, {{Group Status}}

Syntax

{{User Page Header|{{PAGENAME}}}}

Usage

This template creates a formatted header that displays the user's name, avatar image (if available), a link to the user's contributions, and a count of total edits made on the wiki.

This is optional, if you do not wish to display this header on your user page, simply delete the template from your page ({{User Page Header|{{PAGENAME}}}}).

For example:

{{User Page Header|Tlosk}}

displays as:

 Tlosk
Wiki Contributions Special:Editcount/Tlosk
   (admin, bureaucrat, maintainer)


  • See Upload Avatar Image for more information on creating an avatar that will display in your header.
  • The wiki titles section is handled automatically via the protected template {{Group Status}} where titles are manually assigned using a switch parser function.