Difference between revisions of "Template:Transient stat table"

So happy this works
(So happy this works)
Line 1: Line 1:
<includeonly><onlyinclude>{{#ask:
<includeonly><onlyinclude>{{#if: <!--handling merge memes-->
{{#ifeq:{{{merge|}}}|start|{{#vardefine:merged table|start}} }}
{{#if:{{#var:merged table}}|{{#vardefine:merged table|{{#switch:{{{merge|}}}
  | start=start
  | finish=finish
  | #default=middle
}} }} }}
}}{{#ask:
   [[Has game context::Transient]]
   [[Has game context::Transient]]
   [[Has availability::Current]]
   [[Has availability::Current]]
Line 23: Line 30:
   |named args=yes
   |named args=yes
   |searchlabel=-
   |searchlabel=-
   |intro={{Transient stat table header}}
   |intro={{#switch:{{#var:merged table}}
   |outro=</table>
    |middle=
    |finish=
    |#default={{Transient stat table header}}
  }}
   |outro={{#switch:{{#var:merged table}}
    |start=
    |middle=
    |#default=</table>
  }}
   |template=Transient stat table result format
   |template=Transient stat table result format
   |userparam=weapon={{{weapon|}}}###atkMult={{{atk buff|}}}###defMult={{{def buff|}}}###csWeapon={{{cs weapon|}}}###csAtkMult={{{cs atk buff|}}}
   |userparam=weapon={{{weapon|}}}###atkMult={{{atk buff|}}}###defMult={{{def buff|}}}###csWeapon={{{cs weapon|}}}###csAtkMult={{{cs atk buff|}}}<!--add more params here-->
}}
}}{{#ifeq:{{#var:merged table}}|finish|{{#vardefine:merged table|}} }}
</includeonly></onlyinclude>
</includeonly></onlyinclude>
<noinclude>
<noinclude>
trusted
5,920

edits