Difference between revisions of "Template:UserInfo"

From SHA2017
Jump to: navigation, search
(link to the right upload form is now also clicking the picture)
(added semantic property)
Line 1: Line 1:
<noinclude>
 
This is the "UserInfo" template for use on user pages.
 
'''All parameters are optional'''.
 
It should be called in something like the following format:
 
<pre>
 
{{UserInfo
 
|NickName=
 
|Languages=
 
|Team=
 
|Role=
 
|HackerSpace=
 
|Village=
 
|E-Mail=
 
|IRC=
 
|Jabber=
 
|Dect=
 
|Biography=
 
}}
 
</pre>
 
 
Need a additional parameter? Either make support for it yourself or make a request on the [[Template talk:{{PAGENAME}}|talk page]].
 
</noinclude>
 
 
<includeonly>
 
 
<div class="infobox" style="background-color:#FFFFFF; border:solid 1px #999999; width:364px; margin:auto; float:right;">
 
<div class="infobox" style="background-color:#FFFFFF; border:solid 1px #999999; width:364px; margin:auto; float:right;">
 
{| style="padding:2px; margin:auto; font-size:85%; width:221px;" cellspacing="0"|
 
{| style="padding:2px; margin:auto; font-size:85%; width:221px;" cellspacing="0"|
Line 48: Line 24:
 
| {{#if: {{{Jabber|}}} | '''Jabber:''' {{JabberUrl|{{{Jabber}}} }} {{#set:Jabber={{{Jabber}}} }}|}}
 
| {{#if: {{{Jabber|}}} | '''Jabber:''' {{JabberUrl|{{{Jabber}}} }} {{#set:Jabber={{{Jabber}}} }}|}}
 
|-
 
|-
| {{#if: {{{Biography|}}} | '''Biography:''' {{{Biography}}} |}}
+
| {{#if: {{{Biography|}}} | '''Biography:''' [[User Biography::{{{Biography}}}]] |}}
 
|-
 
|-
 
| {{#if: {{{Dect|}}} | '''Dect:''' [[Dect::{{{Dect}}}]] |}}
 
| {{#if: {{{Dect|}}} | '''Dect:''' [[Dect::{{{Dect}}}]] |}}
Line 54: Line 30:
 
| {{#formlink:form=UserInfo|link text=[edit]|target={{FULLPAGENAME}}}}
 
| {{#formlink:form=UserInfo|link text=[edit]|target={{FULLPAGENAME}}}}
 
|}
 
|}
 +
<includeonly>
 
[[Category:User|{{{NickName|{{PAGENAME}} }}}]]
 
[[Category:User|{{{NickName|{{PAGENAME}} }}}]]
 +
</includeonly>
 
</div>
 
</div>
  
Line 63: Line 41:
 
[[User Image String::user_{{PAGENAME}}_Picture.jpg]]
 
[[User Image String::user_{{PAGENAME}}_Picture.jpg]]
 
</div>
 
</div>
</includeonly>
 

Revision as of 14:13, 28 December 2015

{{{Name}}} {{#ifexist: | | user_UserInfo_Picture.jpg