Template:Corpse: Difference between revisions
Jump to navigation
Jump to search
(support overrideimages) |
m (exclude tooltips from search index) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 33: | Line 33: | ||
Variable Definition | Variable Definition | ||
-->{{#vardefine:name|{{{title|{{PAGENAME}} }}} }}<!--- | -->{{#vardefine:name|{{{title|{{PAGENAME}} }}} }}{{#vardefine:id|{{{id|}}}}}<!--- | ||
Infobox Start | Infobox Start | ||
Line 44: | Line 44: | ||
{{infobox row|Weight|{{{weight|5}}}{{pounds}} }} | {{infobox row|Weight|{{{weight|5}}}{{pounds}} }} | ||
{{infobox row|[[Commerce]]|{{{commerce|}}} }} | {{infobox row|[[Commerce]]|{{{commerce|}}} }} | ||
{{#if: {{{butcheredinto|}}}|{{infobox row|Butchered Into|{{{butcheredinto}}} }} }} | {{#if: {{{butcheredinto|}}}|{{infobox row|[[Butchered]] Into|{{{butcheredinto}}} }} }} | ||
{{#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|fields= | {{infobox row|Creatures that drop|{{#cargo_query:table=Characters | ||
|fields=CONCAT('{{(}}favilink id{{!}}',Characters.ObjectID,'{{)}}')=Page,CONCAT(CorpseChance,'%')= | |||
|where=Corpse='{{#replace:{{{id|}}}|'|''}}'|format=list|delimiter=</br>|limit=5}} }} | |||
{{#if: {{{dynamictable|}}} | {{infobox row|Spawns in|{{{dynamictable}}} }} }} | {{#if: {{{dynamictable|}}} | {{infobox row|Spawns in|{{{dynamictable}}} }} }} | ||
{{infobox row|ID{{Tooltip|Use this ID to [[Wishes|Wish]] for the item}}|{{{id}}} }} | {{infobox row|ID{{Tooltip|Use this ID to [[Wishes|Wish]] for the item||nosearch}}|{{{id}}} }} | ||
}}<!-- | }}<!-- | ||
Latest revision as of 19:35, 16 December 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.