Module:T-TLD: Difference between revisions
// via Wikitext Extension for VSCode |
// via Wikitext Extension for VSCode |
||
| Line 80: | Line 80: | ||
-- ELEMENTS | -- ELEMENTS | ||
if template.features.tldflair then | if template.features.tldflair then | ||
local ElementTLDFlair = | local ElementTLDFlair = ErrorHandling.safeRequire(errorContext, 'Module:ElementTLDFlair', false) | ||
if ElementTLDFlair and ElementTLDFlair.elementName then | if ElementTLDFlair and ElementTLDFlair.elementName then | ||
Blueprint.registerElement(ElementTLDFlair.elementName, ElementTLDFlair) | Blueprint.registerElement(ElementTLDFlair.elementName, ElementTLDFlair) | ||
| Line 88: | Line 88: | ||
if template.features.ntldstats then | if template.features.ntldstats then | ||
local ElementNTLDStats = | local ElementNTLDStats = ErrorHandling.safeRequire(errorContext, 'Module:ElementNTLDStats', false) | ||
if ElementNTLDStats and ElementNTLDStats.elementName then | if ElementNTLDStats and ElementNTLDStats.elementName then | ||
Blueprint.registerElement(ElementNTLDStats.elementName, ElementNTLDStats) | Blueprint.registerElement(ElementNTLDStats.elementName, ElementNTLDStats) | ||