Template:Furniture data store: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(Creating a FurnitureData Cargo Table)
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 19: Line 19:
| chairlevel for this furniture, if applicable
| chairlevel for this furniture, if applicable
|}
|}
Note that, because this table currently stores only "ChairLevel", it only has chairs in it (not all furniture).
</noinclude><includeonly>{{#cargo_store:_table=FurnitureData
</noinclude><includeonly>{{#cargo_store:_table=FurnitureData
|ChairLevel={{{chairlevel|}}}
|ChairLevel={{{chairlevel|}}}
|JoinKey={{FULLPAGENAME}}
|JoinKey={{FULLPAGENAME}}
}}</includeonly>
}}</includeonly>

Latest revision as of 18:56, 24 September 2021

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

This template should be called exclusively from the Template:Item and Template:Character pages. The template has no actual output, it simply stores the data in cargo.

parameter type default description
chairlevel integer NULL chairlevel for this furniture, if applicable

Note that, because this table currently stores only "ChairLevel", it only has chairs in it (not all furniture).