Difference between revisions of "Template:Status effect"

no edit summary
Line 79: Line 79:
|#default = [[Template:Status effect|{{{1}}}]]
|#default = [[Template:Status effect|{{{1}}}]]
}}
}}
}}{{#if: {{NAMESPACE}} | <!-- don't create association --> | {{#vardefine:effect jp-name|
{{#switch:{{{1|}}}
| CT | CT | クリティカル = CT
| CT+ | CT+ | CT+ | クリティカル+ | クリティカル+ = CT+
| CT++ | CT++ | CT++ | クリティカル++ | クリティカル++ = CT++
| #default = {{{1|}}}
}}}}{{#vardefine:status subobj|
{{#ask:
  [[Has game context::Status]]
  [[Has Japanese name::{{#var:effect jp-name|}}]]
  |link=none
  |limit=1
  |headers=hide
  |searchlabel=
}}
}}{{#if:{{#var:status subobj|}}|[[Category:Skill that uses {{#show:{{#var:status subobj}}|?Has English name}}]]}}
}}{{#vardefine:effect description|
}}{{#vardefine:effect description|
{{#switch:{{{1|}}}
{{#switch:{{{1|}}}
Line 180: Line 164:
| alt
| alt
|#default = <abbr title="{{#var:effect description}}">{{#var:effect name}}</abbr>
|#default = <abbr title="{{#var:effect description}}">{{#var:effect name}}</abbr>
}}{{#if: {{NAMESPACE}} | <!-- don't create association --> | {{#vardefine:effect jp-name|
{{#switch:{{{1|}}}
| CT | CT | クリティカル = CT
| CT+ | CT+ | CT+ | クリティカル+ | クリティカル+ = CT+
| CT++ | CT++ | CT++ | クリティカル++ | クリティカル++ = CT++
| #default = {{{1|}}}
}}}}{{#vardefine:status subobj|
{{#ask:
  [[Has game context::Status]]
  [[Has Japanese name::{{#var:effect jp-name|}}]]
  |link=none
  |limit=1
  |headers=hide
  |searchlabel=
}}
}}{{#if:{{#var:status subobj|}}| {{#vardefine:status registered en name|{{#show:{{#var:status subobj}}|?Has English name}}}} {{#ifexist:Category:Skill that uses {{#var:status registered en name}}||[[Category:Needs attention (non-existant status category page)]]}}[[Category:Skill that uses {{#var:status registered en name}}]]}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
== Description ==
== Description ==