User:Llamageddon/ItemImages: Difference between revisions

Jump to navigation Jump to search
m
Fix as demonstrated by Taylan/technical channel.
mNo edit summary
m (Fix as demonstrated by Taylan/technical channel.)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{{#cargo_query:  
>{{#cargo_query:  
tables=equipment
tables=equipment
|fields=name, image, icon, type
|fields=CONCAT('<div style="text-align: center; vertical-align: middle;">', '{{((}}ItemIcon{{!}}name=', name, '{{!}}size=50{{!}}show_rarity=true{{!}}no_padding=true{{))}}<br>', '[[', name, ']]', '</div>')=Item, image=Image, type=Type
|order by=name, DESC
|format=dynamic table
|format=dynamic table
|order by=rarity_order DESC, name
|searchable columns=yes
|searchable columns=yes
|limit=500
|limit=500
|rows per page=10
|rows per page=10
|column widths=100px,80%,40%,15%,10%,10%,10%,10%
|column widths=100px
}}</onlyinclude></includeonly>
}}<noinclude>
{{#cargo_declare:
_table = item_images
| name = String (unique; mandatory)
| image = File
| icon = File
| type = String
}}</noinclude>

Navigation menu