Difference between revisions of "Template:UserInfo"

From SHA2017
Jump to: navigation, search
(remove image and add hackerspace parameters)
Line 5: Line 5:
 
<pre>
 
<pre>
 
{{UserInfo
 
{{UserInfo
|Image=
 
 
|Name=
 
|Name=
 
|Team=
 
|Team=
 +
|HackerSpace=
 
}}
 
}}
 
</pre>
 
</pre>
Line 17: Line 17:
 
<div class="infobox" style="background-color:#FFFFFF; border:solid 1px #999999; width:225px; margin:auto; float:right;">
 
<div class="infobox" style="background-color:#FFFFFF; border:solid 1px #999999; width:225px; 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"|
|<div class="UserName" style="text-align: center; background-color:#ccccff;">'''{{{Name|{{PAGENAME}}}}}'''</div>
+
|<div class="UserName" style="text-align: center; background-color:#ccccff;">'''[[NickName::{{{Name|{{PAGENAME}}}}}]]'''</div>
 
|-
 
|-
| {{#if: {{{Image|}}} | [[Image:{{{Image}}}|center|200px|{{{Name|{{PAGENAME}}}}}]] |}}
+
| {{#if: {{{Team|}}} | '''Team:''' [[Is member of team::Team:{{{Team}}}|{{{Team}}}]] |}}
 
|-
 
|-
| {{#if: {{{Team|}}} | '''Team:''' [[Is member of team::Team:{{{Team}}}|{{{Team}}}]] |}}
+
| {{#if: {{{HackerSpace|}} | '''HackerSpace:''' [[Residential hackerspace::{{{HackerSpace}}}]] |}}
 
|}
 
|}
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Revision as of 13:18, 25 October 2015

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

{{UserInfo
|Name=
|Team=
|HackerSpace=
}}

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