User:Jon/Member-test: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
|-
|-
| align="center" style="background-color:#ffffff"  colspan="2"|  
| align="center" style="background-color:#ffffff"  colspan="2"|  
<!-- if 'image' parameter present -->{{#if:{{{image|}}}<!--  
<!-- if 'imagefile' parameter present -->{{#if:{{{imagefile|}}}<!--  
then -->|[[File:{{{imagefile}}}|{{#if:{{{imagewidth|}}}<!--then-->|{{{imagewidth}}}<!--then-->|<!--else-->220px}}]]<!--  
then -->|[[File:{{{imagefile}}}|{{#if:{{{imagewidth|}}}<!--then-->|{{{imagewidth}}}<!--then-->|<!--else-->220px}}]]<!--  
else -->|[[File:blank-avatar.png|100px]]<!--  
else -->|[[File:blank-avatar.png|100px]]<!--  
Line 55: Line 55:
{{note|Automatically includes page in [[:Category:Members]]}}
{{note|Automatically includes page in [[:Category:Members]]}}


[[Category:Templates infoboxes]]
 
</noinclude>
</noinclude>

Latest revision as of 13:54, 24 February 2019

Member-test


Documentation

This template creates a member infobox. All parameters are optional. The title of the infobox is set from the name of the userpage it is placed on.

Usage

Inserting the following text at the top of your project page will produce an information box on your page that gives an overview of the project to the reader. All of the arguments are optional and can be written in any order.

Images look great with this template, include one if you can!

{{Member
|imagefile=
|imagewidth=
|nickname=
|realname=
|datejoined=
}}

Arguments

imagefile
An image, in the format <image name>.<ext>. DO NOT include the [[]] brackets otherwise the image will display full size.
imagewidth
Sets the width of the imagefile, specify the unit (for example 200px).
nickname
Specify nickname.
realname
Specify real name
datejoined
The date of becoming a Hackspace member.

Notes

Parameter wikiname is depreciated - as it can be obtained from page infobox is placed on.

Note Note: Automatically includes page in Category:Members