Template:ItemSourceRow: Difference between revisions
Add monster sprite in first column (via update-page on MediaWiki MCP Server) |
Fix empty max handling with #if check (via update-page on MediaWiki MCP Server) |
||
| Line 2: | Line 2: | ||
| {{MonsterPreview|{{{source}}}|32}} | | {{MonsterPreview|{{{source}}}|32}} | ||
| [[{{{source}}}]] | | [[{{{source}}}]] | ||
| {{#ifeq:{{{min}}}|{{{max}}}|{{{max}}}|{{{min}}}-{{{max}}}}} | | {{#if:{{{max|}}}|{{#ifeq:{{{min}}}|{{{max}}}|{{{max}}}|{{{min}}}-{{{max}}}}}|{{{min}}}}} | ||
| {{{rarity}}} | | {{{rarity}}} | ||
</includeonly> | </includeonly> | ||