Jump to content

Module:GrantmakingNavbar/pages

From Meta, a Wikimedia project coordination wiki
Module documentation

local m = {}

local default_bgcolor = "#a1a3a4"

m.pagePath = {}
m.titleKey = {}
m.marginLeft = {}
m.bgInactive = {}
m.bgActive = {}

m.pagePath[1] = "Start"
m.pagePath[2] = "Conference"
m.pagePath[3] = "Project/Rapid"
m.pagePath[4] = "Project"
m.pagePath[5] = "Simple"
m.pagePath[6] = "APG/Information"
m.pagePath[7] = "Risk assessment during COVID-19"

--titles are stored at Template:GrantmakingNavbar/Content and its langcode sub-pages
m.titleKey[1] = "gm-title"
m.titleKey[2] = "conference-title"
m.titleKey[3] = "rapid-title"
m.titleKey[4] = "project-title"
m.titleKey[5] = "simple-title"
m.titleKey[6] = "apg-title"
m.titleKey[7] = "covid19-title"

m.bgInactive[1] = "#656565"
m.bgInactive[2] = default_bgcolor
m.bgInactive[3] = default_bgcolor
m.bgInactive[4] = default_bgcolor
m.bgInactive[5] = default_bgcolor
m.bgInactive[6] = default_bgcolor
m.bgInactive[7] = default_bgcolor

m.bgActive[1] = "#656565"
m.bgActive[2] = "#4ABDAC"
m.bgActive[3] = "#f2a31b"
m.bgActive[4] = "#f21b6a"
m.bgActive[5] = "#66CCCC"
m.bgActive[6] = "#00af8b"
m.bgActive[7] = "#4ABDAC"

return m