Module:Affiliation/data

From ESU Wiki
Revision as of 08:55, 5 November 2024 by ESUFranchise (talk | contribs) (Created page with "local affiliationData = { KAYLABS = '25px Kayne Labs', ETHEREALS= '25px The Ethereals', TEAMBOLT = '25px Team Bolt', }")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This creates an affiliation template to make it easier for people to put in Affiliation info into Infoboxes.

Syntax

{{Affiliation}}

Example

{{Affiliation|ETHEREALS}} will create Lua error in Module:Affiliation at line 3: Module:Affiliation/data returned boolean, table expected. .


local affiliationData = {
	KAYLABS = '[[File:KAYLABS.svg|25px]] [[Kayne Labs]]',
	ETHEREALS= '[[File:ETHEREALS.svg|25px]] [[The Ethereals]]',
	TEAMBOLT = '[[File:PB.svg|25px]] [[Team Bolt]]',
}