User:Jon/Member-test: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{| class="wikitable" style="float:right; width:200px; margin-left:10px; margin-bottom:10px;"
{| class="wikitable" style="float:right; width:200px; margin-left:10px; margin-bottom:10px;"
|-
|-
! colspan="2" style="background-color:#195905; color:#ffffff; text-align: center;" | Member
! colspan="2" style="background-color:#195905; color:#ffffff; text-align: center;" | Member
|-
|-
| align="center" style="background-color:#ffffff"|  
| align="center" style="background-color:#ffffff"  colspan="2"|  
<!-- 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 11: Line 10:


|-
|-
| 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"  colspan="2"| [[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"| {{{realname|Real Name}}}
| align="center"  colspan="2"| {{{realname|Real name}}}
|-
|-
{{# if{{{datejoined|}}| align="center"| Date joined ||{{{datejoined}}} |
|-}}
|}
|}
</div><includeonly>[[Category:Members]]</includeonly><noinclude>
<includeonly>[[Category:Members]]</includeonly><noinclude>
{{clear}}
{{clear}}
==Documentation==
==Documentation==

Revision as of 13:22, 5 February 2019

{{# if{Template:Datejoined| align="center"| Date joined ||{{{datejoined}}} |
Member

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