Owl.png Wiki reading hard on the eyes? Try out our Dark Theme! Visit the preferences page while logged in and select Hydra Dark. Owl.png

User:Ferretwings/Sandbox/DPL

From Terraria Wiki
Jump to: navigation, search

I REALLY need to clean this page up.

Notes[edit | edit source]

To get around dpl display limits, one could use | offset = 500 | count = 500 |
To eliminate pages in other languages: | notcategorymatch = % translation |
Unfortunately, there is a limit to the number of categories one can include/notinclude. I think it's 3.
To sort: | ordermethod = titlewithoutnamespace | order = ascending |
Any/all characters regex: .*    match: %
In most cases, | ignorecase = true | can be used (doesn't work with titlelt; titlelt=A is not the same as titlelt=a)
#dplvar and #dplreplace can be your dpl friends.
Lots of good stuff below (although it's a maze trying to find it).
This page is a testament to the projects I began, but haven't finished.
²{#ifeq:%%¦

Immunity Dpl[edit | edit source]

{{#vardefine:lookfor|Confused}} {| class="terraria mw-collapsible mw-collapsed" ! colspan = 3 | Enemies immune to {{#var:lookfor}}  |- |{{#replace: <!--the only way I have found to remove the include from the output is to use {#replace}, and replace it with nothing--> {{#dpl: |uses = Template:Npc infobox |include = {npc infobox}.dpl |namespace = |notcategorymatch = % translation |includematch = /immune.*=\s*{{#var:lookfor}}¦immuneall\s*=\s*[Yy]es/ |ordermethod = titlewithoutnamespace |order = ascending |format = ,¶[[File:²{#switch:%TITLE%<!--different image--> ¦Beetle=Cochineal Beetle.png ¦Cultist=CultistAnimation.gif ¦%TITLE%.png²{!}²²{#switch:%TITLE%<!--different size--> ¦Bone Serpent ¦Crawltipede ¦Devourer ¦Digger ¦Dune Splicer ¦Eater of Worlds ¦Giant Worm ¦Leech ¦Phantasm Dragon ¦The Destroyer ¦Milkyway Weaver ¦Tomb Crawler ¦World Feeder ¦Wyvern=x10 ¦x30}²px}²]] [[%TITLE%]],¶, }}|[[:Template:Npc infobox.dpl]]|}} <!--without the {#replace}, this would be included on every line--> |}

Random Dpls[edit | edit source]

{{collapse top|Desktop Versions|Hide Desktop Versions}} {{#dpl:titlematch=1.%|namespace=|notcategorymatch = % translation}} {{collapse bottom}} {{collapse top|Talk pages|Hide Talk pages}} {| align=center |{{collapse top|Mainspace Talk pages|Hide Mainspace Talk pages}} {| |{{collapse top|A|Hide A}} {{#dpl:namespace=talk|ignorecase=true|titlelt=Azzz|notcategorymatch = % translation|ordermethod=titlewithoutnamespace|order=ascending|noresultsheader=No talk pages}} {{collapse bottom}} |{{collapse top|B|Hide B}} {{#dpl:namespace=Talk|ignorecase=true|titlegt=B|titlelt=Bzzz|notcategorymatch = % translation|ordermethod=titlewithoutnamespace|order=ascending|noresultsheader=No talk pages}} {{collapse bottom}} |{{collapse top|C|Hide C}} {{#dpl:namespace=Talk|ignorecase=true|titlegt=C|titlelt=Czzz|notcategorymatch = % translation|ordermethod=titlewithoutnamespace|order=ascending|noresultsheader=No talk pages}} {{collapse bottom}} |{{collapse top|D|Hide D}} {{#dpl:namespace=Talk|ignorecase=true|titlegt=D|titlelt=Dzzz|notcategorymatch = % translation|ordermethod=titlewithoutnamespace|order=ascending|noresultsheader=No talk pages}} {{collapse bottom}} |} {{collapse bottom}} {{collapse top|Category Talk pages|Hide Category Talk pages}} {{#dpl:namespace=Category_Talk|ignorecase=true|noresultsheader=No talk pages}} {{collapse bottom}} {{collapse top|Template Talk pages|Hide Template Talk pages}} {{#dpl:namespace=Template_Talk|ignorecase=true|noresultsheader=No talk pages}} {{collapse bottom}} {{collapse top|Guide Talk pages|Hide Guide Talk pages}} {{#dpl:namespace=Guide_Talk|ignorecase=true|noresultsheader=No talk pages}} {{collapse bottom}} {{collapse top|User Talk pages (Numerous, perhaps only list most recently used and admins)|Hide User Talk pages}} {{#dpl:namespace=User_Talk|ignorecase=true|noresultsheader=No talk pages}} {{collapse bottom}} |} {{collapse bottom}} {{collapse top|All pages with a number in the title|Hide All pages with a number in the title}} {{#dpl:titleregexp=[0-9]+|notnamespace=User|notnamespace=User_talk|notnamespace=File|notnamespace=File_talk|notnamespace=Template|notnamespace=Category|notnamespace=Guide|notnamespace=Guide_talk|ignorecase=true}} {{collapse bottom}} {{collapse top|Terraria Wiki Talk pages|Hide Terraria Wiki Talk pages}} {{#dpl:titleregexp=[0-9]+|namespace=Terraria_Wiki|namespace=Talk|ignorecase=true}} {{collapse bottom}} {{collapse top|%User% category pages|Hide pages}} {{#dpl:categorymatch=%User%|ignorecase=true}} {{collapse bottom}}

Dropped by[edit | edit source]

<!-- Having problems saving. Very annoying... Number of NPC infoboxes:{{strCount|t={{#dpl:title= Hornet |include={npc infobox} }}|s=Statistics}} {{#dpl:uses=Template:Npc infobox|include={npc infobox}:{{-}}|includematch=/{{BASEPAGENAME}}/|format= {{{!}}class="infobox" style="font-size:89%; width:21em; -moz-border-radius: .7em; -webkit-border-radius: .7em;"¶! colspan="3" style="background-color: #E4F0F7; color: #063B5E; padding:0em;" {{!}}Dropped by ¶{{!}}-¶ ! style="width:55%;background-color: #E4F0F7; color: #063B5E;"{{!}}'''Entity'''¶ ! style="width:25%;background-color: #E4F0F7; color: #063B5E;"{{!}}'''Quantity'''¶ ! style="width:20%;background-color: #E4F0F7; color: #063B5E;"{{!}}'''Rate'''¶, ¶{{!}}- ¶{{!}}[[%TITLE%]] ¶{{!}} ²{#explode:²{#explode:²{#explode:²{#explode:²{#dpl:title= %TITLE% ¦include={npc infobox} }²¦{{BASEPAGENAME}}]]¦2}²¦</td>¦0}²¦•¦1}²¦<¦0}² ¶{{!}} ²{#explode:²{#explode:²{#explode:²{#dpl:title= %TITLE% ¦include={npc infobox} }²¦{{BASEPAGENAME}}]]¦2}²¦</td>¦1}²¦²{!}²¦2}² ,¶,{{!}}} }} {{#replace:{{#explode:{{#replace:{{#explode:{{#dpl:title= Hornet |include={npc infobox} }}|AI Type|0}}|}}|life|0}}|}} {{#pos:{{#dpl:title= Hornet |include={npc infobox} }}|AI Type}} {{#explode:{{#explode:{{#dpl:title= Hornet |include={npc infobox} }}|AI Type|1}}|AI Type|1}} *bottom* {{#pos:{{#dpl:title= Hornet |include={npc infobox} }}|{{#explode:{{#dpl:title= Hornet |include={npc infobox} }}|{{BASEPAGENAME}}]]|6}}}} <!--5--> {{#sub:{{#dpl:title= Hornet |include={npc infobox} }}|1070,1086}}

Removing tables and images from an intro[edit | edit source]

<!-- this will find the <section in the intro of a page {{#dpl:titlematch=C%|include=%0|includematch=/\<section/}} --> {{#vardefine:intro|{{#dpl:title=Critter|include=%0}}}} {{#dplvar:set|i|{{#dpl:title=Critter|include=%0}}}} <br/>intro<br/> {{#var:intro}} <br/>file this also removes icons oops<br/> {{#dplvar:set|i|{{#dplreplace:{{#dplvar:i}}|/\[\[File.*\]\]/|}}}}<!--this removes all the images from the section--> {{#dplvar:i}} <br/>large if<br/> <!--{{#pos:{{#var:intro}}|{{{!}} }} this finds the table open--> {{#ifeq:{{#pos:{{#dplvar:i}}|{{{!}} }}||{{#dplvar:i}} |{{#vardefine:b|{{#pos:{{#dplvar:i}}|{{{!}} }} }}{{#vardefine:tc|1}} {{#ifeq:{{#pos:{{#dplvar:i}}|{{{!}}|{{#expr:{{#var:b}}+1 }} }}|| {{#sub:{{#dplvar:i}}|{{#expr:{{#pos:{{#dplvar:i}}|{{!}}} }}+4}}}} |{{#vardefine:b|{{#pos:{{#dplvar:i}}|{{{!}}|{{#var:b}} }} }}{{#vardefine:tc|{{#expr:{{#var:tc}}+1}}}} {{#ifeq:{{#pos:{{#dplvar:i}}|{{{!}}|{{#expr:{{#var:b}}+1 }} }}|| {{#sub:{{#dplvar:i}}|{{#expr:{{#pos:{{#dplvar:i}}|{{!}}} }}+4}}}} |{{#vardefine:b|{{#pos:{{#dplvar:i}}|{{{!}}|{{#var:b}} }} }}{{#vardefine:tc|{{#expr:{{#var:tc}}+1}}}} }} }} }} <br/>old<br/> {{#dplvar:set|i|{{#ifeq:{{#pos:{{#dplvar:i}}|{{!}}} }}||{{#dplvar:i}}|{{#sub:{{#dplvar:i}}|{{#expr:{{#pos:{{#dplvar:i}}|{{!}}} }}+4}} }}}}}}<!--this removes the table at the top--> {{#ifeq:{{#pos:{{#dplvar:i}}|{{!}}} }}||{{#dplvar:i}}|{{#sub:{{#dplvar:i}}|{{#expr:{{#pos:{{#dplvar:i}}|{{!}}} }}+4}} }}}} <!--<br/>try again<br/> doesn't work quite right {{#dplreplace:{{#dplreplace:{{#dplreplace:{{#dplvar:i}}|/\{\{{!}}/|zbegin}}|/\{{!}}\}/|zend}}|/\{{!}}/|}}|/zbegin.*zbegin/|}}--> <br/>find section <br/> {{#pos:{{#dpl:title=Critter|include=%0}}|<section}} <br/>regex \{\|<br/> {{#dplreplace:{{#var:intro}}|/\{\|.*\|\}/|some}} <br/>replacesections with regex<br/> {{#dplreplace:{{#var:intro}}|?/\'\"\`.*\`\"\'/|}} {{#vardefine:f|{{#dplreplace:{{#var:intro}}|{{#explode:{{#explode:{{#var:intro}}|{{{!}}|1}}|{{!}}}|0}}|none}}}} <br/>varf<br/> {{#var:f}} |} <br/>remove sections not regex<br/> {{#dplreplace:{{#dplreplace:{{#var:f}}|{{{!}}{{#explode:{{#explode:{{#var:f}}|{{{!}}|1}}|{{!}}}|0}}{{!}}}|}}|?'"`UNIQsection00000000QINU`"'|some}} <br/>replace everything inside table (inside f) with blank<br/> {{#vardefine:nf|{{#dplreplace:{{#var:f}}|{{{!}}{{#explode:{{#explode:{{#var:f}}|{{{!}}|1}}|{{!}}}|0}}{{!}}}|}}}} <br/>nf<br/> {{#var:nf}} |} <br/>remove section regex<br/> {{#dplreplace:{{#var:f}}|/\<section.*\>/|some}} |} {{#dplreplace:{{#dplreplace:{{#var:f}}|{{{!}}{{#explode:{{#explode:{{#var:f}}|{{{!}}|1}}|{{!}}}|0}}{{!}}}|}}|?/\'\"\`.*\`\"\'/|zzz}} end critter intro test |}

Accessories I'm adding to categories[edit | edit source]

{{collapse top}} {{#dpl:category=Accessory items|notcategory=Expert mode items|notcategory=Craftable items|includesubpages=no|ordermethod=title}} {{collapse bottom}}

Weapons List[edit | edit source]

{| class="terraria sortable" style="float:left" {{#vardefine:pcicon|  [[File:pc only.png|link=|15px]]}}{{#vardefine:cicon|  [[File:console only.png|link=|15px]]}}{{#vardefine:micon|[[File:mobile only.png|link=|15px]]}} ! class="unsortable" | ! Name ! Type ! <abbr title=Hardmode>HM</abbr> ! [[Rarity|R]] ! <abbr title=Damage>DMG</abbr> ! <abbr title=Damage-per-second>DPS</abbr> ! [[Damage types|<abbr title="Damage type">DMG<br/>type</abbr>]] ! <abbr title="Hold-to-attack (auto-swing)">HtA</abbr> ! [[Knockback|KB]] ! [[Attack Speed|Speed]] ! [[Use time|UT]] ! [[Shoot speed|<abbr title="Shoot Speed/Velocity">SS</abbr>]] ! [[Value|Sell]] ! style="font-size:12px"|[[Mana]] ! [[Ammo]] ! class="unsortable" | [[Debuff|<abbr>DB</abbr>]] ! [[Debuff|<abbr title="Debuff duration (in seconds)">DB (s)</abbr>]] ! [[Debuff|<abbr title="Chance to inflict debuff">DB</abbr>]]% |- {{#switch:{{#dpl:|title=Cannon|include={item infobox}:rare}} |0 = <!-- white --> |1 = style="background:#AACCEE" <!-- blue --> |2 = style="background:#88FF88" <!-- green --> |3 = style="background:#FFCC77" <!-- orange --> |4 = style="background:#FF7777" <!-- light red --> |5 = style="background:#FF99FF" <!-- pink --> |6 = style="background:#CC77FF" <!-- light purple --> |7 = style="background:#CCFF77" <!-- lime --> |8 = style="background:#FFFF77" <!-- yellow --> |9 = style="background:#AAFFFF" <!-- cyan --> |10 = style="background:#ff4040" <!-- red --> |11 = style="background:#b732ff" <!-- purple --> |? }} <!--name-->|{{#dpl:|title=Cannon|format=,{{il2c{{!}}%TITLE%{{!}}size=15x15px}},,}} <!--wtype-->|{{#vardefine:wt |{{#if:{{#dpl:title=Cannon|category=Drills|category=Chainsaws|noresultsheader=n}} |{{#if:{{#dpl:title=Cannon|category=Pickaxes|category=Axes|noresultsheader=n}} |{{#if:{{#dpl:title=Cannon|category=Furniture items|noresultsheader=n}} |{{#if:{{#dpl:title=Cannon|category=Axes|noresultsheader=n}} |{{#if:{{#dpl:title=Cannon|category=Boomerangs|noresultsheader=n}} |{{#if:{{#dpl:title=Cannon|category=Bows|noresultsheader=n}} |{{#if:{{#dpl:title=Cannon|category=Chainsaws|noresultsheader=n}} |{{#if:{{#dpl:title=Cannon|category=Drills|noresultsheader=n}} |{{#if:{{#dpl:title=Cannon|category=Flails|noresultsheader=n}} |{{#if:{{#dpl:title=Cannon|category=Guns|noresultsheader=n}} |{{#if:{{#dpl:title=Cannon|category=Hamaxes|noresultsheader=n}} |{{#if:{{#dpl:title=Cannon|category=Hammers|noresultsheader=n}} |{{#if:{{#dpl:title=Cannon|category=Magic weapons|noresultsheader=n}} |{{#if:{{#dpl:title=Cannon|category=Pickaxes|noresultsheader=n}} |{{#if:{{#dpl:title=Cannon|category=Repeaters|noresultsheader=n}} |{{#if:{{#dpl:title=Cannon|category=Swords|noresultsheader=n}} |{{#if:{{#dpl:title=Cannon|category=Spears|noresultsheader=n}} |{{#if:{{#dpl:title=Cannon|category=Summon weapons|noresultsheader=n}} |{{#if:{{#dpl:title=Cannon|category=Yoyos|noresultsheader=n}} |{{#if:{{#dpl:title=Cannon|category=Melee weapons|noresultsheader=n}} |{{#if:{{#dpl:title=Cannon|category=Ranged weapons|noresultsheader=n}} |{{#if:{{#dpl:title=Cannon|category=Misc weapons|noresultsheader=n}} |consumable|explosive}}|ranged}}|melee}}|yoyo}}|summon}}|spear}}|sword}}|repeater}}|pickaxe}} |{{#ifeq:{{#sub:{{#dpl:title=Cannon|include={item infobox}:tooltip|noresultsheader=n}}|0|15}}|Summons a cloud|rain| magic}} }} |hammer}}|hammaxe}}|gun}}|flail}}|drill}}|chainsaw}}|bow}}|boomerang}}|axe}}|cannon}}|pickaxe + axe}}|drill + chainsaw}} }}{{#var:wt}} <!--HM-->|{{#ifeq:{{#dpl:|title=Cannon|include={item infobox}:hardmode}}|yes|{{yes}}|{{no}} }} <!--rarity-->|{{#dpl:|title=Wooden Bow|include={item infobox}:rare}} <!--dmg-->|{{#dpl:|title=Wooden Bow|include={item infobox}:damage|format=,%%,,}} <!--DPS-->|{{#vardefine:rd|{{#explode:{{#dpl:|title=Cannon|include={item infobox}:damage}}| |0}} }}{{#expr:((60/{{#dpl:|title=Cannon|include={item infobox}:use}})*{{#var:rd}})round0}} {{#explode:{{#explode:{{#dpl:|title=Cannon|include={item infobox}:damage}}|>|1}}|<|0}} <!--dmgtype-->|{{#vardefine:dt|{{#dpl:|title=Cannon|include={item infobox}:damagetype}}}}{{#ifeq:{{#var:dt}}||{{#ifeq:{{#var:wt}}|cannon|ranged|melee}}|{{lc:{{#var:dt}}}} }} <!--autoswing-->|{{#ifeq:{{#dpl:|title=Cannon|include={item infobox}:auto}}|yes|{{yes}}|{{no}} }} <!--KB-->|{{#dpl:|title=Cannon|include={item infobox}:knockback}} <!--speed-->|{{#vardefine:u|{{#dpl:|title=Cannon|include={item infobox}:use}}}}{{#ifeq:{{#var:u}}|?|unknown|{{#ifexpr:{{#var:u}}<9|insanely fast|{{#ifexpr:{{#var:u}}<21|very fast|{{#ifexpr:{{#var:u}}<26|fast|{{#ifexpr:{{#var:u}}<31|average|{{#ifexpr:{{#var:u}}<36|slow|{{#ifexpr:{{#var:u}}<46|very slow|{{#ifexpr:{{#var:u}}<56|extremely slow|snail}}}}}}}}}}}}}}}} <!--use,velocity,sell,mana-->|{{#dpl:|title=Cannon|include={item infobox}:use:sspeed:sell:mana}} |ammo <!--this will need to be passed to the dpl template--> <!--debuff-->|{{#vardefine:db|{{#dpl:|title=Cannon|include={item infobox}:debuff}}}}{{#if:{{#var:db}}|[[File:{{#var:db}}.png|15px|center|link={{#var:db}}]]}} <!--duration-->|{{#vardefine:section|{{#dpl:title={{#dpl:title=Cannon||include={item infobox}:debuff}}|include=#Causes}} }}{{#if:{{#var:db}}|{{#explode:{{#sub:{{#var:section}}|{{#rpos:{{#sub:{{#var:section}}|0|{{#pos:{{#var:section}}|seconds|{{#pos:{{#var:section}}|Cannon}}}}}}|{{!}} }}|10}}| |1}}s}} <!--chance-->|{{#vardefine:section|{{#dpl:title={{#dpl:title=Cannon||include={item infobox}:debuff}}|include=#Causes}} }}{{#if:{{#var:db}}|{{#expr:{{#explode:{{#sub:{{#var:section}}|{{#rpos:{{#sub:{{#var:section}}|0|{{#pos:{{#var:section}}|(|{{#pos:{{#var:section}}|Cannon}}}}}}|{{!}} }}|10}}| |1}}*100}}%}} |- |} <!--ammo--> {{#ifeq:{{#dpl:|title=Wooden Bow|category=Bows|oneresultheader=arrows|noresultsheader=n}}|n|not arrows|arrows }} <!--for explosives, the explosive is the ammo--> {{#dpl:|title=Cannon|oneresultheader=²{#ifeq:²{#var:wt}²¦explosive¦Cannon¦not Cannon}²}} {{#dpl:|title=Cannon|category=Magic weapons|oneresultheader=mana|noresultsheader=not mana}} {{#dpl:|title=Cannon|category=Repeaters|oneresultheader={{#ifeq:{{#pos:Cannon|Repeater}}|| {{#vardefine:intro|{{#explode:{{#dpl:|title=Cannon|include=%0}}|{{!}}}|-1}}}}{{#if:{{#pos:{{#var:intro}}|arrows}}|arrows|{{#if:{{#pos:{{#var:intro}}|Stakes}}|Stakes|unk}}}} }} |noresultsheader=not a repeater}} {{#dplvar:set|s|shoots|f|fires|l|launches|u|uses|c|consumes}} <!--it may be best to use the foreach template--> {{#dplvar:set|introz|{{#explode:{{#dpl:|title=Cannon|include=%0}}|{{!}}}|-1}}}} <!-- {{#dplvar:set|intro|{{#explode:{{#dpl:|title=Cannon|include=%0}}|{{!}}}|-1}}}} {{foreach|retrieveammo|shoots|fires|launches|uses|consumes}} --{{retrieveammo}}-- {{#vardefine:intro|{{#explode:{{#dpl:|title=Cannon|include=%0}}|{{!}}}|-1}}}} {{#if:{{#pos:{{#var:intro}}|shoots}}|{{#vardefine:fires|shoots}}{{#vardefine:firespos|{{#pos:{{#var:intro}}|shoots}}}}shoots --> <!--retrieving the ammo for repeaters--><!--see here for retrieving number of projectiles per shot--> {{#dpl:|title=Cannon|category=Repeaters|oneresultheader= {{#ifeq:{{#pos:Cannon|Repeater}}|| {{#vardefine:intro|{{#explode:{{#dpl:|title=Cannon|include=%0}}|{{!}}}|-1}}}} {{#if:{{#pos:{{#var:intro}}|arrows}}|arrows| {{#if:{{#pos:{{#var:intro}}|shoots}}|{{#vardefine:fires|shoots}}{{#vardefine:firespos|{{#pos:{{#var:intro}}|shoots}}}}shoots |{{#if:{{#pos:{{#var:intro}}|fires}}|{{#vardefine:fires|fires}}{{#vardefine:firespos|{{#pos:{{#var:intro}}|fires}}}}fires |{{#if:{{#pos:{{#var:intro}}|launches}}|{{#vardefine:fires|launches}}{{#vardefine:firespos|{{#pos:{{#var:intro}}|launches}}}}launches |{{#if:{{#pos:{{#var:intro}}|uses}}|{{#vardefine:fires|uses}}{{#vardefine:firespos|{{#pos:{{#var:intro}}|uses}}}}uses |{{#if:{{#pos:{{#var:intro}}|consumes}}|{{#vardefine:fires|consumes}}{{#vardefine:firespos|{{#pos:{{#var:intro}}|consumes}}}}consumes |unk }} }} {{#iferror:{{#expr:{{#sub:{{#explode:{{#var:intro}}|{{#var:fires}}|1}}|0|1}}>0}} |{{#explode:{{#explode:{{#var:intro}}|{{#var:fires}}|1}}| |0}} |{{#explode:{{#explode:{{#var:intro}}|{{#var:fires}}|1}}| |1}} }} }} }} }} }} |repeater in name}} |noresultsheader=not a repeater}} {{#dplvar:set|a|x|b|y|c|z}} {{#dplvar:default|d|dddd}} a={{#dplvar:a}} <code><nowiki>{{#dplreplace:abrakadabra|ab|AB}} -> ABrakadABra

<- only replaces "a" with "A" if there is an "r" somewhere after the "a". ->
{{#dplreplace:abrakadabra|/a(.*?)r/|A\1_r_}} -> Ab_r_Akadab_r_a

</nowiki>

Testing[edit | edit source]

{{#dpl:title=User:Ferretwings/Sandbox/DPL|oneresultheader={{#dplvar:introz}}}} {{#dpl: |namespace=User |titlematch=Ferretwings/Sandbox/DPL |include={#.+}.pfunc |format=, }} {{#dpl: |namespace=User |titlematch=Ferretwings/Sandbox/DPL |include={#dpl}.pfunc |format=, }} {{#dpl: |namespace=User |titlematch=Ferretwings/Sandbox/DPL |include={~dpl}.tag |format=, }} The formatting is fine, but the regex doesn't work {{collapse top|Autoswung weapons|Hide Autoswung weapons}} {| {{#dpl: |category=Weapon items |include={item infobox}.dpl |includematch=/\{{!}}\s*auto\s*=\s*([Yy]es)¦([Tt]rue)/s |table=- |tablerow=%% |count=40}} |} {{collapse bottom}} <!-- ¦ | |table=- |tablerow=%% |format=<br/>,%TITLE%<br/>,<br/>, |secseparators = ¶,,¶,, |format=,¶*%TITLE%,¶, includematch=/\{{!}}\s*myParameter\s*=\s*myPattern/s -named params- includematch=/\|\s*myPattern/s -unnamed params- |includematch = ,/Name\s*=\s*[Kk]amerun/s/i includesubpages=false |ignorecase=true -This parameter has an effect on linksto, uses, titlematch, titleregexp and their not-equivalents.-->

These DPL tests work[edit | edit source]

{{#dpl:|titlematch=Altar|include=#Hardmode[100 ..more..]|format=,}} {{#dpl:|titlematch=Altar|include=hardmode ores|format=,}}

Not working[edit | edit source]

{{#dpl: |titlematch=Altar |include=#Hardmode[0 img=Crimson_Altar.png] |format=, }}

[edit | edit source]

{{#dpl:|category=Enemy NPCs by AI type|count=30|addcategories=true|format=,,%CATLIST%,}}

List recipes[edit | edit source]

{{#dpl:|uses=Template:item infobox|category=Tool items|includesubpages=no|include=#Recipe|includematch=.Crafting.|count=1}} <!--includematchparsed include=sec1-->

Immunity[edit | edit source]

list of categories Snow Balla is in[edit | edit source]

{{#dpl:|title=Snow Balla |addcategories=yes |format=,,¶%CATBULLETS%¶, }}

list of debuffs Snow Balla is immune to (explicit list)[edit | edit source]

{{#dpl:|category=Debuffs |notcategorymatch=%translation |ordermethod=titlewithoutnamespace|order=ascending |include=##.*Immune.* |includematch= /\[:Category:Snow Balla ¦\[:Category:Enemy NPCs ¦\[:Category:Entities introduced in 1.1.1 ¦\[:Category:Entities patched in 1.3.0.1 ¦\[:Category:Frost Legion NPCs ¦\[:Category:Snowman NPCs / |count= |tablerow =,%TITLE% }}

list of debuffs enemy is immune to (implicit list) working, but still needs work[edit | edit source]

{{#vardefine:enemy|Armored_Viking}} {{#dplvar:set|dc|{{#dpl:|title=Snow Balla|addcategories=yes|format=,%CATBULLETS%,,}} }} {{#vardefine:cl|{{#dpl:|title={{#var:enemy}}|addcategories=yes|format=,%CATBULLETS%,,}} }} {{#dplvar:set|dp|Snow Balla}} {{#vardefine:p|Snow Balla}} {{#dplvar:set|c1|{{#explode:{{#var:cl}}|*|1}}|c2|{{#explode:{{#var:cl}}|*|2}}|c3|{{#explode:{{#var:cl}}|*|3}}|c4|{{#explode:{{#var:cl}}|*|4}}|c5|{{#explode:{{#var:cl}}|*|5}}|c6|{{#explode:{{#var:cl}}|*|6}}|c7|{{#explode:{{#var:cl}}|*|7}}|c8|{{#explode:{{#var:cl}}|*|8}}|c9|{{#explode:{{#var:cl}}|*|9}}|c10|{{#explode:{{#var:cl}}|*|10}}}} <!--{{#dplvar:set|c5|\*\s*All\s\[\[:Category:{{#dplvar:c5}}}}--> <!-- <!--{{return dpl pattern|Snow Balla}} {{#vardefine:cl|{{#dpl:|title=Snow Balla|addcategories=yes|format=,%CATBULLETS%,,}} }} include... {{#if:{{#explode:{{#var:cl}}|*|1}}|¦\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|1}}|Category:|1}}}} {{#explode:{{#explode:{{#var:cl}}|*|2}}|Category:|1}} {{#explode:{{#explode:{{#var:cl}}|*|3}}|Category:|1}} {{#explode:{{#explode:{{{1|}}}|*|4}}|Category:|1}} --> <!-- for unknown reasons, #replace doesn't work (should try #dplreplace) {{#vardefine:cl|{{#dpl:|title={{#var:enemy}}|addcategories=yes|format=,²{#replace:%CATBULLETS%¦/.*\[\[:Category:Entities.*\]\]\n/¦}²,,}} }} --> <!--problems with:Black Recluse--> <!--seems to be working with:Snow Balla ¦² ²{#dplvar:set¦cat¦%CATBULLETS%}²--> {{#vardefine:enemy|Black Recluse}} Complete category list for {{#var:enemy}}= {{#dpl:|title={{#var:enemy}}|addcategories=yes|format=,,¶%CATBULLETS%¶,}} <!-- %CATBULLETS% includes categories such as "Entities introduced in..." and "Entities patched in...". Those are removed. --> {{#vardefine:cl|{{#dpl:|title={{#var:enemy}}|addcategories=yes|format=,²{#dplreplace:%CATBULLETS%¦/.*\[\[:Category:Entities.*\]\]\n/¦}²,,}} }} Enemy: [[{{#var:enemy}}]]<br/> Category list:<br/> {{#var:cl}}<br/> {{#vardefine:ee5|{{#explode:{{#dplvar:c5}}|Category:|1}}}} {{#dplvar:set|intro2|{{#explode:{{#dpl:|title={{#var:enemy}}|include=%0}}|{{!}}}|-1}}}} {{#vardefine:intro|{{#explode:{{#dpl:|title={{#var:enemy}}|include=%0}}|{{!}}}|-1}}}} {{#var:enemy}}'s top section:<br/>{{#var:intro}}<br/> {{#if:{{#explode:{{#explode:{{#var:intro}}|immune to|1}}|.|0}}|Debuff(s) found on {{#var:enemy}} page:{{#explode:{{#explode:{{#var:intro}}|immune to|1}}|.|0}}|no debuffs listed on {{#var:enemy}} page}}<br/> {{#var:enemy}} is immune to: {{#dpl: |category=Debuffs |notcategorymatch=%translation |ordermethod=titlewithoutnamespace|order=ascending |include=* |includematch= /Immune.*\*\s*\[\[{{#var:enemy}} {{#if:{{#explode:{{#var:cl}}|*|1}}|¦Immune.*\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|1}}|Category:|1}}}} {{#if:{{#explode:{{#var:cl}}|*|2}}|¦Immune.*\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|2}}|Category:|1}}}} {{#if:{{#explode:{{#var:cl}}|*|3}}|¦Immune.*\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|3}}|Category:|1}}}} {{#if:{{#explode:{{#var:cl}}|*|4}}|¦Immune.*\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|4}}|Category:|1}}}} {{#if:{{#explode:{{#var:cl}}|*|5}}|¦Immune.*\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|5}}|Category:|1}}}} {{#if:{{#explode:{{#var:cl}}|*|6}}|¦Immune.*\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|6}}|Category:|1}}}} {{#if:{{#explode:{{#var:cl}}|*|7}}|¦Immune.*\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|7}}|Category:|1}}}} {{#if:{{#explode:{{#var:cl}}|*|8}}|¦Immune.*\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|8}}|Category:|1}}}} {{#if:{{#explode:{{#var:cl}}|*|9}}|¦Immune.*\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|9}}|Category:|1}}}} ¦immune\sto.*%TITLE%.*\./s |count= |table=,Debuff,NPC (and notes) |tablerow =²{#explode:²{#sub:%%¦²{#expr:²{#pos:%%¦{{#var:enemy}} }²-2}²¦²{#expr:²{#len:%%}²-²{#pos:%%¦{{#var:enemy}} }²+2 }² }²¦*¦0}² |noresultsfooter= nothing }} hybrid:<br/> {{#dpl:|category=Debuffs |notcategorymatch=%translation |ordermethod=titlewithoutnamespace|order=ascending |include=* |includematch= /Immune.*\*\s*\[\[{{#var:enemy}} {{#if:{{#explode:{{#var:cl}}|*|1}}|{{#vardefine:c|{{#explode:{{#var:cl}}|*|1}}}}¦Immune.*\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|1}}|Category:|1}}}} {{#if:{{#explode:{{#var:cl}}|*|2}}|{{#vardefine:c|{{#explode:{{#var:cl}}|*|2}}}}¦Immune.*\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|2}}|Category:|1}}}} {{#if:{{#explode:{{#var:cl}}|*|3}}|{{#vardefine:c|{{#explode:{{#var:cl}}|*|3}}}}¦Immune.*\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|3}}|Category:|1}}}} {{#if:{{#explode:{{#var:cl}}|*|4}}|{{#vardefine:c|{{#explode:{{#var:cl}}|*|4}}}}¦Immune.*\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|4}}|Category:|1}}}} {{#if:{{#explode:{{#var:cl}}|*|5}}|{{#vardefine:c|{{#explode:{{#var:cl}}|*|5}}}}¦Immune.*\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|5}}|Category:|1}}}} {{#if:{{#explode:{{#var:cl}}|*|6}}|{{#vardefine:c|{{#explode:{{#var:cl}}|*|6}}}}¦Immune.*\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|6}}|Category:|1}}}} {{#if:{{#explode:{{#var:cl}}|*|7}}|{{#vardefine:c|{{#explode:{{#var:cl}}|*|7}}}}¦Immune.*\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|7}}|Category:|1}}}} {{#if:{{#explode:{{#var:cl}}|*|8}}|{{#vardefine:c|{{#explode:{{#var:cl}}|*|8}}}}¦Immune.*\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|8}}|Category:|1}}}} {{#if:{{#explode:{{#var:cl}}|*|9}}|{{#vardefine:c|{{#explode:{{#var:cl}}|*|9}}}}¦Immune.*\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|9}}|Category:|1}}}} ¦immune\sto.*%TITLE%.*\./s |count= |table=,Debuff,NPC (and notes) |tablerow =²{#pos:%%¦All}²²{#vardefine:i¦²{#pos:%%¦Immune NPC}²}²is²{#var:i}²²{#vardefine:r¦²{#if:²{#pos:%%¦²{#var:enemy}² }²¦²{#var:enemy}²¦²{#sub:²{#var:c}²¦3¦-2}²}²}² ast²{#rpos:²{#sub:%%¦0¦²{#pos:%%¦²{#var:r}² }² }²¦*}²sec²{#pos:%%¦==¦²{#rpos:²{#sub:%%¦0¦²{#pos:%%¦²{#var:r}² }² }²¦*}²}² |noresultsfooter= nothing }} .cl5.{{#explode:{{#var:cl}}|*|5}}.cl5. Table format, sort of working. Testing isn't going too well right now.<br/> {{#dpl:|category=Debuffs |notcategorymatch=%translation |ordermethod=titlewithoutnamespace|order=ascending |include=##.*Immune.* |includematch= /\*\s*\[\[{{#var:enemy}} {{#if:{{#explode:{{#var:cl}}|*|1}}|{{#vardefine:c|{{trim|{{#explode:{{#var:cl}}|*|1}}}}}}¦\*\s*All\s\[\[:Category:{{#explode:{{trim|{{#explode:{{#var:cl}}|*|1}}}}|Category:|1}}¦\s*all\s\[\[:Category:{{#explode:{{trim|{{#explode:{{#var:cl}}|*|1}}}}|Category:|1}}.*\*}} {{#if:{{#explode:{{#var:cl}}|*|2}}|{{#vardefine:c|{{trim|{{#explode:{{#var:cl}}|*|2}}}}}}¦\*\s*All\s\[\[:Category:{{#explode:{{trim|{{#explode:{{#var:cl}}|*|2}}}}|Category:|1}}¦\s*all\s\[\[:Category:{{#explode:{{trim|{{#explode:{{#var:cl}}|*|2}}}}|Category:|1}}.*\*}} {{#if:{{#explode:{{#var:cl}}|*|3}}|{{#vardefine:c|{{trim|{{#explode:{{#var:cl}}|*|3}}}}}}¦\*\s*All\s\[\[:Category:{{#explode:{{trim|{{#explode:{{#var:cl}}|*|3}}}}|Category:|1}}¦\s*all\s\[\[:Category:{{#explode:{{trim|{{#explode:{{#var:cl}}|*|3}}}}|Category:|1}}.*\*}} {{#if:{{#explode:{{#var:cl}}|*|4}}|{{#vardefine:c|{{trim|{{#explode:{{#var:cl}}|*|4}}}}}}¦\*\s*All\s\[\[:Category:{{#explode:{{trim|{{#explode:{{#var:cl}}|*|4}}}}|Category:|1}}¦\s*all\s\[\[:Category:{{#explode:{{trim|{{#explode:{{#var:cl}}|*|4}}}}|Category:|1}}.*\*}} {{#if:{{#explode:{{#var:cl}}|*|5}}|{{#vardefine:c|{{trim|{{#explode:{{#var:cl}}|*|5}}}}}}¦\*\s*All\s\[\[:Category:{{#explode:{{trim|{{#explode:{{#var:cl}}|*|5}}}}|Category:|1}}¦\s*all\s\[\[:Category:{{#explode:{{trim|{{#explode:{{#var:cl}}|*|5}}}}|Category:|1}}.*\*}} {{#if:{{#explode:{{#var:cl}}|*|6}}|{{#vardefine:c|{{trim|{{#explode:{{#var:cl}}|*|6}}}}}}¦\*\s*All\s\[\[:Category:{{#explode:{{trim|{{#explode:{{#var:cl}}|*|6}}}}|Category:|1}}¦\s*all\s\[\[:Category:{{#explode:{{trim|{{#explode:{{#var:cl}}|*|6}}}}|Category:|1}}.*\*}} {{#if:{{#explode:{{#var:cl}}|*|7}}|{{#vardefine:c|{{trim|{{#explode:{{#var:cl}}|*|7}}}}}}¦\*\s*All\s\[\[:Category:{{#explode:{{trim|{{#explode:{{#var:cl}}|*|7}}}}|Category:|1}}¦\s*all\s\[\[:Category:{{#explode:{{trim|{{#explode:{{#var:cl}}|*|7}}}}|Category:|1}}.*\*}} {{#if:{{#explode:{{#var:cl}}|*|8}}|{{#vardefine:c|{{trim|{{#explode:{{#var:cl}}|*|8}}}}}}¦\*\s*All\s\[\[:Category:{{#explode:{{#var:c}}|Category:|1}}¦\s*all\s\[\[:Category:{{#explode:{{#var:c}}|Category:|1}}.*\*}} {{#if:{{#explode:{{#var:cl}}|*|9}}|{{#vardefine:c|{{trim|{{#explode:{{#var:cl}}|*|9}}}}}}¦\*\s*All\s\[\[:{{#explode:{{#var:c}}|[:|1}}¦\s*all\s\[\[:{{#explode:{{#var:c}}|[:|1}}.*\*}} /s |count= |table=,Debuff,NPC (and notes) |tablerow = .c.²{#var:c}².c. ²{#vardefine: r ¦ ²{#if: ²{#pos:%% ¦²{#var:enemy}² }² ¦²{#var:enemy}² ¦²{#explode: ²{#sub: ²{#var:c}² ¦3¦-2 }² ¦²{!}²¦1 }² }² }² .r.²{#var:r}².r. ²{#vardefine: aste ¦ ²{trim¦²{#explode: ²{#sub:%% ¦²{#rpos: ²{#sub:%% ¦0 ¦²{#pos:%% ¦²{#var:r}² }² }² ¦*}²¦0 }² ¦*¦1 }² }² }² .posr.²{#pos:%%¦²{#var:r}²}².posr. .sub0r.²{#sub:%% ¦0 ¦²{#pos:%% ¦²{#var:r}² }² }².sub0r. .lastast.²{#rpos: ²{#sub:%% ¦0 ¦²{#pos:%% ¦²{#var:r}² }² }² ¦*}².lastast. .aste.²{#var:aste}².aste. ²{#ifeq: ²{#sub: ²{#var:aste}² ¦-1 }² ¦:¦ ²{trim ¦²{#sub: ²{#var:aste}² ¦0 ¦²{#rpos: ²{#var:aste}² ¦Bosses:}² }² }² ¦ ²{#var:aste}² }² |noresultsfooter= nothing }} <!--²{trim¦²{#explode: ²{#sub:%%¦ ²{#rpos: ²{#sub:%%¦0¦ ²{#pos:%%¦ ²{#var:r}² }² }² ¦*}²¦0 }² ¦*¦1 }² }² ¦\s*all\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|1}}|Category:|1}}}}[^|]* {{#if:{{#explode:{{#var:cl}}|*|1}}|{{#vardefine:c|{{trim|{{#explode:{{#var:cl}}|*|1}}}}}}¦\*\s*All\s\[\[:Category:{{#explode:{{#var:c}}|Category:|1}}¦\s*all\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|1}}|Category:|1}}.*\*}} {{#if:{{#explode:{{#var:cl}}|*|1}}|{{#vardefine:c|{{trim|{{#explode:{{#var:cl}}|*|1}}}}}}¦\*\s*All\s\[\[:{{#explode:{{#var:c}}|[:|1}}¦\s*all\s\[\[:Category:{{#explode:{{#explode:{{#var:c}}|*|1}}|Category:|1}}.*\*}} [^\*]* |resultsheader=«pre»«nowiki» |resultsfooter=«/nowiki»«/pre» --> ↓Using "format=" is very difficult. I may need to use Table after all.↓<br/> {{#dpl:|category=Debuffs |notcategorymatch=%translation |ordermethod=titlewithoutnamespace|order=ascending |include=##.*Immune.* |includematch= /\*\s*\[\[{{#var:enemy}} {{#if:{{#explode:{{#var:cl}}|*|1}}|{{#vardefine:c|{{#explode:{{#var:cl}}|*|1}}}}¦\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|1}}|Category:|1}}}} {{#if:{{#explode:{{#var:cl}}|*|2}}|{{#vardefine:c|{{#explode:{{#var:cl}}|*|2}}}}¦\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|2}}|Category:|1}}}} {{#if:{{#explode:{{#var:cl}}|*|3}}|{{#vardefine:c|{{#explode:{{#var:cl}}|*|3}}}}¦\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|3}}|Category:|1}}}} {{#if:{{#explode:{{#var:cl}}|*|4}}|{{#vardefine:c|{{#explode:{{#var:cl}}|*|4}}}}¦\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|4}}|Category:|1}}}} {{#if:{{#explode:{{#var:cl}}|*|5}}|{{#vardefine:c|{{#explode:{{#var:cl}}|*|5}}}}¦\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|5}}|Category:|1}}}} {{#if:{{#explode:{{#var:cl}}|*|6}}|{{#vardefine:c|{{#explode:{{#var:cl}}|*|6}}}}¦\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|6}}|Category:|1}}}} {{#if:{{#explode:{{#var:cl}}|*|7}}|{{#vardefine:c|{{#explode:{{#var:cl}}|*|7}}}}¦\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|7}}|Category:|1}}}} {{#if:{{#explode:{{#var:cl}}|*|8}}|{{#vardefine:c|{{#explode:{{#var:cl}}|*|8}}}}¦\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|8}}|Category:|1}}}} {{#if:{{#explode:{{#var:cl}}|*|9}}|{{#vardefine:c|{{#explode:{{#var:cl}}|*|9}}}}¦\*\s*All\s\[\[:Category:{{#explode:{{#explode:{{#var:cl}}|*|9}}|Category:|1}}}} /s |count= |format ={{#dplvar:set|pTitle|%TITLE%}} {¦ class="wikitable"¶!Debuff¶!NPC (and notes), ¶¦-¶¦%TITLE% ¶¦ .e.{{#var:enemy}}.e. .c.{{#var:c}}.c. {{#vardefine:p|²{#pos:²{#dpl:¦title=%TITLE%¦include=##.*Immune.*¦format=, }²¦{{#var:enemy}} }² }} .pos.{{#var:p}}.pos. .e/c. ²{#ifeq: ²{#var:p}²¦¦ ²{#sub:²{#var:c}²¦3¦-2}²¦²{#var:enemy}² }² .e/c. .dplfind. ²{#if: {{#pos:{{#dpl:|title=%TITLE%|include=##.*Immune.*|format=,|noresultsheader= }}|{{#var:enemy}} }} ¦{{#var:enemy}}¦ {{#sub:{{#var:c}}|3|-2}} }² .dplfind. .5ast.{{#rpos:{{#sub:{{#dpl:|title=%TITLE%|include=##.*Immune.*|format=,}}|0|{{#pos:{{#dpl:|title=%TITLE%|include=##.*Immune.*|format=,|noresultsheader=oops5}}|²{#if:²{#pos:{{#dpl:|title=%TITLE%|include=##.*Immune.*|format=,|noresultsheader=oops6}}¦{{#var:enemy}} }²¦{{#var:enemy}}¦²{#sub:{{#var:c}}¦3¦-2}² }² }} }}|*}} a{{#explode:{{#sub:{{#dpl:|title=%TITLE%|include=##.*Immune.*|format=,|noresultsheader=oops1}}|{{#rpos:{{#sub:{{#dpl:|title=%TITLE%|include=##.*Immune.*|format=,|noresultsheader=oops7}}|0|{{#pos:{{#dpl:|title=%TITLE%|include=##.*Immune.*|format=,|noresultsheader=oops8}}|²{#if:²{#pos:{{#dpl:|title=%TITLE%|include=##.*Immune.*|format=,|noresultsheader=oops9}}¦{{#var:enemy}} }²¦{{#var:enemy}}¦²{#sub:{{#var:c}}¦3¦-2}² }² }} }}|*}}|0}}|*|1}} z ,,¶¦} |noresultsfooter= nothing }} <!--{{#vardefine:t|Cursed Inferno}}{{#dpl:title={{#var:t}}|include=*|format=,}} you can use a var for title--> {{#dpl:|title={{#var:enemy}} |notcategorymatch=%translation |ordermethod=titlewithoutnamespace|order=ascending |include={{#dplvar:intro2}} |format=, }} {{#explode:[[hello|bye]]|||0}} {{#pos:{{#dpl:|title=Poisoned|include=##.*Immune.*|format=, |noresultsheader= }}|Snow Balla }} {{#pos:{{#dpl:|title=Venom|include=##.*Immune.*|format=, |noresultsheader= }}|Snow Balla }} <!-- {{#vardefine:p|{{#pos:{{#dpl:|title=%TITLE%|include=##.*Immune.*|format=, |noresultsheader= }}| {{#var:enemy}} }} }} no .31ep.²{#pos:{{#dpl:|title=%TITLE%|include=##.*Immune.*|format=, |noresultsheader= }}¦{{#var:enemy}} }².31. resultsheader=«pre»«nowiki» resultsfooter=«/nowiki»«/pre» {{#vardefine:p|²{#pos:²{#dpl:¦title=%TITLE%¦include=##.*Immune.*¦format=, ¦noresultsheader= }²¦²{#var:enemy}² }² }}--returns 1212 ²{#pos:²{#dpl:¦title=%TITLE%¦include=##.*Immune.*¦format=, ¦noresultsheader=nSnow Balla}²¦{{#var:enemy}} }² --works {{#vardefine:r|²{#if:²{#pos:{{#dpl:|title=%TITLE%|include=##.*Immune.*|format=,|noresultsheader=oops3}}¦{{#var:enemy}} }²¦{{#var:enemy}}¦²{#sub:{{#var:c}}¦3¦-2}² }² }} .5r.{{#var:r}} {{#vardefine:t|%TITLE%}}{{#var:t}} ²{#vardefine:s1¦{{#dpl:|title=%TITLE%|include=##.*Immune.*|format=,|noresultsheader=oops1}} }² .1t.{{#var:t}}.2s.{{#var:s1}}.3s.²{#var:s1}² |format ={¦ class="wikitable"¶!Debuff¶!NPC (and notes),{{#vardefine:t|%TITLE%}} ²{#vardefine:s1¦{{#dpl:|title=%TITLE%|include=##.*Immune.*|format=,|noresultsheader=oops1}} }² ¶¦-¶¦%TITLE%¶¦ t{{#var:t}} dpl²{#dpl:¦title=%TITLE%¦include=##.*Immune.*¦format=,¦noresultsheader=oops2}² s1{{#var:s1}} ²{#var:s1}² {{#vardefine:r¦²{#if:²{#pos:{{#dpl:|title=%TITLE%|include=##.*Immune.*|format=,|noresultsheader=oops1}}¦{{#var:enemy}} }²¦{{#var:enemy}}¦²{#sub:{{#var:c}}¦3¦-2}² }² }² \ris{{#var:r}} ast{{#rpos:{{#sub:%%|0|{{#pos:%%|{{#var:r}} }} }}|*}}a{{#explode:{{#sub:%SECTION%|{{#rpos:{{#sub:%%|0|{{#pos:%%|{{#var:r}} }} }}|*}}|0}}|*|1}}z,,¶¦} dpl²{#dpl:¦title=%TITLE%¦include=##.*Immune.*¦format=,¦noresultsheader=oops2}² mode=userformat |listseparators=,,,|secseparators=%SECTION% /\*\s*\[\[{{#var:enemy}} |include=##.*Immune.* |tablerow =²{#vardefine:r¦{{#if:{{#pos:%%¦{{#var:enemy}² }²¦²{#var:enemy}²¦²{#sub:²{#var:c}²¦3¦-2}²}²}² ²{#explode:²{#sub:%%¦²{#expr:²{#pos:%%¦²{#var:r}² }² }²¦0 }²¦*¦0}² ²{#expr:²{#len:%%}²-²{#pos:%%¦²{#var:r}² }² }² interior²{#sub:²{#var:c}²¦1¦-2}² ,/immune\sto.*%%.*\./s {{#if:{{#explode:{{#explode:{{#var:intro}}|immune to|1}}|.|0}}|¦%TITLE%}}/s ¦\*\s*All\s\[\[:Category:{{#var:ee5}} ¦\*\s*All\s\[\[:Category:{{#explode:{{#var:cl}}|*|2}} ¦\*\s*All\s\[\[:Category:{{#explode:{{#var:cl}}|*|3}} ¦\*\s*All\s\[\[:Category:{{#explode:{{#var:cl}}|*|4}} ¦\*\s*All\s\[\[:Category:{{#explode:{{#var:cl}}|*|5}} ¦\*\s*All\s\[\[:Category:{{#explode:{{#var:cl}}|*|6}} ¦\*\s*All\s\[\[:Category:{{#explode:{{#var:cl}}|*|1}} -- works ¦\*\s*All\s\[\[:Category:{{#var:e5}} --{{#vardefine:e5|Snowman NPCs}} works |includematch=/\[{{#var:p}}/s --works ²{#¦}² |format=,,¶²{#vardefine:l¦²{#explode:%CATBULLETS%¦*¦-1}²}²²{#explode:%CATBULLETS%¦*¦1}²¶, ²{#explode:%CATBULLETS%¦*¦1}² ²{#ifeq:²{#explode:%CATBULLETS%¦*¦2}²¦²{#var:l}²¦¦²{#explode:%CATBULLETS%¦*¦2}²}² ²{#ifeq:²{#explode:%CATBULLETS%¦*¦3}²¦²{#var:l}²¦¦²{#explode:%CATBULLETS%¦*¦3}²}² ²{#ifeq:²{#explode:%CATBULLETS%¦*¦4}²¦²{#var:l}²¦¦²{#explode:%CATBULLETS%¦*¦4}²}² ²{#ifeq:²{#explode:%CATBULLETS%¦*¦5}²¦²{#var:l}²¦¦²{#explode:%CATBULLETS%¦*¦5}²}² ²{#ifeq:²{#explode:%CATBULLETS%¦*¦6}²¦²{#var:l}²¦¦²{#explode:%CATBULLETS%¦*¦6}²}² ²{#ifeq:²{#explode:%CATBULLETS%¦*¦7}²¦²{#var:l}²¦¦²{#explode:%CATBULLETS%¦*¦7}²}² ²{#ifeq:²{#explode:%CATBULLETS%¦*¦8}²¦²{#var:l}²¦¦²{#explode:%CATBULLETS%¦*¦8}²}² ¶, }} <!-- |format=,,¶²{#explode:%CATBULLETS%¦*¦1}²¶, |format=,,¶%CATLIST%¶, |format=,,¶²{#pos:%CATLIST%¦,}²¶, |format=,,¶²{#sub:%CATLIST%¦0¦²{#pos:%CATLIST%¦,}²}²¶, -->

list of debuffs Golem is immune to[edit | edit source]

{{#dpl:|category=Debuffs |notcategorymatch=%translation |ordermethod=titlewithoutnamespace|order=ascending |include=##.*Immune.* |includematch=/\[Golem/ |count= |tablerow =,%TITLE% }}

List of all items crafted at the Tinkerer's Workshop[edit | edit source]

{{#dpl:|category=Tinkerer's Workshop |notcategorymatch=%translation |redirects=include |count= |ordermethod=titlewithoutnamespace|order=ascending |format=,¶*%TITLE%,¶, |resultsfooter=A total of %PAGES% items }} {{#dpl:|category=Tinkerer's Workshop |notcategorymatch=%translation |redirects=include |count= |ordermethod=titlewithoutnamespace|order=ascending |tablerow =  |resultsfooter=A total of %PAGES% items }}

Miscellaneous notes and stuff[edit | edit source]