Jump to content

Template:UserInfobox: Difference between revisions

From Joepedia
No edit summary
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 5: Line 5:
   | headerstyle = background-color: var(--background-color-backdrop-dark); color: var(--color-inverted);
   | headerstyle = background-color: var(--background-color-backdrop-dark); color: var(--color-inverted);
   | name = {{{name}}}
   | name = {{{name}}}
   | image = [[{{{avatar|}}}|frameless|center|200px]]
   | image = {{ #if: {{{avatar|}}} | [[{{{avatar}}}|frameless|center|200px]] }}
   | caption1 = {{ #if: {{{avatar_artist|}}} | <div style="text-align: right">{{ Attribution | {{{ avatar_artist }}} }}</div> }}
   | caption1 = {{ #if: {{{avatar_artist|}}} | <div style="text-align: right">{{ Attribution | {{{ avatar_artist }}} }}</div> }}{{ #if: {{{avatar_artist_external|}}} | <div style="text-align: right">{{{ avatar_artist_external }}}</div> }}
   | label1 = Pronouns
   | label1 = Pronouns
   | data1 = {{{pronouns|}}}
   | data1 = {{ #if: {{{pronouns|}}} | {{ Flatlist | {{{pronouns}}} }} }}
   | label2 = Also Known As
   | label2 = Also Known As
   | data2 = {{ #if: {{{aka|}}} | {{ Flatlist | {{{aka}}} }} }}
   | data2 = {{ #if: {{{aka|}}} | {{ Flatlist | {{{aka}}} }} }}
Line 14: Line 14:
   | data3 = {{ #if: {{{jadseya_awards|}}} | {{ Flatlist | {{{jadseya_awards}}} }} }}
   | data3 = {{ #if: {{{jadseya_awards|}}} | {{ Flatlist | {{{jadseya_awards}}} }} }}
   | label4 = [[JADSotype]]
   | label4 = [[JADSotype]]
   | data4 = {{ #if: {{{jadsotype|}}} | {{ JADSoype | {{{jadsotype}}} }} }}
   | data4 = {{ #if: {{{jadsotype|}}} | {{ JADSotype | {{{jadsotype}}} | no_title=true }} }}
   | header5 = Related
   | header5 = Related
   | label6 = On Joepedia
   | label6 = On Joepedia
Line 20: Line 20:
   | label7 = Links
   | label7 = Links
   | data7 = {{ #if: {{{links|}}} | {{ Flatlist | {{{links}}} }} }}
   | data7 = {{ #if: {{{links|}}} | {{ Flatlist | {{{links}}} }} }}
   | label8 = [[JASB]]
   | label8 = [[JADSEYA]] Personal Results
   | data8 = {{ #if: {{{jasb|}}} | {{ hlist | [https://bets.jads.stream/user/@{{{jasb}}} Bets] | [https://bets.jads.stream/user/@{{{jasb}}}/cards Card Collection] }} }}
  | data8 = {{ #if: {{{jadseya_results|}}} | {{ Flatlist | {{{jadseya_results}}} }} }}
}}</includeonly><noinclude>
  | label9 = [[JASB]]
   | data9 = {{ #if: {{{jasb|}}} | {{ hlist | [https://bets.jads.stream/user/@{{{jasb}}} Bets] | [https://bets.jads.stream/user/@{{{jasb}}}/cards Card Collection] }} }}
}}{{#set:
| Display Name={{{name|}}}
| Username={{{name|}}}
| Has Avatar={{{avatar|}}}
}}[[Category:People]]</includeonly><noinclude>
<templatedata>
<templatedata>
{
{
Line 51: Line 57:
"label": "Pronouns",
"label": "Pronouns",
"description": "The pronouns the user wishes to use. Note the suggested values are *not* restrictive—just common cases, and you can list multiple sets if you prefer.",
"description": "The pronouns the user wishes to use. Note the suggested values are *not* restrictive—just common cases, and you can list multiple sets if you prefer.",
"type": "string",
"type": "content",
"suggestedvalues": [
"suggestedvalues": [
"he/him",
"he/him",
Line 92: Line 98:
]
]
},
},
"jasb_cards": {
"jasb": {
"label": "JASB User",
"label": "JASB User",
"description": "The user's username on JASB (also their discord username), to display a link to their card collection and bets.",
"description": "The user's username on JASB (also their discord username), to display a link to their card collection and bets.",
"type": "string"
"type": "string"
},
"jadseya_results": {
"label": "JADSEYA Personalised Results",
"description": "A list of links to the user's personalised results for years of JADSEYA awards.",
"type": "content"
},
"avatar_artist_external": {
"label": "Avatar Artist (External)",
"description": "Used to credit an artist for a user's avatar who isn't in the Joesphere. Mutually exclusive with avatar artist.",
"type": "content"
}
}
},
},
"description": "An info box for pages about a user.",
"description": "An info box for pages about a user, note that while we say \"user\", it's really any people, not specifically users of the wiki or JADS users.",
"paramOrder": [
"paramOrder": [
"name",
"name",
"avatar",
"avatar",
"avatar_artist",
"avatar_artist",
"avatar_artist_external",
"pronouns",
"pronouns",
"aka",
"aka",
"jadseya_awards",
"jadseya_awards",
"links",
"links",
"jadseya_results",
"jadsotype",
"jadsotype",
"jasb_cards"
"jasb"
],
],
"format": "block"
"format": "block"

Latest revision as of 15:27, 3 March 2025

An info box for pages about a user, note that while we say "user", it's really any people, not specifically users of the wiki or JADS users.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

The primary name the user wishes to be known as.

Stringrequired
Avataravatar

The user's avatar.

Filesuggested
Avatar Artistavatar_artist

If the avatar should be attributed to someone, who the artist is.

Stringoptional
Avatar Artist (External)avatar_artist_external

Used to credit an artist for a user's avatar who isn't in the Joesphere. Mutually exclusive with avatar artist.

Contentoptional
Pronounspronouns

The pronouns the user wishes to use. Note the suggested values are *not* restrictive—just common cases, and you can list multiple sets if you prefer.

Suggested values
he/him she/her they/them
Contentsuggested
Also Known Asaka

A list of any alternative names the user wants to be called by.

Contentoptional
JADSEYA Awardsjadseya_awards

A list of JADSEYA awards this user (or a work they made) has won.

Contentoptional
Linkslinks

A list of links to this user on the internet, e.g: social media, personal websites.

Contentoptional
JADSEYA Personalised Resultsjadseya_results

A list of links to the user's personalised results for years of JADSEYA awards.

Contentoptional
JADSotype Resultjadsotype

The user's JADSotype emoji.

Suggested values
🇯🇵 🤡 😡 🦇 🇯🇵 🤡 😡 🔪 🇯🇵 🤡 🍆 🦇 🇯🇵 🤡 🍆 🔪 🇯🇵 ⚙️ 😡 🦇 🇯🇵 ⚙️ 😡 🔪 🇯🇵 ⚙️ 🍆 🦇 🇯🇵 ⚙️ 🍆 🔪 🙅 🤡 😡 🦇 🙅 🤡 😡 🔪 🙅 🤡 🍆 🦇 🙅 🤡 🍆 🔪 🙅 ⚙️ 😡 🦇 🙅 ⚙️ 😡 🔪 🙅 ⚙️ 🍆 🦇 🙅 ⚙️ 🍆 🔪
Stringoptional
JASB Userjasb

The user's username on JASB (also their discord username), to display a link to their card collection and bets.

Stringoptional