Template:Member: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
m Jon moved page Template:MemberDetails to Template:Member: simpler name
test
Line 2: Line 2:
{| border="0" style="background-color:#f2f2f2"
{| border="0" style="background-color:#f2f2f2"
|-
|-
| align="center"| [[File:{{{imagefile|blank-avatar.png}}}|100px]]
| align="center"|  
<!-- image parameter present -->{{#if:{{{image|<!--else -->text2}}}|<!-- else -->[[File:blank-avatar.png|100px]] }}
 
<!--
}}}|[[{{{image}}}|border|frameless|{{#ifexpr: {{{imagewidth|220}}}>220 |220|{{{imagewidth|220}}}}}px|center]]
{{#if: {{{caption|}}}|''{{{caption}}}''}}}}|}} -->
|-
|-
| align="center"| [[User:{{{wikiusername|UnknownUser}}}|{{{nickname|Nickname}}}]]
| 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"| {{{realname|Real Name}}}
| align="center"| {{{realname|Real Name}}}

Revision as of 12:28, 5 February 2019

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