Template:Corpse pop table: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
m (Teamtoto moved page Template:Population table to Template:Corpse pop table without leaving a redirect)
m (test format change to better distinguish items)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=CorpseTables|Population=String|Object=Page|ObjectID=String|Number=Integer|Weight=Integer}}</noinclude><includeonly>{{#cargo_store:_table=CorpseTables|Population={{{population|}}}|Object={{{object|}}}|ObjectID={{{id|}}}|Number={{{num|1}}}|Weight={{{weight|100}}}}}
<noinclude>{{#cargo_declare:_table=CorpseTables
{{#ifeq: {{{object|}}} | nothing |Nothing|[[{{{object|}}}]]}} {{#ifeq: {{{num|}}} | 1 ||x{{{num}}}}}({{{weight|100}}}%)</includeonly><noinclude>[[Category:Templates]]
|Population=String
|Object=Page
|ObjectID=String
|Number=Integer
|Weight=Integer
|Chance=Float
|JoinKey=String
|MainObjectID=String}}</noinclude><includeonly>{{#cargo_store:_table=CorpseTables
|Population={{{population|}}}
|Object={{{object|}}}
|ObjectID={{{id|}}}
|Number={{{num|1}}}
|Weight={{{weight|100}}}
|Chance={{{chance|100}}}
|JoinKey={{FULLPAGENAME}}
|MainObjectID = {{#var:id|}}
}}<!--
 
  Cargo End
 
--><p>{{#ifeq: {{{object|}}} | nothing |Nothing|{{favilink|{{{object|}}} }} }} {{#ifeq: {{{num|1}}} | 1 ||x{{{num}}}}}({{{chance|100}}}%)</p></includeonly><noinclude>[[Category:Cargo Store Templates]]
</noinclude>
</noinclude>

Latest revision as of 14:45, 19 January 2024

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