Narrowed it down to this block.
{{#dpl:
|category=Category:Sets that improve Ranged Defense
|mode=userformat
|listseparators=,,\n,
|includepage={InvSetOverview}ClassName.dpl,{Set Bonus}-EffectLine.dpl
|includematch=,/class\s*=\s*Defense.+?type[1-9]?\s*=\s*Ranged/s
|shownamespace=false}}
|}
Still parsing...