Template:CreatureTable

From UO Outlands Wiki
Revision as of 20:04, 10 November 2024 by TheGmaster (talk | contribs)
Jump to navigation Jump to search

Editing this template will not change what the template displays, see CreatureTable#Editing for more information

CreatureTable generates a table for a creature with data pulled from a data module, like the example below of a Blood Daemon:

Editing this template will not change what the template displays, see CreatureTable#Editing for more information

CreatureTable generates a table for a creature with data pulled from a data module, like the example below of a Blood Daemon:

Template loop detected: Template:CreatureTable

Along with wild creatures this template can also display creatures from Strangelands or creatures found on ships, if specified. Creatures found in these circumstances often share their name and appearance with creatures found elsewhere but have unique stats; For example a Blood Daemon found on a daemon ship has the following stats:

Template loop detected: Template:CreatureTable

Parameters

Name Alias Default Value Function Example
name 1 CreatureTable The name of the creature to display, case-sensitive . Sun Wyrm
image 2 <creaturename>.jpg The name of the image file of the creature, by default the template links a jpg image with the creature's name, in all lowercase with no spaces. sunwyrm.jpg
type 3 wild* The type of creature to display; Wild, Ships, Strangelands. Not case-sensitive SHIPS/Ship/ShiP

Editing

This template is generated by Module:Creatures, which conditionally formats the creature data, this cannot be edited without a basic understanding of Lua, or at least general programming. However the creature's data is pulled from one of three sources depending on the type specified:

- Module:WildCreatureData - Module:ShipCreatureData - Module:StrangelandsCreatureData

Each modules documentation (linked at the top of their pages) gives details on how to structure data in the Lua tables, after editing it is recommended that editors make sure the template still functions properly.

These modules were created by User:TheGmaster, feel free to dm any questions/concerns requests directly via Discord @thegmaster1.

Lua error in Module:Creatures at line 15: bad argument #1 to 'lower' (string expected, got nil).

Along with wild creatures this template can also display creatures from Strangelands or creatures found on ships, if specified. Creatures found in these circumstances often share their name and appearance with creatures found elsewhere but have unique stats; For example a Blood Daemon found on a daemon ship has the following stats:

Editing this template will not change what the template displays, see CreatureTable#Editing for more information

CreatureTable generates a table for a creature with data pulled from a data module, like the example below of a Blood Daemon:

Template loop detected: Template:CreatureTable

Along with wild creatures this template can also display creatures from Strangelands or creatures found on ships, if specified. Creatures found in these circumstances often share their name and appearance with creatures found elsewhere but have unique stats; For example a Blood Daemon found on a daemon ship has the following stats:

Template loop detected: Template:CreatureTable

Parameters

Name Alias Default Value Function Example
name 1 CreatureTable The name of the creature to display, case-sensitive . Sun Wyrm
image 2 <creaturename>.jpg The name of the image file of the creature, by default the template links a jpg image with the creature's name, in all lowercase with no spaces. sunwyrm.jpg
type 3 wild* The type of creature to display; Wild, Ships, Strangelands. Not case-sensitive SHIPS/Ship/ShiP

Editing

This template is generated by Module:Creatures, which conditionally formats the creature data, this cannot be edited without a basic understanding of Lua, or at least general programming. However the creature's data is pulled from one of three sources depending on the type specified:

- Module:WildCreatureData - Module:ShipCreatureData - Module:StrangelandsCreatureData

Each modules documentation (linked at the top of their pages) gives details on how to structure data in the Lua tables, after editing it is recommended that editors make sure the template still functions properly.

These modules were created by User:TheGmaster, feel free to dm any questions/concerns requests directly via Discord @thegmaster1.

Lua error in Module:Creatures at line 15: bad argument #1 to 'lower' (string expected, got nil).

Parameters

Name Alias Default Value Function Example
name 1 CreatureTable The name of the creature to display, case-sensitive . Sun Wyrm
image 2 <creaturename>.jpg The name of the image file of the creature, by default the template links a jpg image with the creature's name, in all lowercase with no spaces. sunwyrm.jpg
type 3 wild* The type of creature to display; Wild, Ships, Strangelands. Not case-sensitive SHIPS/Ship/ShiP

Editing

This template is generated by Module:Creatures, which conditionally formats the creature data, this cannot be edited without a basic understanding of Lua, or at least general programming. However the creature's data is pulled from one of three sources depending on the type specified:

- Module:WildCreatureData - Module:ShipCreatureData - Module:StrangelandsCreatureData

Each modules documentation (linked at the top of their pages) gives details on how to structure data in the Lua tables, after editing it is recommended that editors make sure the template still functions properly.

These modules were created by User:TheGmaster, feel free to dm any questions/concerns requests directly via Discord @thegmaster1.