Template:Member: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
m try again to add rel=me to mastodon links
Tag: Reverted
m give up because we dont have that extension :D
Tag: Manual revert
 
Line 24: Line 24:
   |- {{#if:{{{mastosite|}}} | | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
   |- {{#if:{{{mastosite|}}} | | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
   ! Mastodon
   ! Mastodon
   | [https://{{{mastosite}}}/@{{{mastouser}}} @{{{mastouser}}}@{{{mastosite}}}((me))]
   | [https://{{{mastosite}}}/@{{{mastouser}}} @{{{mastouser}}}@{{{mastosite}}}]
   |- {{#if:{{{discord|}}} | | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
   |- {{#if:{{{discord|}}} | | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
   ! Discord
   ! Discord

Latest revision as of 17:40, 29 August 2024

Member
Name {{{nickname}}}
Date joined {{{datejoined}}}
Manufacturer {{{manufacturer}}}
Model {{{model}}}
Website {{{website}}}
Mastodon @{{{mastouser}}}@{{{mastosite}}}
Discord {{{discord}}}
Callsign {{{callsign}}}

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=
|website=
|mastosite=
|mastouser=
|discord=
|callsign=
}}

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.
website
Link to your website (just the domain)
mastouser
Your mastodon username (without the instance name), e.g. "nottinghack"
mastosite
Your mastodon site (without the at symbol), e.g. "hachyderm.io"
discord
Your discord username, if you don't mind people chatting to you
callsign
Your amateur radio callsign, if you have one

Notes

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

Note Note: Automatically includes page in Category:Members