Template:Corpse pop table: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(Add chance (calculated when weights don't add up to 100))
(fix % chance display in Corpse infobox)
Line 20: Line 20:
   Cargo End
   Cargo End


-->{{#ifeq: {{{object|}}} | nothing |Nothing|{{favilink|{{{object|}}} }} }} {{#ifeq: {{{num|1}}} | 1 ||x{{{num}}}}}({{{weight|100}}}%)</includeonly><noinclude>[[Category:Cargo Store Templates]]
-->{{#ifeq: {{{object|}}} | nothing |Nothing|{{favilink|{{{object|}}} }} }} {{#ifeq: {{{num|1}}} | 1 ||x{{{num}}}}}({{{chance|100}}}%)</includeonly><noinclude>[[Category:Cargo Store Templates]]
</noinclude>
</noinclude>

Revision as of 17:22, 21 December 2021

This template defines the table "CorpseTables". View table.