User:FrozenPlum/Sandbox: Difference between revisions
imported>FrozenPlum m (Rest of cols) |
imported>FrozenPlum mNo edit summary |
||
Line 13: | Line 13: | ||
|tablerow=<!-- image -->[[File:%%.png|40px]], <!-- Effect -->²{#ifeq:²{#sub:%%¦0¦1}²¦+¦ %%}², <!-- Base -->²{#dplvar:set¦varbase¦%%}²%%, <!-- Star1 -->²{#expr:²{#dplvar:varbase}² * 2}², <!-- Star2 -->²{#expr:²{#dplvar:varbase}² * 3}², <!-- Star3 -->²{#expr:²{#dplvar:varbase}² * 4}², <!-- Star4 -->²{#expr:²{#dplvar:varbase}² * 5}²,<!-- reqtier-->²{#if: %%¦²{#expr: ceil(%% + 1) }²/²{#expr: ceil(%%*2^2 + 1) }²/²{#expr: ceil(%%*3^2 + 1) }²}²,<!-- dropchance -->²{#if:{{{dropchance|%%}}}¦²{chancedisplay¦%%}²}² | |tablerow=<!-- image -->[[File:%%.png|40px]], <!-- Effect -->²{#ifeq:²{#sub:%%¦0¦1}²¦+¦ %%}², <!-- Base -->²{#dplvar:set¦varbase¦%%}²%%, <!-- Star1 -->²{#expr:²{#dplvar:varbase}² * 2}², <!-- Star2 -->²{#expr:²{#dplvar:varbase}² * 3}², <!-- Star3 -->²{#expr:²{#dplvar:varbase}² * 4}², <!-- Star4 -->²{#expr:²{#dplvar:varbase}² * 5}²,<!-- reqtier-->²{#if: %%¦²{#expr: ceil(%% + 1) }²/²{#expr: ceil(%%*2^2 + 1) }²/²{#expr: ceil(%%*3^2 + 1) }²}²,<!-- dropchance -->²{#if:{{{dropchance|%%}}}¦²{chancedisplay¦%%}²}² | ||
}} | }} | ||
Revision as of 04:55, 24 March 2022
DPL3 Cards Table Test
Testing what a data table (with inline calcs) made via DPL3 might look like, though I haven't finished calculating and formatting the last columns. Also, count in this is limited to 15. Separate tables could only be done if infobox was set to auto-categorize based on |category=
param; then cateory could be easily set and DPL statements made for each separate category, where each table was needed. I also haven't messed with and enabled |multisecseparators
etc., yet, because, just goofing around.
The issue with |effect=
prameter value beginning with +
was making the table fail (because it created |+
which then looked like a table caption to DPL3. This was was fixed using {{#sub:}}
to detect when the first char is +
and put a space in front if it is. It would also be relatively easy (and probably better) to just use listseparators/secseparators to ensure there's a non-breaking space
inserted after a pipe. :)
Name | Img | Effect | Base | Required Tier | Drop Chance | Category | ||||
---|---|---|---|---|---|---|---|---|---|---|
Ghost (Event) Card | +% Monster EXP While Active | 3 | 6 | 9 | 12 | 15 | 3/9/19 | 1 in 20.0 | Event | |
Giftmas Blobulyte Card | +% Total Drop Rate | 3 | 6 | 9 | 12 | 15 | 3/7/15 | 1 in 1.00 | Event | |
Green Mushroom Card | + Base HP | 12 | 24 | 36 | 48 | 60 | 6/21/46 | 1 in 10,000 | Blunder Hills | |
Red Mushroom Card | + Base LUK | 3 | 6 | 9 | 12 | 15 | 11/41/91 | 1 in 10,000 | Blunder Hills | |
Frog Card | + Base MP | 10 | 20 | 30 | 40 | 50 | 7/25/55 | 1 in 143 | Blunder Hills | |
Bored Bean Card | + Base Damage | 7 | 14 | 21 | 28 | 35 | 8/29/64 | 1 in 10,300 | Blunder Hills | |
Slime Card | + Base WIS | 2 | 4 | 6 | 8 | 10 | 9/33/73 | 1 in 10,500 | Blunder Hills | |
Baby Boa Card | + Move Spd | 1 | 2 | 3 | 4 | 5 | 10/37/82 | 1 in 10,600 | Blunder Hills | |
Carrotman Card | + Base AGI | 2 | 4 | 6 | 8 | 10 | 11/41/91 | 1 in 11,100 | Blunder Hills | |
Glublin Card | +% Total HP | 2 | 4 | 6 | 8 | 10 | 11/41/91 | 1 in 11,600 | Blunder Hills | |
Wode Board Card | + Base STR | 2 | 4 | 6 | 8 | 10 | 11/41/91 | 1 in 12,500 | Blunder Hills | |
Gigafrog Card | +% Card Drop Chance | 5 | 10 | 15 | 20 | 25 | 11/41/91 | 1 in 14,300 | Blunder Hills | |
Poop Card | +% Crystal Mob Spawn Chance | 10 | 20 | 30 | 40 | 50 | 11/41/91 | 1 in 16,700 | Blunder Hills | |
Rat Card | +% Critical Chance | 1 | 2 | 3 | 4 | 5 | 11/41/91 | 1 in 20,000 | Blunder Hills | |
Walking Stick Card | + Base WIS | 5 | 10 | 15 | 20 | 25 | 11/41/91 | 1 in 16,700 | Blunder Hills |