User:DBCu/Template:Sandbox

{| class="infobox" style="text-align:center;"
 * style="padding:3px 5px; font-size:110%; background:linear-gradient(to bottom, #202d3f, #29405e); color:white;"| 
 * .png
 * style="display:flex; align-items:center; text-align:left;" | Rarity:
 * style="display:flex; align-items:center; text-align:left;" | Rarity:
 * style="display:flex; align-items:center; text-align:left;" | Rarity:




 * style="display:flex; text-align:left;" | Released


 * style="display:flex; text-align:left;" | Origin

{{#if:{{{setname|}}}| {{!}} class="cosm-inf-setname" {{!}} {{{setname}}} {{!}}- {{!}} {{#if:{{{setitem1|}}} }} {{!}}}
 * {{#dowhile:|{{{setitem{{#vardefineecho:n|{{#expr:{{#var:n|1}}+1}}}}|}}}|1}}}}}|{{#cargo_query:table=cosmetic_items|fields=CONCAT(title)|where=_pagename="{{{setitem{{#var:n|1}}}}}"|limit=1|more results text=|no html}} }}
 * {{#vardefine:i|-1}}{{#while:|{{#vardefineecho:item|{{#explode:{{#cargo_query:table=cosmetic_items|fields=CONCAT(setitems__full)|where=title="{{{setname|}}}"|limit=1|more results text=|no html}}|,|{{#vardefineecho:i|{{#expr:{{#var:i}}+1}}}}}}}}| {{#cargo_query:table=cosmetic_items|fields=CONCAT(title)|where=_pagename="{{#var:item}}"|limit=1|more results text=|no html}} }}

Set Items
}}
 * }