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 = { --REVIEW
template.config.blockSequence = {
--     'title',
     'title',
--     'logo',
     'logo',
--     'fields',
     'fields',
--     'socialMedia',
    'navigation',
--     'semanticProperties',
     'socialMedia',
--     'categories',
     'semanticProperties',
--     'errors'
     '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', 4)
Blueprint.addElementToTemplate(template, 'navigation')
     template.config.navigation = {
     template.config.navigation = {
         prevLabel = "← %s",
         prevLabel = "← %s",