Template:Corpse: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(convert "creatures that drop" to a favilink) |
||
Line 47: | Line 47: | ||
{{#if: {{{bits|}}}|{{infobox row|Disassembled Into|{{bits|{{{bits}}} }} }} }} | {{#if: {{{bits|}}}|{{infobox row|Disassembled Into|{{bits|{{{bits}}} }} }} }} | ||
{{infobox row|Creatures that drop|{{#cargo_query:table=Characters | {{infobox row|Creatures that drop|{{#cargo_query:table=Characters | ||
|fields= | |fields=CONCAT('{{(}}favilink id{{!}}',Characters.ObjectID,'{{)}}')=Page,CONCAT(CorpseChance,'%')= | ||
|where=Corpse='{{#replace:{{{id|}}}|'|''}}'|format=list|delimiter=</br>|limit=5}} }} | |where=Corpse='{{#replace:{{{id|}}}|'|''}}'|format=list|delimiter=</br>|limit=5}} }} | ||
{{#if: {{{dynamictable|}}} | {{infobox row|Spawns in|{{{dynamictable}}} }} }} | {{#if: {{{dynamictable|}}} | {{infobox row|Spawns in|{{{dynamictable}}} }} }} |
Revision as of 19:06, 17 November 2021
This template defines the table "Corpses". View table. This template adds rows to the table "GeneralData", which is declared by the template General data table. View table.