Dead by Daylight Wiki

Current Tome: Tome IX - Crescendo

Featuring Yun-Jin Lee SurvivorYun-Jin.png and The Trickster IconHelpLoading trickster.png

TomeIX Crescendo Banner.jpg

READ MORE

Dead by Daylight Wiki
Advertisement

--DO NOT CHANGE
bar = "|" -- code for |
br = "<br>" --break
brnl = "<br>\n" --break new line
space = " "
dot = "."
comma = ", "
colon = ":"
bullet = "\n* " --deprecated, do not use!
nbullet = "*" --newBullet -> please use this version, the old will be removed eventually
dbullet = "\n** " --deprecated
ndbullet = "**"
nl = "\n" --new line
dnl = "\n\n" -- double new line
tnl = "\n\n\n" --tripple new line
nlp = "\n<p>" --new line paragraph
pg = "<p>" --paragraph
ntl = "|-" -- new table line
hl = "! " -- header line
tl = "|" --table line
dtl = "||" -- double table line

--common strings
cstr = {
	file = "File:", --[[File: ...]]
	media = "Media:",
	empty = "",
	the = "The",
	contact = "Please Contact [[User:Jouki|Jouki]]",
	
	--File Formats
	ogg = 'ogg',
	mp3 = 'mp3',
	mp4 = 'mp4',
	jpg = 'jpg',
	jpeg= 'jpeg',
	png = 'png',
	gif = 'gif',
}

--iconLinkStrings
ils = {
	-- Interaction
	baseHooks		= "Basement Hooks",
	blastMines		= "Blast Mines",
	bWall			= "Breakable Wall",
	bWalls			= "Breakable Walls",
	boonTotem		= "Boon Totem",
	chest			= "Chest",
	chests			= "Chests",
	dullTotem		= "Dull Totem",
	eMedkit			= "Emergency Med-Kit",
	exitGate		= "Exit Gate",
	exitGates		= "Exit Gates",
	eGateSwitches	= "Exit Gate Switches",
	failedSChecks	= "Failed Skill Checks",
	firecrackers	= "Firecrackers",
	flashlights		= "Flashlights",
	flashbangs		= "Flashbangs",
	flashGrenade	= "Flash Grenade",
	gen				= "Generator",
	gens			= "Generators",
	gSkillCheck		= "Good Skill Check",
	gSkillChecks	= "Good Skill Checks",
	hatch			= "Hatch",
	hexTotem		= "Hex Totem",
	hexTotems		= "Hex Totems",
	hook			= "Hook",
	hooks			= "Hooks",
	item			= "Item",
	items			= "Items",
	locker			= "Locker",
	lockers			= "Lockers",
	map				= "Map",
	medkit			= "Med-Kit",
	medkits			= "Med-Kits",
	pallet			= "Pallet",
	pallets			= "Pallets",
	survivor		= "Survivor",
	survivors		= "Survivors",
	skillCheck		= "Skill Check",
	skillChecks		= "Skill Checks",
	toolbox			= "Toolbox",
	totem			= "Totem",
	totems			= "Totems",
	greatSCheck		= "Great Skill Check",
	greatSChecks	= "Great Skill Checks",
	window			= "Window",
	windows			= "Windows",
	
	-- UI (Status Effects, Auras)
	adrenaline		= "Adrenaline",
	aura			= "Aura",
	auras			= "Auras",
	bleeding		= "Bleeding",
	blindness		= "Blindness",
	bloodlust		= "Bloodlust",
	broken			= "Broken",
	cursed			= "Cursed",
	deepWound		= "Deep Wound",
	endurance		= "Endurance",
	exhausted		= "Exhausted",
	exhaustion		= "Exhaustion",
	exposed			= "Exposed",
	haemorrhage		= "Haemorrhage",
	haste			= "Haste",
	hindered		= "Hindered",
	incapacitated	= "Incapacitated",
	luck			= "Luck",
	mangled			= "Mangled",
	obsession		= "Obsession",
	oblivious		= "Oblivious",
	undetectable	= "Undetectable",
	
	-- Killers
	killer			= "Killer",
	nightmare		= "Nightmare",
	
	-- Misc.
	addon			= "Add-on",
	altruism		= "Altruism",
	basement		= "Basement",
	bloodpoints		= "Bloodpoints",
	crows			= "Crows",
	devious			= "Deviousness",
	dyingState		= "Dying State",
	entity			= "Entity",
	healthState		= "Health State",
	healthy			= "Healthy",
	hunter			= "Hunter",
	injuredState    = "Injured State",
	poolsBlood		= "Pools of Blood",
	scratchMarks	= "Scratch Marks",
	stillCrows      = "Stillness Crows",
	terrorRadius	= "Terror Radius",
}

function clr(color, text)
	local utils = require("Module:Utils")
	return utils.clr(text, color)
end

function bclr(color, text)
	local utils = require("Module:Utils")
	return b(utils.clr(text, color))
end

function iclr(color, text)
	local utils = require("Module:Utils")
	return i(utils.clr(text, color))
end

function link(text)
	return '[[' .. text .. ']]'
end

function brackets(text)
	return '(' .. text .. ')'
end

--bold function
function b(text)
	return "'''" .. text .. "'''"
end

--italic function
function i(text)
	return "''" .. text .. "''"
end

function the(alter)
	return (type(alter) == "table" and alter.the) or alter or cstr.the
end
Advertisement