Difference between revisions of "Template:Sidebar Player"

From Winding Path Initiative Wiki
Jump to navigation Jump to search
 
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}}}]]|}}

Latest revision as of 14:57, 22 July 2019


To create this box, add this code to your page.

Template parameters

ParameterDescriptionTypeStatus
Namename

Your name

Example
Tommy Two Names
Stringrequired
Pronounspronouns

Preferred pronouns

Example
he/him, she/her, they/them, ze/zir
Stringsuggested
Imageimage

Filename of an uploaded profile image

Example
BillyBrujah.jpg
Stringoptional
Chapterchapter

WPI Chapter

Example
Philadelphia, PA
Stringsuggested
Emailemail

Player Email

Example
[mailto:youremail@email.com youremail@email.com]
Stringsuggested
{{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
BillyBrujah.jpg
Pronouns: he/him
Chapter: Philadelphia, PA
Email: youremail@email.com