Module:T-Event: Difference between revisions
// via Wikitext Extension for VSCode |
// via Wikitext Extension for VSCode |
||
| Line 57: | Line 57: | ||
-- CONTROL THE VISUAL ORDER OF THE DIFFERENT ASPECTS THAT COMPOSE THE TEMPLATE | -- CONTROL THE VISUAL ORDER OF THE DIFFERENT ASPECTS THAT COMPOSE THE TEMPLATE | ||
template.config.blockSequence = { | |||
'title', | |||
'logo', | |||
'fields', | |||
'navigation', | |||
'socialMedia', | |||
'semanticProperties', | |||
'categories', | |||
'errors' | |||
} | |||
-- ================================================================================ | -- ================================================================================ | ||
| Line 75: | Line 76: | ||
if ElementNavigation and ElementNavigation.elementName then | if ElementNavigation and ElementNavigation.elementName then | ||
Blueprint.registerElement(ElementNavigation.elementName, ElementNavigation) | Blueprint.registerElement(ElementNavigation.elementName, ElementNavigation) | ||
Blueprint.addElementToTemplate(template, 'navigation') | |||
template.config.navigation = { | template.config.navigation = { | ||
prevLabel = "← %s", | prevLabel = "← %s", | ||