Dead by Daylight Wiki
Advertisement

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

Data
  • Datatable - All data/values stored here
  • Datatable/SoS - All Template:IconLink data about weeks are stored here
  • Datatable/Icons - All Icons data. Used for all Icons and IconLinks
  • Datatable/Perks - All Template:IconLink data. (As for now the data are scattered but as the merge will be done, all perks data should be here and only here)
Functional Modules
  • DLCs - Functions related with DLCs
  • Killers - Functions related with Template:IconLink
  • Maps - Functions related with Maps and Template:IconLink
  • Perks - Functions related with Template:IconLink
  • SoS - Functions related with Template:IconLink
  • Survivors - Functions related with Template:IconLink
Utils / Tools
  • 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

List of Functions

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}}}}}}
Advertisement