Difference between revisions of "User:Jon/Member-test"

From Nottinghack Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<div class="noprint memberdetails">
+
 
{| border="0" style="background-color:#f2f2f2"
+
{| class="wikitable" style="float:right; width:200px; margin-left:10px; margin-bottom:10px;"
 
|-
 
|-
| align="center"|  
+
! colspan="2" style="background-color:#195905; color:#ffffff; text-align: center;" | Member
 +
|-
 +
| align="center" style="background-color:#ffffff"|  
 
<!-- if 'image' parameter present -->{{#if:{{{image|}}}<!--  
 
<!-- if 'image' parameter present -->{{#if:{{{image|}}}<!--  
 
then -->|[[File:{{{image}}}|{{#if:{{{imagewidth|}}}<!--then-->|{{{imagewidth}}}<!--then-->|<!--else-->220px}}]]<!--  
 
then -->|[[File:{{{image}}}|{{#if:{{{imagewidth|}}}<!--then-->|{{{imagewidth}}}<!--then-->|<!--else-->220px}}]]<!--  
Line 8: Line 10:
 
}}
 
}}
  
<!--
 
if 'imagewidth' parameter present {{#if:{{{imagewidth|}}}]]|
 
then imagewidth]]|-
 
    else 220px]]}}
 
-->
 
 
<!--
 
}}}|[[{{{image}}}|border|frameless|{{#ifexpr: {{{imagewidth|220}}}>220 |220|{{{imagewidth|220}}}}}px|center]]
 
{{#if: {{{caption|}}}|''{{{caption}}}''}}}}|}} -->
 
 
|-
 
|-
 
| align="center"| [[User:{{{wikiusername|UnknownUser}}}|{{{nickname|Nickname}}}]] <!-- this will make wikilink to userpage (but as it should only be used on that page the name will simply be shown in bold) -->
 
| align="center"| [[User:{{{wikiusername|UnknownUser}}}|{{{nickname|Nickname}}}]] <!-- this will make wikilink to userpage (but as it should only be used on that page the name will simply be shown in bold) -->

Revision as of 13:13, 5 February 2019

Member

Blank-avatar.png

Nickname
Real Name

Documentation

This template creates a member infobox. It takes the following parameters (each of which is optional):

nickname
wikiusername
imagefile
realname


To use this template write something like this at the place where you want this userbox to appear:

{{MemberDetails|nickname=Joey|wikiusername=JoeBloggs|realname=Joe Bloggs}}
Note Note: Automatically includes page in Category:Members