Difference between revisions of "Template:Sidebar Player"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 10: | Line 10: | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "pronouns": { | ||
+ | "label": "Pronouns", | ||
+ | "description": "Preferred pronouns", | ||
+ | "example": "he/him, she/her, they/them, ze/zir", | ||
+ | "type": "string", | ||
+ | "required": false, | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
Line 40: | Line 48: | ||
<pre>{{Sidebar_Player | <pre>{{Sidebar_Player | ||
|name=Tommy Two Names | |name=Tommy Two Names | ||
+ | |pronouns=he/him | ||
|image=BillyBrujah.jpg | |image=BillyBrujah.jpg | ||
|chapter=Philadelphia, PA | |chapter=Philadelphia, PA | ||
Line 47: | Line 56: | ||
{{Sidebar_Player | {{Sidebar_Player | ||
|name=Tommy Two Names | |name=Tommy Two Names | ||
+ | |pronouns=he/him | ||
|image=BillyBrujah.jpg | |image=BillyBrujah.jpg | ||
|chapter=Philadelphia, PA | |chapter=Philadelphia, PA | ||
Line 59: | Line 69: | ||
|image={{{image|}}} | |image={{{image|}}} | ||
|box_header=WPI Player | |box_header=WPI Player | ||
+ | |label1=Pronouns | ||
+ | |data1={{#if: {{{pronouns|}}} | {{{pronouns|}}}|}} | ||
|label3=Chapter | |label3=Chapter | ||
|data3={{#if: {{{chapter|}}} | [[:Category:{{{chapter}}}|{{{chapter}}}]]|}} | |data3={{#if: {{{chapter|}}} | [[:Category:{{{chapter}}}|{{{chapter}}}]]|}} | ||
Line 64: | Line 76: | ||
|data4={{#if: {{{email|}}}|{{{email}}}|}} | |data4={{#if: {{{email|}}}|{{{email}}}|}} | ||
}} | }} | ||
− | {{#ifeq:{{NAMESPACE}}|Template|| | + | {{#ifeq:{{NAMESPACE}}|Template||[[Category:{{{chapter}}}]]}} |
− | [[Category:{{{chapter}}}]] | ||
</includeonly> | </includeonly> |
Latest revision as of 13:57, 22 July 2019
To create this box, add this code to your page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Your name
| String | required |
Pronouns | pronouns | Preferred pronouns
| String | suggested |
Image | image | Filename of an uploaded profile image
| String | optional |
Chapter | chapter | WPI Chapter
| String | suggested |
email | Player Email
| String | suggested |
{{Sidebar_Player |name=Tommy Two Names |pronouns=he/him |image=BillyBrujah.jpg |chapter=Philadelphia, PA |email=[mailto:youremail@email.com youremail@email.com] }}
Tommy Two Names | |
WPI Player | |
Pronouns: | he/him |
---|---|
Chapter: | Philadelphia, PA |
Email: | youremail@email.com |