Upcoming Releases & Event: Mid-Chapter 4.3.0 & Tome V - Unleashed, and The Eternal Blight Event
20 & 21 October respectively; 21 October - 4 November 2020

Modules

From Dead by Daylight Wiki
Jump to: navigation, search

Modules are special pages containing data, functions or scripts that help to keep the wiki easy to maintain. All variables data are stored in Datatable. Functions are divided into separate modules in order to keep base clarity between scripts' functionality. There are several utility Modules storing modules that either doesn't have a distinct category or the function performs a task that's common across multiple Modules/categories.

List of Modules[edit | edit source]

Data[edit | edit source]
Functional Modules[edit | edit source]
Utils / Tools[edit | edit source]
  • Languages - Language functions. Mainly used for resolving for pages in other unofficial wiki language
  • MathOps - Mathemtical operations
  • Utils - Any sort of tool function (such as sorting, converting, searching or counting table elements)


Not used / Other[edit | edit source]

List of Functions[edit | edit source]

There are actually more functions but these are not used externally (from wiki)

WIP

{{#Invoke:Maps|assembleMapPageHeader}} - The invocation that renders whole header (table + brief info) of map
{{#Invoke:Maps|assembleMapsForRealms|The MacMillan Estate}} - This creates list of maps displayed in table, the parameter is Realm Name
{{#Invoke:Maps|getCountOfRealms}} - Get count of Realms
{{#Invoke:Maps|getCountOfRealmMapsByName}} - Get count of maps by Realm Name
{{#Invoke:Killers|getCountOfKillers}} - Get count of Killers
{{#Invoke:Survivors|getCountOfSurvivors}} - Get count of Survivors
{{#Invoke:Languages|resolveLanguageTable}} - As soon as the page has a translation, use this invocation to show up a banner of other languages (put it at very first line on page)
{{#Invoke:DLCs|getListOfDlcChapters}} - Get Linked list of Chapter DLCs
{{#Invoke:Utils|getIcon|Icon}} - Get Icon filename based on parameter Icon. The list of available icons can be found in Module:Datatable/Icons
{{#Invoke:Perks|getPerkDescriptionByName|{{#titleparts:{{PAGENAME}}}}}}