Jump to content

Template:Infobox person: Difference between revisions

-lime.owotwiki (talk | contribs)
Updated privacy warnings in template data.
-lime.owotwiki (talk | contribs)
fixed "accounts" field
 
(5 intermediate revisions by 3 users not shown)
Line 3: Line 3:
  | bodystyle  = {{#if:{{{background_color|}}}|background-color: {{{background_color}}};|{{#if:{{{backgroundColor|}}}|background-color: {{{backgroundColor}}};|}}}}
  | bodystyle  = {{#if:{{{background_color|}}}|background-color: {{{background_color}}};|{{#if:{{{backgroundColor|}}}|background-color: {{{backgroundColor}}};|}}}}
  | abovestyle = {{#if:{{{color|}}}|background-color: {{{color}}}; color: {{#if:{{{text_color|}}}|{{{text_color}}}|{{#if:{{{textColor|}}}|{{{textColor}}}|{{Greater color contrast ratio|{{{color}}}}}}}}};|{{#if:{{{text_color|}}}|color: {{{text_color}}}|{{#if:{{{textColor|}}}|color: {{{textColor}}};|}}}}}}
  | abovestyle = {{#if:{{{color|}}}|background-color: {{{color}}}; color: {{#if:{{{text_color|}}}|{{{text_color}}}|{{#if:{{{textColor|}}}|{{{textColor}}}|{{Greater color contrast ratio|{{{color}}}}}}}}};|{{#if:{{{text_color|}}}|color: {{{text_color}}}|{{#if:{{{textColor|}}}|color: {{{textColor}}};|}}}}}}
  | headerstyle = {{#if:{{{color|}}}|background-color: {{{color}}}; color: {{#if:{{{text_color|}}}|{{{text_color}}}|{{#if:{{{textColor|}}}|{{{textColor}}}|{{Greater color contrast ratio|{{{color}}}}}}}}};|{{#if:{{{text_color|}}}|color: {{{text_color}}}|{{#if:{{{textColor|}}}|color: {{{textColor}}};|}}}}}}
  | headerstyle = {{#if:{{{color|}}}|background-color: {{{color}}}; color: {{#if:{{{text_color|}}}|{{{text_color}}}|{{#if:{{{textColor|}}}|{{{textColor}}}|{{Greater color contrast ratio|{{{color}}}}}}}}};|{{#if:{{{text_color|}}}|color: {{{text_color}}}|{{#if:{{{textColor|}}}|color: {{{textColor}}};|}}}}}}{{#if:{{{text_color|}}}{{{textColor|}}}{{{color}}}|[[Category:Pages using Infobox person with custom colors]]}}
  | autoheaders = y
  | autoheaders = y


Line 12: Line 12:
  | data2      = {{{joined|}}}
  | data2      = {{{joined|}}}


  | label5   = Origin
  | label5     = Origin
  | data5     = {{{origin|}}}
  | data5       = {{{origin|}}}
 
| label9      = Active Uvias accounts
| data9      = {{#if:{{{accounts|}}}|{{{accounts|}}}|{{#if:{{{account|}}}|{{{account|}}}|{{#if:{{{usernames|}}}|{{{usernames|}}}|{{{username|}}}}}}}}}


  | label10    = Aliases
  | label10    = Aliases
Line 63: Line 66:
  | label160    = Webpage
  | label160    = Webpage
  | data160    = {{{webpage|}}}
  | data160    = {{{webpage|}}}
| label161    = TikTok
| data161    = {{{tiktok|}}}
| label162    = Discord
| data162    = {{{discord|}}}
| label163    = YouTube
| data163    = {{{youtube|}}}
| label164    = Instagram
| data164    = {{{instagram|}}}
| label165    = Twitter/X
| data165    = {{{twitter|}}}


  | label170    = Others
  | label170    = Others
Line 333: Line 351:
],
],
"label": "Discord roles",
"label": "Discord roles",
"description": "Roles on the Discord server, excluding color roles.",
"description": "Roles on the Discord server, excluding color roles, opt-in pings, User, silly.",
"suggestedvalues": [
"suggestedvalues": [
"Admin",
"Admin",
Line 341: Line 359:
"Artist",
"Artist",
"dunce",
"dunce",
"Nancy Boy"
"Nancy Boy",
"Cat Enthusiast"
],
],
"type": "string"
"type": "string"
Line 381: Line 400:
"joined": {
"joined": {
"label": "Joined",
"label": "Joined",
"type": "string"
},
"accounts": {
"label": "Active Uvias accounts",
"description": "Use display username. Do not fill in if equal (case-insensitive) to title.",
"example": "lime.owot",
"aliases": [
"account",
"usernames",
"username"
],
"type": "string"
"type": "string"
}
}
Line 394: Line 424:
"image_caption",
"image_caption",
"joined",
"joined",
"origin",
"accounts",
"alias",
"alias",
"gender",
"gender",
Line 414: Line 446:
"residence",
"residence",
"nationality",
"nationality",
"origin",
"marital",
"marital",
"significant_other",
"significant_other",