SurtrFan8511

Joined 21 November 2019
725 bytes added ,  15:23, 13 July 2020
no edit summary
Line 209: Line 209:
{{#masterdata:Card|121910}}
{{#masterdata:Card|121910}}
{{#masterdata:Card|121911}}-->
{{#masterdata:Card|121911}}-->
{{#arraydefine:weighted transients|{{#ask:
[[Has weight::+]]
|?Has English name|mainlabel=-|headers=hide|link=none|limit=5000}}}}{{#arrayunique:weighted transients}}{{#arrayprint:weighted transients||@@@|<!--trimming text until it becomes a number
-->{{#vardefine:i|1}}{{#vardefine:num|}}{{#while:
| {{#ifeq: {{#expr:{{#sub:{{#show:@@@|?Has subobject.Has weight}}|0|{{#var:i}}}} > 0}}|1|true}}
| {{#vardefine:num|{{#sub:{{#show:@@@|?Has subobject.Has weight}}|0|{{#var:i}}}}}}{{#vardefine:i|{{#expr:{{#var:i}} + 1}}}}
}}<!--creating subobject
-->{{#if:{{#var:num|}}|{{#subobject:weight{{#vardefineecho:weightnumber|{{#expr:{{#var:weightnumber|-1}}+1}}}}
| Has English name = @@@
| Has numbered weight = {{#var:num}}
}}}}}}


=Comments=
=Comments=


{{Comments}}
{{Comments}}
trusted
5,920

edits