Module:T-Person: Difference between revisions

// via Wikitext Extension for VSCode
// via Wikitext Extension for VSCode
Line 57: Line 57:
Blueprint.initializeConfig(template)
Blueprint.initializeConfig(template)


-- Set the template ID and title styling options
-- Set the template ID
template.config.meta = template.config.meta or {}
template.config.meta = template.config.meta or {}
template.config.meta.templateId = "person"
template.config.meta.templateId = "person"
template.config.meta.titleOptions = {
    className = "template-title-person" -- Apply the CSS class for green background
}


-- CONTROL THE VISUAL ORDER THAT EACH ASPECT IS RENDERED IN
-- CONTROL THE VISUAL ORDER THAT EACH ASPECT IS RENDERED IN