Template:User Page Header: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
m (Protected "Template:User Page Header" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
imported>Arkalor
m (Fix for edit counter)
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 18:33, 21 November 2014

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.