User:Jon/Member-test: Difference between revisions
< User:Jon
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
<!-- 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}}]]<!-- | ||
else -->|[[File:blank-avatar.png|100px]] | else -->|[[File:blank-avatar.png|100px]]<!-- | ||
}} | -->}} | ||
{{#if:{{{realname|}}}|<!-- conditional table row if A or B --> | |||
{{!}}- | |||
| | ! Name | ||
{{!}} {{#if:{{{realname|}}}| {{{realname|}}} {{#if:{{{nickname|}}}| AKA {{{nickanme}}}|{{{nickname|}}} }}| {{{nickanme}}} }}<!-- | |||
-->}} | |||
{{#if:{{{datejoined|}}}|<!-- conditional table row --> | {{#if:{{{datejoined|}}}|<!-- conditional table row --> | ||
{{!}}- | {{!}}- | ||
}} | ! Date joined | ||
|} | {{!}} {{{datejoined}}}<!-- | ||
<includeonly>[[Category:Members]]</includeonly><noinclude> | -->}} | ||
|}<includeonly> | |||
[[Category:Members]]</includeonly><noinclude> | |||
{{clear}} | {{clear}} | ||
==Documentation== | ==Documentation== |
Revision as of 13:55, 5 February 2019
Member-test | |
---|---|
|
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: Automatically includes page in Category:Members