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=" | + | <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 = |
− | + | !{{#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> | ||
− | + | {{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> |