Ad placeholder

Template:Infobox creature/passives format: Difference between revisions

Jump to navigation Jump to search
Specifying item always overrides, otherwise it will use the icon
mNo edit summary
(Specifying item always overrides, otherwise it will use the icon)
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
| block = yes
| block = yes
| size = 25
| size = 25
| {{#if: {{{icon|}}}
| {{#if: {{{item|}}}
  | {{{icon}}}
   | {{#cargo_query: tables = item_icon
   | {{#if: {{{item|}}}
    | fields = icon
    | {{#cargo_query: tables = item_icon
    | where = _pageName = "{{{item}}}"
      | fields = icon
    | format = template
      | where = _pageName = "{{{item}}}"
    | template = trim
      | format = template
    | limit = 1
      | template = trim
     | more results text =
      }}
     | Generic Feature Icon.webp
     }}
     }}
  | {{#if: {{{icon|}}} | {{{icon}}} | Generic Feature Icon.webp }}
   }}
   }}
| {{{_pageName}}}
| {{{_pageName}}}

Navigation menu