Difference between revisions of "Template:StatTable"

From A3! Wiki
(Created page with "<includeonly>{| {{#if: {{{attribute|}}} |class="wikitable a3table {{#switch: {{{attribute|}}} | Comedy=co | Action=ac | Serious=sr}}table stattable" style="text-align:center;w...")
 
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{| {{#if: {{{attribute|}}} |class="wikitable a3table {{#switch: {{{attribute|}}} | Comedy=co | Action=ac | Serious=sr}}table stattable" style="text-align:center;width:30em;" }}
+
<includeonly>{| {{#if: {{{attribute|}}} |class="table {{#switch: {{{attribute|}}} | Comedy=co | Action=ac | Serious=sr}}table stattable" style="text-align:center;width:30em;" }}
 
! Lv.
 
! Lv.
 
![[File:Comedy.png|20px]] '''Co'''
 
![[File:Comedy.png|20px]] '''Co'''
Line 10: Line 10:
 
| {{#ifeq: {{{attribute|}}} | Serious | {{{att1|}}} | {{#ifeq: {{{secondaryatt||}}} | Serious | {{{att2}}} | {{{att3}}} }} }}
 
| {{#ifeq: {{{attribute|}}} | Serious | {{{att1|}}} | {{#ifeq: {{{secondaryatt||}}} | Serious | {{{att2}}} | {{{att3}}} }} }}
 
|-
 
|-
!{{#if: {{{rarity|}}} | {{#switch: {{{rarity}}} | N = 20 | R = 40 | SR = 60 | SSR = 80}} }}
+
{{#if: {{{rarity|}}} | {{#switch: {{{rarity}}} | N++ | R++ | SR++ | SSR++ = | N | R | SR | SSR =
{{#ifeq: {{{attribute|}}} | Comedy | {{#expr: {{{att1}}}+({{{inc1}}}*({{#switch: {{{rarity}}} | N = 20 | R = 40 | SR = 60 | SSR = 80}}-1)) }} | {{#ifeq: {{{secondaryatt||}}} | Comedy | {{#expr: {{{att2}}}+({{{inc2}}}*({{#switch: {{{rarity}}} | N = 20 | R = 40 | SR = 60 | SSR = 80}}-1)) }} | {{#expr: {{{att3}}}+({{{inc3}}}*({{#switch: {{{rarity}}} | N = 20 | R = 40 | SR = 60 | SSR = 80}}-1)) }} }} }}
+
!{{#if: {{{rarity|}}} | {{#switch: {{{rarity}}} | N = 20 | R = 40 | SR = 60 | SSR = 80}} }}  
 +
{{!}} {{#ifeq: {{{attribute|}}} | Comedy | {{#expr: {{{att1}}}+({{{inc1}}}*({{#switch: {{{rarity}}} | N = 20 | R = 40 | SR = 60 | SSR = 80}}-1)) }} | {{#ifeq: {{{secondaryatt||}}} | Comedy | {{#expr: {{{att2}}}+({{{inc2}}}*({{#switch: {{{rarity}}} | N = 20 | R = 40 | SR = 60 | SSR = 80}}-1)) }} | {{#expr: {{{att3}}}+({{{inc3}}}*({{#switch: {{{rarity}}} | N = 20 | R = 40 | SR = 60 | SSR = 80}}-1)) }} }} }}
 +
{{!}} {{#ifeq: {{{attribute|}}} | Action | {{#expr: {{{att1}}}+({{{inc1}}}*({{#switch: {{{rarity}}} | N = 20 | R = 40 | SR = 60 | SSR = 80}}-1)) }} | {{#ifeq: {{{secondaryatt||}}} | Action | {{#expr: {{{att2}}}+({{{inc2}}}*({{#switch: {{{rarity}}} | N = 20 | R = 40 | SR = 60 | SSR = 80}}-1)) }} | {{#expr: {{{att3}}}+({{{inc3}}}*({{#switch: {{{rarity}}} | N = 20 | R = 40 | SR = 60 | SSR = 80}}-1)) }} }} }}
 +
{{!}} {{#ifeq: {{{attribute|}}} | Serious | {{#expr: {{{att1}}}+({{{inc1}}}*({{#switch: {{{rarity}}} | N = 20 | R = 40 | SR = 60 | SSR = 80}}-1)) }} | {{#ifeq: {{{secondaryatt||}}} | Serious | {{#expr: {{{att2}}}+({{{inc2}}}*({{#switch: {{{rarity}}} | N = 20 | R = 40 | SR = 60 | SSR = 80}}-1)) }} | {{#expr: {{{att3}}}+({{{inc3}}}*({{#switch: {{{rarity}}} | N = 20 | R = 40 | SR = 60 | SSR = 80}}-1)) }} }} }}
 +
{{!}}-
 +
!+
 +
{{!}} {{#ifeq: {{{attribute|}}} | Comedy | {{#expr: {{{att1}}}+({{{inc1}}}*({{#switch: {{{rarity}}} | N = 30 | R = 50 | SR = 70 | SSR = 90}}-1)) }} | {{#ifeq: {{{secondaryatt||}}} | Comedy | {{#expr: {{{att2}}}+({{{inc2}}}*({{#switch: {{{rarity}}} | N = 30 | R = 50 | SR = 70 | SSR = 90}}-1)) }} | {{#expr: {{{att3}}}+({{{inc3}}}*({{#switch: {{{rarity}}} | N = 30 | R = 50 | SR = 70 | SSR = 90}}-1)) }} }} }}
 +
{{!}} {{#ifeq: {{{attribute|}}} | Action | {{#expr: {{{att1}}}+({{{inc1}}}*({{#switch: {{{rarity}}} | N = 30 | R = 50 | SR = 70 | SSR = 90}}-1)) }} | {{#ifeq: {{{secondaryatt||}}} | Action | {{#expr: {{{att2}}}+({{{inc2}}}*({{#switch: {{{rarity}}} | N = 30 | R = 50 | SR = 70 | SSR = 90}}-1)) }} | {{#expr: {{{att3}}}+({{{inc3}}}*({{#switch: {{{rarity}}} | N = 30 | R = 50 | SR = 70 | SSR = 90}}-1)) }} }} }}
 +
{{!}} {{#ifeq: {{{attribute|}}} | Serious | {{#expr: {{{att1}}}+({{{inc1}}}*({{#switch: {{{rarity}}} | N = 30 | R = 50 | SR = 70 | SSR = 90}}-1)) }} | {{#ifeq: {{{secondaryatt||}}} | Serious | {{#expr: {{{att2}}}+({{{inc2}}}*({{#switch: {{{rarity}}} | N = 30 | R = 50 | SR = 70 | SSR = 90}}-1)) }} | {{#expr: {{{att3}}}+({{{inc3}}}*({{#switch: {{{rarity}}} | N = 30 | R = 50 | SR = 70 | SSR = 90}}-1)) }} }} }}
 +
{{!}}- }} | }}
 +
!++
 +
|  {{#ifeq: {{{attribute|}}} | Comedy | {{#expr: {{{att1}}}+({{{inc1}}}*({{#switch: {{{rarity}}} | N | N++ = 40 | R | R++ = 60 | SR | SR++ = 80 | SSR | SSR++ = 100}}-1)) }} | {{#ifeq: {{{secondaryatt||}}} | Comedy | {{#expr: {{{att2}}}+({{{inc2}}}*({{#switch: {{{rarity}}} | N | N++ = 40 | R | R++ = 60 | SR | SR++ = 80 | SSR | SSR++ = 100}}-1)) }} | {{#expr: {{{att3}}}+({{{inc3}}}*({{#switch: {{{rarity}}} | N | N++ = 40 | R | R++ = 60 | SR | SR++ = 80 | SSR | SSR++ = 100}}-1)) }} }} }}
 +
|  {{#ifeq: {{{attribute|}}} | Action | {{#expr: {{{att1}}}+({{{inc1}}}*({{#switch: {{{rarity}}} | N | N++ = 40 | R | R++ = 60 | SR | SR++ = 80 | SSR | SSR++ = 100}}-1)) }} | {{#ifeq: {{{secondaryatt||}}} | Action | {{#expr: {{{att2}}}+({{{inc2}}}*({{#switch: {{{rarity}}} | N | N++ = 40 | R | R++ = 60 | SR | SR++ = 80 | SSR | SSR++ = 100}}-1)) }} | {{#expr: {{{att3}}}+({{{inc3}}}*({{#switch: {{{rarity}}} | N | N++ = 40 | R | R++ = 60 | SR | SR++ = 80 | SSR | SSR++ = 100}}-1)) }} }} }}
 +
|  {{#ifeq: {{{attribute|}}} | Serious | {{#expr: {{{att1}}}+({{{inc1}}}*({{#switch: {{{rarity}}} | N | N++ = 40 | R | R++ = 60 | SR | SR++ = 80 | SSR | SSR++ = 100}}-1)) }} | {{#ifeq: {{{secondaryatt||}}} | Serious | {{#expr: {{{att2}}}+({{{inc2}}}*({{#switch: {{{rarity}}} | N | N++ = 40 | R | R++ = 60 | SR | SR++ = 80 | SSR | SSR++ = 100}}-1)) }} | {{#expr: {{{att3}}}+({{{inc3}}}*({{#switch: {{{rarity}}} | N | N++ = 40 | R | R++ = 60 | SR | SR++ = 80 | SSR | SSR++ = 100}}-1)) }} }} }}
 +
|-
 +
!🔥🔥🔥
 +
|  {{#ifeq: {{{attribute|}}} | Comedy | {{#expr: {{{att1}}}+{{#switch: {{{rarity}}} | N | N++ 300 | R | R++ = 600 | SR | SR++ = 900 | SSR | SSR++ = 1200}}+({{{inc1}}}*({{#switch: {{{rarity}}} | N | N++ = 40 | R | R++ = 60 | SR | SR++ = 80 | SSR | SSR++ = 100}}-1)) }} | {{#ifeq: {{{secondaryatt||}}} | Comedy | {{#expr: {{{att2}}}+{{#switch: {{{rarity}}} | N | N++ 300 | R | R++ = 600 | SR | SR++ = 900 | SSR | SSR++ = 1200}}+({{{inc2}}}*({{#switch: {{{rarity}}} | N | N++ = 40 | R | R++ = 60 | SR | SR++ = 80 | SSR | SSR++ = 100}}-1)) }} | {{#expr: {{{att3}}}+{{#switch: {{{rarity}}} | N | N++ 300 | R | R++ = 600 | SR | SR++ = 900 | SSR | SSR++ = 1200}}+({{{inc3}}}*({{#switch: {{{rarity}}} | N | N++ = 40 | R | R++ = 60 | SR | SR++ = 80 | SSR | SSR++ = 100}}-1)) }} }} }}
 +
|  {{#ifeq: {{{attribute|}}} | Action | {{#expr: {{{att1}}}+{{#switch: {{{rarity}}} | N | N++ 300 | R | R++ = 600 | SR | SR++ = 900 | SSR | SSR++ = 1200}}+({{{inc1}}}*({{#switch: {{{rarity}}} | N | N++ = 40 | R | R++ = 60 | SR | SR++ = 80 | SSR | SSR++ = 100}}-1)) }} | {{#ifeq: {{{secondaryatt||}}} | Action | {{#expr: {{{att2}}}+{{#switch: {{{rarity}}} | N | N++ 300 | R | R++ = 600 | SR | SR++ = 900 | SSR | SSR++ = 1200}}+({{{inc2}}}*({{#switch: {{{rarity}}} | N | N++ = 40 | R | R++ = 60 | SR | SR++ = 80 | SSR | SSR++ = 100}}-1)) }} | {{#expr: {{{att3}}}+{{#switch: {{{rarity}}} | N | N++ 300 | R | R++ = 600 | SR | SR++ = 900 | SSR | SSR++ = 1200}}+({{{inc3}}}*({{#switch: {{{rarity}}} | N | N++ = 40 | R | R++ = 60 | SR | SR++ = 80 | SSR | SSR++ = 100}}-1)) }} }} }}
 +
|  {{#ifeq: {{{attribute|}}} | Serious | {{#expr: {{{att1}}}+{{#switch: {{{rarity}}} | N | N++ 300 | R | R++ = 600 | SR | SR++ = 900 | SSR | SSR++ = 1200}}+({{{inc1}}}*({{#switch: {{{rarity}}} | N | N++ = 40 | R | R++ = 60 | SR | SR++ = 80 | SSR | SSR++ = 100}}-1)) }} | {{#ifeq: {{{secondaryatt||}}} | Serious | {{#expr: {{{att2}}}+{{#switch: {{{rarity}}} | N | N++ 300 | R | R++ = 600 | SR | SR++ = 900 | SSR | SSR++ = 1200}}+({{{inc2}}}*({{#switch: {{{rarity}}} | N | N++ = 40 | R | R++ = 60 | SR | SR++ = 80 | SSR | SSR++ = 100}}-1)) }} | {{#expr: {{{att3}}}+{{#switch: {{{rarity}}} | N | N++ 300 | R | R++ = 600 | SR | SR++ = 900 | SSR | SSR++ = 1200}}+({{{inc3}}}*({{#switch: {{{rarity}}} | N | N++ = 40 | R | R++ = 60 | SR | SR++ = 80 | SSR | SSR++ = 100}}-1)) }} }} }}
 
|-
 
|-
 
|}</includeonly>
 
|}</includeonly>
 
<noinclude>
 
<noinclude>
initial stat table
+
{{StatTable
 +
|attribute=Comedy
 +
|secondaryatt=Action
 +
|rarity=SR
 +
|att1=3
 +
|att2=2
 +
|att3=1
 +
|inc1=10
 +
|inc2=10
 +
|inc3=10
 +
}}
 +
 
 +
{{StatTable
 +
|attribute=Action
 +
|secondaryatt=Serious
 +
|rarity=SR++
 +
|att1=3
 +
|att2=2
 +
|att3=1
 +
|inc1=10
 +
|inc2=10
 +
|inc3=10
 +
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 22:17, 3 January 2020


Lv. Comedy.png Co Action.png Ac Serious.png Sr
1 3 2 1
60 593 592 591
+ 693 692 691
++ 793 792 791
🔥🔥🔥 1693 1692 1691


Lv. Comedy.png Co Action.png Ac Serious.png Sr
1 1 3 2
++ 791 793 792
🔥🔥🔥 1691 1693 1692