Difference between revisions of "Template:Member"

From Nottinghack Wiki
Jump to navigation Jump to search
(re)
(rev)
Line 1: Line 1:
 
{| class="wikitable" style="float:right; width:250px; margin-left:10px; margin-bottom:10px;"
 
{| class="wikitable" style="float:right; width:250px; margin-left:10px; margin-bottom:10px;"
! colspan="2" style="background-color:{{#if: {{{colorback|}}}|{{{colorback}}}|#195905}}; {{#if: {{{colortext|}}}|{{{colortext}}}|color:#ffffff}}; text-align: center;" | {{SUBPAGENAME}}
+
! colspan="2" style="background-color:#195905; color:#ffffff; text-align: center;" | {{SUBPAGENAME}}
 
|-
 
|-
 
| align="center" style="background-color:#ffffff"  colspan="2"|<!--  
 
| align="center" style="background-color:#ffffff"  colspan="2"|<!--  
Line 40: Line 40:
 
=== Arguments ===
 
=== Arguments ===
 
;imagefile
 
;imagefile
:An image, in the format <image name>.<ext>. DO NOT include the <nowiki>[[]]</nowiki> square brackets otherwise the image will display full size.
+
:An image, in the format <image name>.<ext>. DO NOT include the <nowiki>[[]]</nowiki> brackets otherwise the image will display full size.
 
;imagewidth
 
;imagewidth
 
:Sets the width of the imagefile, specify the unit (for example 200px).
 
:Sets the width of the imagefile, specify the unit (for example 200px).
Line 49: Line 49:
 
;datejoined
 
;datejoined
 
:The date of becoming a Hackspace member, format DD/MM/YYYY.
 
:The date of becoming a Hackspace member, format DD/MM/YYYY.
;colorback
 
:Customise background colour of title bar, format #RRGGBB or colour name.
 
;colortext
 
:Customise text colour of title bar, format #RRGGBB or colour name.
 
  
 
===Notes===
 
===Notes===

Revision as of 08:15, 17 February 2019

Member
Blank-avatar.png

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 user page and it will produce an information box on your page that gives an overview. All of the arguments are optional and can be written in any order.

If no imagefile is specified the default 'robinhood' image is used.

{{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, format DD/MM/YYYY.

Notes

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

Note Note: Automatically includes page in Category:Members