Template:UserInfobox: Difference between revisions
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 | | 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|}}} | {{ | | 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: {{{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": " | "type": "content", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
"he/him", | "he/him", | ||
Line 92: | Line 98: | ||
] | ] | ||
}, | }, | ||
" | "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" | ||
], | ], | ||
"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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The primary name the user wishes to be known as. | String | required |
Avatar | avatar | The user's avatar. | File | suggested |
Avatar Artist | avatar_artist | If the avatar should be attributed to someone, who the artist is. | String | optional |
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. | Content | optional |
Pronouns | pronouns | 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.
| Content | suggested |
Also Known As | aka | A list of any alternative names the user wants to be called by. | Content | optional |
JADSEYA Awards | jadseya_awards | A list of JADSEYA awards this user (or a work they made) has won. | Content | optional |
Links | links | A list of links to this user on the internet, e.g: social media, personal websites. | Content | optional |
JADSEYA Personalised Results | jadseya_results | A list of links to the user's personalised results for years of JADSEYA awards. | Content | optional |
JADSotype Result | jadsotype | The user's JADSotype emoji.
| String | optional |
JASB User | jasb | The user's username on JASB (also their discord username), to display a link to their card collection and bets. | String | optional |