Module:Probox/Default: Difference between revisions
From Black Cat Studios
Jump to navigationJump to search
en>Pharos m (100 revisions imported from meta:Module:Probox/Default) |
m (1 revision imported) |
Latest revision as of 00:29, 20 June 2023
Documentation for this module may be created at Module:Probox/Default/doc
local m = {} m.styles = {} m.sections = {} m.fields = {} m.categories = {} m.roles = {} m.roles.creator = true m.roles.member = true m.roles.default = "member" m.sections.above = true m.sections.nav = false m.sections.head = true m.sections.main = true m.sections.participants = true m.sections.cta = true m.sections.below = true m.styles.box = {} m.styles.box.outer = "float:right; margin: 0 0 1em 4%; min-width: 22em; width: 28%;" m.styles.box.inner = "background-color: #eeeeee; color: #000000; border-left: 1px solid #ddd; border-top: 1px solid #ddd; border-right: 1px solid #ddd; border-bottom: 3px solid #D0D0D0; border-radius: 1px; padding: 12px 20px 20px 20px;" m.styles.section = {} m.styles.section.above = "" m.styles.section.nav = "background-color: #f9a01b; padding: .25em 0 0 1em; font-size: 1.3em" m.styles.section.head = "margin-bottom:1em;" m.styles.section.main = "margin-bottom:1em;" m.styles.section.participants = "background-color:white; border: 1px solid #DDD; border-radius: 1px; margin-bottom:.5em; padding:.75em;" m.styles.section.cta = "clear:both;" m.styles.section.below = "" m.styles.field = {} m.styles.field.h1 = "" m.styles.field.h2 = "margin-bottom:0.5em;" m.styles.field.p = "" m.styles.field.img = "" -- -- fields -- -- above box m.fields.status = {} m.fields.status.isRequired = true m.fields.status.vtype = "text" m.fields.status.vtype2 = "body" m.fields.status.style = "" m.fields.status.style2 = "font-style:italic; padding-right:.5em; color: #888888" m.fields.status.style3 = "font-weight:bold" m.fields.status.section = "above" m.fields.status.arg = "status" m.fields.status.key = "status" m.fields.status.default = "status-default" m.fields.status.rank = 1 -- nav section m.fields.nav_icon = {} m.fields.nav_icon.isRequired = true m.fields.nav_icon.vtype = "image" m.fields.nav_icon.style = "display:inline; padding-right:.25em;" m.fields.nav_icon.style2 = "" m.fields.nav_icon.style3 = "" m.fields.nav_icon.section = "nav" m.fields.nav_icon.width = "25px" m.fields.nav_icon.alignment = "top" m.fields.nav_icon.arg = "nav_icon" m.fields.nav_icon.default = "File:Meta-logo-35px.png" m.fields.nav_icon.key = "" m.fields.nav_icon.rank = 1 m.fields.nav_text = {} m.fields.nav_text.isRequired = true m.fields.nav_text.vtype = "text" m.fields.nav_text.style = "display:inline;" m.fields.nav_text.style2 = "color:#FFFFFF" m.fields.nav_text.style3 = "" m.fields.nav_text.section = "nav" m.fields.nav_text.arg = "nav_text" m.fields.nav_text.key = "portal" m.fields.nav_text.default = "portal-default" m.fields.nav_text.rank = 2 -- head section m.fields.project = {} m.fields.project.isRequired = true m.fields.project.vtype = "text" m.fields.project.vtype2 = "title" m.fields.project.style = "display:inline;" m.fields.project.style2 = "" m.fields.project.style3 = "font-size: 1.3em;" m.fields.project.section = "head" m.fields.project.arg = "project" m.fields.project.key = "" m.fields.project.default = "title-default" m.fields.project.rank = 1 m.fields.image = {} m.fields.image.isRequired = false m.fields.image.vtype = "image" m.fields.image.vtype2 = "thumb" m.fields.image.style = "" m.fields.image.style2 = "" m.fields.image.style3 = "float:right;" m.fields.image.section = "main" m.fields.image.arg = "image" m.fields.image.key = "" m.fields.image.width = "50px" m.fields.image.rank = 1 -- main section m.fields.summary = {} m.fields.summary.isRequired = true m.fields.summary.vtype = "text" m.fields.summary.vtype2 = "body" m.fields.summary.style = m.styles.field.h2 m.fields.summary.style2 = "color: #888888; font-style: italic;" m.fields.summary.style3 = "display:block;" m.fields.summary.section = "main" m.fields.summary.arg = "summary" m.fields.summary.key = "" m.fields.summary.default = "summary-default" m.fields.summary.rank = 2 --participants section m.fields.more_participants = {} m.fields.more_participants.key = "more-participants" m.fields.creator = {} m.fields.creator.isRequired = false m.fields.creator.vtype = "participant" m.fields.creator.style = m.styles.field.h2 m.fields.creator.style2 = "" m.fields.creator.style3 = "display:block;" m.fields.creator.section = "participants" m.fields.creator.arg = "creator" m.fields.creator.key = "creator" m.fields.creator.rank = 1 m.fields.member = {} m.fields.member.isRequired = false m.fields.member.vtype = "participant" m.fields.member.style = m.styles.field.h2 m.fields.member.style2 = "" m.fields.member.style3 = "display:block;" m.fields.member.section = "participants" m.fields.member.arg = "member" m.fields.member.key = "member" m.fields.member.rank = 2 -- call to action section (buttons, etc) m.fields.talk = {} m.fields.talk.isRequired = true m.fields.talk.vtype = "text" m.fields.talk.vtype2 = "link" m.fields.talk.style = "display: inline; float:left; margin-right: 1em; margin-top: .5em" m.fields.talk.style2 = "" m.fields.talk.style3 = "" m.fields.talk.section = "cta" m.fields.talk.arg = "talk" m.fields.talk.key = "talk" m.fields.talk.rank = 1 m.fields.join = {} m.fields.join.isRequired = true m.fields.join.vtype = "image" m.fields.join.vtype2 = "ui_button" m.fields.join.style = "display:inline; float:right;" m.fields.join.style2 = "" m.fields.join.style3 = "" m.fields.join.class = "wp-join-button mw-ui-button mw-ui-progressive" m.fields.join.section = "cta" m.fields.join.arg = "join" m.fields.join.key = "join" m.fields.join.rank = 2 m.fields.endorse = {} m.fields.endorse.isRequired = true m.fields.endorse.vtype = "image" m.fields.endorse.vtype2 = "ui_button" m.fields.endorse.style = "display:inline; float:right; margin-right: 1em;" m.fields.endorse.style2 = "" m.fields.endorse.style3 = "" m.fields.endorse.class = "wp-endorse-button mw-ui-button mw-ui-progressive" m.fields.endorse.section = "cta" m.fields.endorse.arg = "endorse" m.fields.endorse.key = "endorse" m.fields.endorse.rank = 3 -- below box m.fields.timestamp = {} m.fields.timestamp.isRequired = false m.fields.timestamp.vtype = "text" m.fields.timestamp.vtype2 = "body" m.fields.timestamp.style = "display:inline; font-style: italic; font-size: .75em" m.fields.timestamp.style2 = "margin-right: .25em" m.fields.timestamp.style3 = "" m.fields.timestamp.section = "below" m.fields.timestamp.arg = "timestamp" m.fields.timestamp.key = "timestamp" m.fields.timestamp.rank = 1 -- -- categories -- m.categories.default = "Category:Projects" return m