Template:JADSotype: Difference between revisions

No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="display: inline-flex; align-items: center; gap: 0.5em; border: 1px solid #000; border-radius: 0.75em;"><div>[[JADSotype]]:</div><div style="background-color: #faa; padding: 0.25em; font-size: 1.5em; border-radius: 0.75em;">{{{1|{{#switch: {{#sub:{{{anime}}}|0|1}}
<includeonly><div style="display: inline-flex; align-items: center; gap: 0.5em; border: 1px solid #000; border-radius: 0.75em;">{{#if:{{{no_title|}}}||<div>[[JADSotype]]:</div>}}<div style="background-color: #faa; padding: 0.25em; font-size: 1.5em; border-radius: 0.75em;">{{{1}}}</div></div>{{ #set: Has JADSotype={{{1}}} }}</includeonly><noinclude>
  |w=🇯🇵
* Example: <code><nowiki>{{JADSotype|🇯🇵 🤡 😡 🦇}}</nowiki></code>
  |d=🙅
* Result: {{JADSotype|🇯🇵 🤡 😡 🦇}}
  |🇯🇵=🇯🇵
<templatedata>
  |🙅=🙅
{
}} {{#switch: {{#sub:{{{gamer}}}|0|1}}
"params": {
  |r=🤡
"1": {
  |g=⚙️
"label": "Result",
  |🤡=🤡
"description": "The result for the user as emoji separated by spaces.",
  |⚙️=⚙️
"type": "string",
}} {{#switch: {{#sub:{{{topics}}}|0|1}}
"suggestedvalues": [
  |p=😡
"🇯🇵 🤡 😡 🦇",
  |h=🍆
"🇯🇵 🤡 😡 🔪",
  |😡=😡
"🇯🇵 🤡 🍆 🦇",
  |🍆=🍆
"🇯🇵 🤡 🍆 🔪",
}} {{#switch: {{#sub:{{{debate}}}|0|1}}
"🇯🇵 ⚙️ 😡 🦇",
  |b=🦇
"🇯🇵 ⚙️ 😡 🔪",
  |k=🔪
"🇯🇵 ⚙️ 🍆 🦇",
  |🦇=🦇
"🇯🇵 ⚙️ 🍆 🔪",
  |🔪=🔪
"🙅 🤡 😡 🦇",
}}}}}</div></div>[[Category: Has JADSotype]][[Category: {{{1|{{#switch: {{#sub:{{{anime}}}|0|1}}
"🙅 🤡 😡 🔪",
  |w=🇯🇵
"🙅 🤡 🍆 🦇",
  |d=🙅
"🙅 🤡 🍆 🔪",
  |🇯🇵=🇯🇵
"🙅 ⚙️ 😡 🦇",
  |🙅=🙅
"🙅 ⚙️ 😡 🔪",
}} {{#switch: {{#sub:{{{gamer}}}|0|1}}
"🙅 ⚙️ 🍆 🦇",
  |r=🤡
"🙅 ⚙️ 🍆 🔪"
  |g=⚙️
],
  |🤡=🤡
"required": true
  |⚙️=⚙️
},
}} {{#switch: {{#sub:{{{topics}}}|0|1}}
"no_title": {
  |p=😡
"label": "No Title",
  |h=🍆
"description": "If set, won't display the \"JADSotype\" title before the value.",
  |😡=😡
"type": "boolean",
  |🍆=🍆
"default": "false"
}} {{#switch: {{#sub:{{{debate}}}|0|1}}
}
  |b=🦇
},
  |k=🔪
"description": "The result of the JADSotype test for a user."
  |🦇=🦇
}
  |🔪=🔪
</templatedata></noinclude>
}}}}} JADSotype]]</includeonly>
<noinclude>
* Example: <code><nowiki>{{Jadsotype|anime=weeb|gamer=redditor|topics=political|debate=bat}}</nowiki></code>
* Result: {{Jadsotype|anime=weeb|gamer=redditor|topics=political|debate=bat}}
* Example: <code><nowiki>{{Jadsotype|anime=d|gamer=g|topics=h|debate=k}}</nowiki></code>
* Result: {{Jadsotype|anime=d|gamer=g|topics=h|debate=k}}
* Example: <code><nowiki>{{Jadsotype|🇯🇵🤡😡🦇}}</nowiki></code>
* Result: {{Jadsotype|🇯🇵 🤡 😡 🦇}}
</noinclude>