Template:GetMobDrops: Difference between revisions
imported>Starfox9507 No edit summary |
imported>.mythicangel No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 20: | Line 20: | ||
{{!}}- |
{{!}}- |
||
{{!}} [[{{{zone}}}]] {{!}}{{!}} {{{item}}} {{!}}{{!}} {{#expr:{{{rate}}} / 10}}% |
{{!}} [[{{{zone}}}]] {{!}}{{!}} {{{item}}} {{!}}{{!}} {{#expr:{{{rate}}} / 10}}% |
||
}} |}</onlyinclude></includeonly> |
|||
<!--This would need a while loop on the item from droprates to combine them into the zone name from spawncount. --> |
|||
<onlyinclude><includeonly> |
|||
{{#get_db_data:db = spawncount |
|||
| parameters={{{mob name|{{PAGENAMEE}}}}} |
|||
| data= count=mobcount, zoneSpawn=zonename |
|||
}} |
|||
{{#get_db_data:db = droprates |
|||
| parameters={{{mob name|{{PAGENAMEE}}}}} |
|||
| data=zoneDrop=zoneName,item=itemName,rate=itemRate |
|||
}}<!-- |
|||
-->{| class="mobs horizon-table table-xl" |
|||
! Zone !! Drops !! Spawns{{#for_external_table:|<nowiki/> |
|||
{{!}}- |
|||
{{!}} [[{{{zoneSpawn}}}]] {{!}}{{!}} [[{{{item}}}]] {{#expr:{{{rate}}} / 10}}% {{!}}{{!}} {{{count}}} |
|||
}} |}</onlyinclude></includeonly> |
}} |}</onlyinclude></includeonly> |
||
Latest revision as of 07:50, 21 September 2024
Usage
Work in progress...
Examples
{{GetMobDrops|mob name=Seeker_Bats}}
Error: Incomplete information for this database ID spawncount (type).
Error: Incomplete information for this database ID spawncount (user/user file).
Error: Incomplete information for this database ID spawncount (name).
Error: Incomplete information for this database ID spawncount (server).
Error: No "from / join on" parameter specified.{| class="wikitable"
! zonename !! mobcount
|}
Error: Incomplete information for this database ID droprates (type).
Error: Incomplete information for this database ID droprates (user/user file).
Error: Incomplete information for this database ID droprates (name).
Error: Incomplete information for this database ID droprates (server).
Error: No "from / join on" parameter specified.{| class="wikitable"
! zone !! item !! rate |}
Error: Incomplete information for this database ID spawncount (type).
Error: Incomplete information for this database ID spawncount (user/user file).
Error: Incomplete information for this database ID spawncount (name).
Error: Incomplete information for this database ID spawncount (server).
Error: No "from / join on" parameter specified.
Error: Incomplete information for this database ID droprates (type).
Error: Incomplete information for this database ID droprates (user/user file).
Error: Incomplete information for this database ID droprates (name).
Error: Incomplete information for this database ID droprates (server).
Error: No "from / join on" parameter specified.{| class="mobs horizon-table table-xl"
! Zone !! Drops !! Spawns |}