Jump to content

Template:MonsterDropRow: Difference between revisions

From Apogea Wiki
Dane (talk | contribs)
Fix empty max handling with #if check (via update-page on MediaWiki MCP Server)
Dane (talk | contribs)
Use sprite param from join, fallback to item name (via update-page on MediaWiki MCP Server)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>|-
<includeonly>|-
| {{Sprite|{{{item}}}|32}}
| {{Sprite|{{{sprite|{{{item}}}}}}|32}}
| [[{{{item}}}]]
| [[{{{item}}}]]
| {{#if:{{{max|}}}|{{#ifeq:{{{min}}}|{{{max}}}|{{{max}}}|{{{min}}}-{{{max}}}}}|{{{min}}}}}
| {{#if:{{{max|}}}|{{#ifeq:{{{min}}}|{{{max}}}|{{{max}}}|{{{min}}}-{{{max}}}}}|{{{min}}}}}
| {{{rarity}}}
| {{{rarity}}}
</includeonly>
</includeonly>

Latest revision as of 00:46, 28 January 2026