4,977
editsMore actions
Testing suggested tweak to get non-explicitly common items to populate cargo table.
(Add missing default, wip) |
Llamageddon (talk | contribs) (Testing suggested tweak to get non-explicitly common items to populate cargo table.) Tag: Reverted |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{#lvardef:margin|{{#expr:0.01 * {{{size|40}}} }} }}{{#lvardef:size|{{{size|40}}} }}<span class="bg3wiki-itemicon-wrapper" {{#if:{{{no_padding|}}}||style="margin-left: {{#lvar:margin}}rem"}}>{{#cargo_query: | <includeonly><onlyinclude>{{#lvardef:margin|{{#expr:0.01 * {{{size|40}}} }} }}{{#lvardef:size|{{{size|40}}} }}<span class="bg3wiki-itemicon-wrapper" {{#if:{{{no_padding|}}}||style="margin-left: {{#lvar:margin}}rem"}}>{{#cargo_query: | ||
tables=item_icon | tables=item_icon | ||
|fields=TRIM(icon),CONCAT('', '{{#lvar:size}}'),rarity,CONCAT('', '{{{show_rarity|}}}'),CONCAT('', "{{{name}}}") | |fields=TRIM(icon),CONCAT('', '{{#lvar:size}}'),rarity,CONCAT('', '{{{show_rarity|common}}}'),CONCAT('', "{{{name}}}") | ||
|where=item_icon._pageName="{{{name}}}" | |where=item_icon._pageName="{{{name}}}" | ||
|limit=1 | |limit=1 |