Template:UserInfobox: Difference between revisions

No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 6: Line 6:
   | name = {{{name}}}
   | name = {{{name}}}
   | image = {{ #if: {{{avatar|}}} | [[{{{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 25: Line 25:
   | 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] }} }}
}}{{#set:  
}}{{#set:  
  {{ #if: {{{avatar|}}} | Has Avatar={{{avatar}}} }}  
| Display Name={{{name|}}}
}}</includeonly><noinclude>
| Username={{{name|}}}  
| Has Avatar={{{avatar|}}}
}}[[Category:People]]</includeonly><noinclude>
<templatedata>
<templatedata>
{
{
Line 55: 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 104: 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",