Difference between revisions of "Template:UserInfo"

From SHA2017
Jump to: navigation, search
(test)
(link to the right upload form is now also clicking the picture)
Line 29: Line 29:
 
</div>
 
</div>
 
|-
 
|-
! colspan=2| {{#ifexist: File:user_{{PAGENAME}}_Picture.jpg | [[File:user_{{PAGENAME}}_Picture.jpg|360x360px]] | [[File:Gameoflife.png|360x360px]]}}
+
! colspan=2| {{#ifexist: File:user_{{PAGENAME}}_Picture.jpg | [[File:user_{{PAGENAME}}_Picture.jpg|360x360px]] | [[File:Gameoflife.png|360x360px|link=File:user_{{PAGENAME}}_Picture.jpg]]}}
{{#ifexist:{{{Picture|}}} | | {{#ifexist: File:user_{{PAGENAME}}_Picture.jpg |  | [[File:user_{{PAGENAME}}_Picture.jpg||link=File:user_{{PAGENAME}}_Picture.jpg|Click here to add a profile picture.]]}} }}
+
{{#ifexist:{{{Picture|}}} | | {{#ifexist: File:user_{{PAGENAME}}_Picture.jpg |  | [[File:user_{{PAGENAME}}_Picture.jpg|Click here to add a profile picture.]]}} }}
 
|-
 
|-
 
| {{#if: {{{Languages|}}} | '''Languages:''' <br>{{#arraymap:{{{Languages}}}|,|x|* [[Knows language::x]]|\n}} |}}
 
| {{#if: {{{Languages|}}} | '''Languages:''' <br>{{#arraymap:{{{Languages}}}|,|x|* [[Knows language::x]]|\n}} |}}

Revision as of 14:04, 28 December 2015

This is the "UserInfo" template for use on user pages. All parameters are optional. It should be called in something like the following format:

{{UserInfo
|NickName=
|Languages=
|Team=
|Role=
|HackerSpace=
|Village=
|E-Mail=
|IRC=
|Jabber=
|Dect=
|Biography=
}}

Need a additional parameter? Either make support for it yourself or make a request on the talk page.