Dead by Daylight Wiki

Current Tome: Tome VIII - Deliverance
Featuring Jake Park SurvivorJake.png and The Clown IconHelpLoading clown.png
TomeVIII Deliverance Banner.jpg

READ MORE

Dead by Daylight Wiki
Advertisement

This is the documentation page for Module:Datatable/Icons

Template-info.png Documentation

Example of adding a new Icon:

icons = {
	...
	{icon = "Mint Rag", iconFile = "FulliconAddon mintRag.png", extension = "png", name = "mintRag", group = "Fullicon", category = "Addon"},
	...
}

Attention! Do not move the first item in list!

Retrieving Icon Filename[]

  • {{#Invoke:Utils|getIcon|Mint Rag}} Will simply provide the iconFile value of Mint Rag. The first parameter is the name of icon you're looking for. After calling the function you get this:

FulliconAddon mintRag.png


  • After entering it instead of filename like that [[File:{{#Invoke:Utils|getIcon|Mint Rag}}|128px|thumb|center]] Will result into this:
FulliconAddon mintRag.png


Parameters[]

  • icon - [Mandatory] identifier for element. This value is used to lookup in list.
  • iconFile - [Mandatory] property keeping the name of file and used to this purpose, right now.
  • extension - [Optional] determines which file type format the file is supposed to be.
  • name - [Optional] is the part of file name, specifically it is the unique part of the filename.
  • group - [Optional] is the part of file name, specifically it is the first part of the filename determining which group of icon the image belongs to. Currently there are several groups:
    • Ach
    • Fullicon
    • Icon
    • IconHelp
    • DailyRitual
    • Charm
    • Unknown
  • category - [Optional] is the part of file name, specifically it is the first part of the filename determining which category of icon under group the image belongs to. Currently there are these categories:
    • Addon
    • Items
    • Favors
    • Perks
    • Loading
    • StatusEffects
    • Powers

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.

Advertisement