Template:Member: Difference between revisions
Jump to navigation
Jump to search
test |
No edit summary |
||
Line 7: | Line 7: | ||
else -->|[[File:blank-avatar.png|100px]]<!-- | else -->|[[File:blank-avatar.png|100px]]<!-- | ||
-->}} | -->}} | ||
|- #if:{{{realname|}}}{{{nickname|}}}|o | style="display: none;" <!-- Hide row (if A or B) if parameter doesn't exist --> }} | |- #if:{{{realname|}}}{{{nickname|}}}|o | x <!-- style="display: none;" <!-- Hide row (if A or B) if parameter doesn't exist --> --> }} | ||
! Name | ! Name | ||
| {{#if:{{{realname|}}}| {{{realname|}}} {{#if:{{{nickname|}}}| AKA {{{nickname}}} }} | {{{nickname}}} }} <!-- display name or nick, if both then name AKA nick --> | | {{#if:{{{realname|}}}| {{{realname|}}} {{#if:{{{nickname|}}}| AKA {{{nickname}}} }} | {{{nickname}}} }} <!-- display name or nick, if both then name AKA nick --> |
Revision as of 08:16, 25 February 2019
Member | |
---|---|
Name | {{{nickname}}} |
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 [[]] square 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.
- colorback
- Customise background colour of title bar, format #RRGGBB or colour name.
- colortext
- Customise text colour of title bar, format #RRGGBB or colour name.
- manufacturer
- Some members have a specific manufacturer.
- model
- Some members are specific models.
Notes
Parameter wikiname is deprecated - as it can be obtained from page infobox is placed on.
Note: Automatically includes page in Category:Members