Template:UserInfoBox: Difference between revisions
No edit summary |
(Introduce a pronouns field) |
||
(8 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
{{UserInfoBox | {{UserInfoBox | ||
|real_name=Maker | |real_name=Maker | ||
|pronouns=any/any | |||
|image= | |image= | ||
|expertise= | |expertise= | ||
|interests=[[Projects|everything]] | |||
|projects= | |projects= | ||
|email= | |email= | ||
|website=[https://www. | |website=[https://www.comakingspace.org www.comakingspace.org] | ||
|instagram=comakingspace | |||
|twitter=comakingspace | |twitter=comakingspace | ||
|github=comakingspace | |github=comakingspace | ||
|printables= | |||
|thingiverse= | |thingiverse= | ||
|telegram=[[Telegram Group]] | |||
}} | }} | ||
The idea of this [[InfoBoxes|InfoBox]] is to display user information in an organized way. | The idea of this [[InfoBoxes|InfoBox]] is to display user information in an organized way. It may remind you of the printouts on our [[Members Wall]] - if not, you should probably head over there and print one for yourself ;-) | ||
Feel free to add some information about yourself and just leave out any entry you don't want to show. | Feel free to add some information about yourself and just leave out any entry you don't want to show. | ||
== Documentation == | == Documentation == | ||
To use this template, simply copy this code into your page, add the values, or delete lines you don't want to fill out. Some lines are "smart", i.e. you only have to enter your Twitter username and a link is created automatically. As always, make good use of the "Show preview" function to make sure it works as you expected. | To use this template, simply copy this code into your page, add the values, or delete lines you don't want to fill out. | ||
Some lines are "smart", i.e. you only have to enter your Twitter username and a link is created automatically. As always, make good use of the "Show preview" function to make sure it works as you expected. | |||
<pre> | <pre> | ||
{{UserInfoBox | {{UserInfoBox | ||
|real_name= | |real_name= | ||
|pronouns= | |||
|image= | |image= | ||
|expertise= | |expertise= | ||
|interests= | |||
|projects= | |projects= | ||
|email= | |email= | ||
|website= | |website= | ||
|instagram= | |||
|twitter= | |twitter= | ||
|github= | |github= | ||
|printables= | |||
|thingiverse= | |thingiverse= | ||
|telegram= | |||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Community]] | |||
</noinclude> | </noinclude> | ||
Line 45: | Line 59: | ||
{{!}} Name: | {{!}} Name: | ||
{{!}} {{{real_name}}} | {{!}} {{{real_name}}} | ||
|}} | |||
|- | |||
{{#if: {{{pronouns|}}}| | |||
{{!}}- | |||
{{!}} Pronouns: | |||
{{!}} {{{pronouns}}} | |||
|}} | |}} | ||
|- | |- | ||
Line 51: | Line 71: | ||
{{!}} Expertise: | {{!}} Expertise: | ||
{{!}} {{{expertise}}} | {{!}} {{{expertise}}} | ||
|}} | |||
|- | |||
{{#if: {{{interests|}}}| | |||
{{!}}- | |||
{{!}} Interests: | |||
{{!}} {{{interests}}} | |||
|}} | |}} | ||
|- | |- | ||
Line 69: | Line 95: | ||
{{!}} Website: | {{!}} Website: | ||
{{!}} {{{website}}} | {{!}} {{{website}}} | ||
|}} | |||
|- | |||
{{#if: {{{instagram|}}}| | |||
{{!}}- | |||
{{!}} Instagram: | |||
{{!}} [https://www.instagram.com/{{{instagram}}} {{{instagram}}}] | |||
|}} | |}} | ||
|- | |- | ||
Line 81: | Line 113: | ||
{{!}} GitHub: | {{!}} GitHub: | ||
{{!}} [https://github.com/{{{github}}}/ {{{github}}}] | {{!}} [https://github.com/{{{github}}}/ {{{github}}}] | ||
|}} | |||
|- | |||
{{#if: {{{printables|}}}| | |||
{{!}}- | |||
{{!}} Printables: | |||
{{!}} [https://www.printables.com/@{{{printables}}}/ {{{printables}}}] | |||
|}} | |}} | ||
|- | |- | ||
Line 87: | Line 125: | ||
{{!}} Thingiverse: | {{!}} Thingiverse: | ||
{{!}} [https://www.thingiverse.com/{{{thingiverse}}}/ {{{thingiverse}}}] | {{!}} [https://www.thingiverse.com/{{{thingiverse}}}/ {{{thingiverse}}}] | ||
|}} | |||
|- | |||
{{#if: {{{telegram|}}}| | |||
{{!}}- | |||
{{!}} Telegram: | |||
{{!}} {{{telegram}}} | |||
|}} | |}} | ||
|} | |} | ||
<noinclude> | |||
== Template Parameters == | |||
<templatedata> | |||
{ | |||
"params": { | |||
"image": { | |||
"label": "Your image", | |||
"description": "Feel free to add an image of yourself so that others can recognize you more easily", | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"real_name": { | |||
"label": "Name", | |||
"description": "The name you would like others to use when approaching you", | |||
"example": "Jane", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"pronouns": { | |||
"label": "Pronouns", | |||
"description": "The pronouns you would like others to use when approaching you", | |||
"example": "they/them", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"expertise": { | |||
"label": "Your expertise", | |||
"description": "Is there anything you are particularly good at? Just name it!", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"interests": { | |||
"label": "Your interests", | |||
"description": "Is there anything you are interested in / want to learn? Just name it!", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"projects": { | |||
"label": "Your Projects", | |||
"description": "Here you can link any project you have done. Whether it was at the CoMakingSpace or somewhere else, let us know!", | |||
"type": "string" | |||
}, | |||
"email": { | |||
"label": "E-Mail", | |||
"description": "If you like, you can indicate your e-mail adress to others here.", | |||
"type": "string" | |||
}, | |||
"website": { | |||
"label": "Website", | |||
"description": "If you like, you can indicate your website to others here.", | |||
"type": "string" | |||
}, | |||
"instagram": { | |||
"label": "Instagram", | |||
"description": "If you like, you can indicate your instagram handle to others here.", | |||
"type": "string" | |||
}, | |||
"twitter": { | |||
"label": "Twitter", | |||
"description": "If you like, you can indicate your twitter handle to others here.", | |||
"type": "string" | |||
}, | |||
"github": { | |||
"label": "GitHub", | |||
"description": "If you like, you can indicate your GitHub name to others here.", | |||
"type": "string" | |||
}, | |||
"printables": { | |||
"label": "Printables", | |||
"description": "If you like, you can indicate your Printables nick to others here.", | |||
"type": "string" | |||
}, | |||
"thingiverse": { | |||
"label": "Thingiverse", | |||
"description": "If you like, you can indicate your thingiverse nick to others here.", | |||
"type": "string" | |||
}, | |||
"telegram": { | |||
"label": "Telegram", | |||
"description": "If you like, you can indicate your telegram handle to others here.", | |||
"type": "string" | |||
} | |||
}, | |||
"description": "Adds an InfoBox to display user information in an organized way. It may remind you of the printouts on our Members Wall - if not, you should probably head over there and print one for yourself ;-)", | |||
"paramOrder": [ | |||
"real_name", | |||
"pronouns", | |||
"image", | |||
"expertise", | |||
"interests", | |||
"projects", | |||
"email", | |||
"website", | |||
"instagram", | |||
"twitter", | |||
"github", | |||
"printables", | |||
"thingiverse", | |||
"telegram" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> |
Latest revision as of 08:35, 28 August 2023
UserInfoBox Quick Info | |
---|---|
Name: | Maker |
Pronouns: | any/any |
Interests: | everything |
Website: | www.comakingspace.org |
Instagram: | comakingspace |
Twitter: | comakingspace |
GitHub: | comakingspace |
Telegram: | Telegram Group |
The idea of this InfoBox is to display user information in an organized way. It may remind you of the printouts on our Members Wall - if not, you should probably head over there and print one for yourself ;-)
Feel free to add some information about yourself and just leave out any entry you don't want to show.
Documentation
To use this template, simply copy this code into your page, add the values, or delete lines you don't want to fill out.
Some lines are "smart", i.e. you only have to enter your Twitter username and a link is created automatically. As always, make good use of the "Show preview" function to make sure it works as you expected.
{{UserInfoBox |real_name= |pronouns= |image= |expertise= |interests= |projects= |email= |website= |instagram= |twitter= |github= |printables= |thingiverse= |telegram= }}
UserInfoBox Quick Info |
---|
Template Parameters
Adds an InfoBox to display user information in an organized way. It may remind you of the printouts on our Members Wall - if not, you should probably head over there and print one for yourself ;-)
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | real_name | The name you would like others to use when approaching you
| String | required |
Pronouns | pronouns | The pronouns you would like others to use when approaching you
| String | suggested |
Your image | image | Feel free to add an image of yourself so that others can recognize you more easily | File | suggested |
Your expertise | expertise | Is there anything you are particularly good at? Just name it! | String | suggested |
Your interests | interests | Is there anything you are interested in / want to learn? Just name it! | String | suggested |
Your Projects | projects | Here you can link any project you have done. Whether it was at the CoMakingSpace or somewhere else, let us know! | String | optional |
email | If you like, you can indicate your e-mail adress to others here. | String | optional | |
Website | website | If you like, you can indicate your website to others here. | String | optional |
instagram | If you like, you can indicate your instagram handle to others here. | String | optional | |
twitter | If you like, you can indicate your twitter handle to others here. | String | optional | |
GitHub | github | If you like, you can indicate your GitHub name to others here. | String | optional |
Printables | printables | If you like, you can indicate your Printables nick to others here. | String | optional |
Thingiverse | thingiverse | If you like, you can indicate your thingiverse nick to others here. | String | optional |
Telegram | telegram | If you like, you can indicate your telegram handle to others here. | String | optional |