Difference between revisions of "Template:Transient weight table"
Jump to navigation
Jump to search
SurtrFan8511 (talk | contribs) |
SurtrFan8511 (talk | contribs) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
| {{#vardefine:num|{{#sub:{{#show:@@@|?Has subobject.Has weight}}|0|{{#var:i}}}}}}{{#vardefine:i|{{#expr:{{#var:i}} + 1}}}} | | {{#vardefine:num|{{#sub:{{#show:@@@|?Has subobject.Has weight}}|0|{{#var:i}}}}}}{{#vardefine:i|{{#expr:{{#var:i}} + 1}}}} | ||
}}<!--creating subobject | }}<!--creating subobject | ||
-->{{#if:{{#var:num|}}|{{#subobject:weight | -->{{#if:{{#var:num|}}|{{#subobject:weight@@@ | ||
| Has English name = @@@ | | Has English name = @@@ | ||
| Has numbered weight = {{#var:num}} | | Has numbered weight = {{#var:num}} | ||
}}}}}}<!--printing the table | }}}}}}<!--printing the table | ||
-->{{#ask: | --><table class="wikitable sortable"> | ||
<tr> | |||
<th>Transient</th> | |||
<th>Weight</th> | |||
<tr/>{{#ask: | |||
[[Has numbered weight::+]] | [[Has numbered weight::+]] | ||
|?Has English name | |?Has English name | ||
|?Has numbered weight= | |?Has numbered weight | ||
|format=template | |||
|template=Transient weight table result format | |||
|named args=yes | |||
|limit=5000|mainlabel=-}} | |limit=5000|mainlabel=-}} | ||
</includeonly></onlyinclude><noinclude>{{Transient weight table}}</noinclude> | </table> | ||
</includeonly></onlyinclude><noinclude>Invoke this template by typing <code><nowiki>{{Transient weight table}}</nowiki></code></noinclude> |
Latest revision as of 15:44, 13 July 2020
Invoke this template by typing {{Transient weight table}}