Template:UserInfobox: Difference between revisions

No edit summary
No edit summary
 
(12 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|}}} | {{ JADSotype | {{{jadsotype}}} }} }}
   | data4 = {{ #if: {{{jadsotype|}}} | {{ JADSotype | {{{jadsotype}}} | no_title=true }} }}
   | header5 = Related
   | header5 = Related
   | label6 = On Joepedia
   | label6 = On Joepedia
Line 24: Line 24:
   | label9 = [[JASB]]
   | label9 = [[JASB]]
   | data9 = {{ #if: {{{jasb|}}} | {{ hlist | [https://bets.jads.stream/user/@{{{jasb}}} Bets] | [https://bets.jads.stream/user/@{{{jasb}}}/cards Card Collection] }} }}
   | data9 = {{ #if: {{{jasb|}}} | {{ hlist | [https://bets.jads.stream/user/@{{{jasb}}} Bets] | [https://bets.jads.stream/user/@{{{jasb}}}/cards Card Collection] }} }}
}}</includeonly><noinclude>
}}{{#set:
| Display Name={{{name|}}}
| Username={{{name|}}}
| Has Avatar={{{avatar|}}}
}}[[Category:People]]</includeonly><noinclude>
<templatedata>
<templatedata>
{
{
Line 53: 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 102: Line 106:
"label": "JADSEYA Personalised Results",
"label": "JADSEYA Personalised Results",
"description": "A list of links to the user's personalised results for years of JADSEYA awards.",
"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"
"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",