User:FrozenPlum/Sandbox: Difference between revisions
imported>FrozenPlum mNo edit summary |
imported>FrozenPlum mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==DPL3 Cards Table Test== | ==DPL3 Cards Table Test== | ||
Testing what a data table (with inline calcs) | Testing what a data table (with inline calcs) using DPL3 might look like (since currently there's issue with Cargo). Count in this is limited to '''15'''. Separate tables could only be done if infobox was set to auto-categorize based on <code>|category=</code> param value; then category could be easily set, and DPL statements made for each where a table is needed. I also haven't messed with and enabled <code>|multisecseparators</code> etc., yet, because, just goofing around. | ||
The issue with <code>|effect=</code> | The issue with <code>|effect=</code> parameter value beginning with <code>+</code> was making the table fail (because it created <code>|+</code> which is interpreted by MediaWiki to be a caption, when in-line, it put the values as the caption lol. This was was fixed using <code><nowiki>{{#sub:}}</nowiki></code> to detect when the first char is <code>+</code> and put a space in front because <code>| +</code> is not interpreted as a caption. It would be easy (and probably better) to just use listseparators/secseparators to ensure there's a non-breaking space <code>&nbsp;</code> inserted after each table pipe (which would also prevent the issue). :) | ||
{{#dpl: | {{#dpl: | ||
Line 10: | Line 11: | ||
|count=15 | |count=15 | ||
|mode = userformat | |mode = userformat | ||
|table = class="wikitable sortable" style="border:unset;", Name, Img, Effect, Base, { | |table = class="wikitable sortable" style="border:unset;", Name, Img, Effect, Base, ²{Icons¦Star1¦16}², ²{Icons¦Star2}², ²{Icons¦Star3}², ²{Icons¦Star4}², Required Tier, Drop Chance, Category | ||
|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¦%%}²}² | ||
}} | }} |
Latest revision as of 08:23, 25 March 2022
DPL3 Cards Table Test
Testing what a data table (with inline calcs) using DPL3 might look like (since currently there's issue with Cargo). Count in this is limited to 15. Separate tables could only be done if infobox was set to auto-categorize based on |category=
param value; then category could be easily set, and DPL statements made for each where a table is needed. I also haven't messed with and enabled |multisecseparators
etc., yet, because, just goofing around.
The issue with |effect=
parameter value beginning with +
was making the table fail (because it created |+
which is interpreted by MediaWiki to be a caption, when in-line, it put the values as the caption lol. This was was fixed using {{#sub:}}
to detect when the first char is +
and put a space in front because | +
is not interpreted as a caption. It would be easy (and probably better) to just use listseparators/secseparators to ensure there's a non-breaking space
inserted after each table pipe (which would also prevent the issue). :)
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 |