Template:Corpse pop table: Difference between revisions

fix % chance display in Corpse infobox
(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>