Jump to content

Module:Co-op profile/learner

From Wikipedia, the free encyclopedia

local m = {}
m.styles = {}
m.fields = {}
m.categories = {}

m.styles.box = {}
m.styles.box.outer = "width: 730px; margin: 20px auto 30px auto;"
m.styles.box.inner = "margin-bottom:40px;text-align:center;"

m.styles.field = {}
m.styles.field.h1 = "display:inline; word-wrap:break-word;"
m.styles.field.h2 = "margin-bottom:0.5em; word-wrap:break-word;"
m.styles.field.p = ""
m.styles.field.img = ""

--
-- fields
--

m.fields.logo1 = {}
m.fields.logo1.isRequired = true
m.fields.logo1.default = "File:logo-coop.png"
m.fields.logo1.ftype = "image"
m.fields.logo1.style1 = "float: left;width:55px;text-align:center;"
m.fields.logo1.style2 = "35px"
m.fields.logo1.style3 = ""
m.fields.logo1.rank = 1

m.fields.logo2 = {}
m.fields.logo2.isRequired = true
m.fields.logo2.default = "File:Ic-user.png"
m.fields.logo2.ftype = "image"
m.fields.logo2.style1 = "float:right;display:block;width:35px;height: 35px;border-radius:17.5px;overflow:hidden;margin-top:20px;"
m.fields.logo2.style2 = "35px"
m.fields.logo2.style3 = ""
m.fields.logo2.rank = 2

m.fields.image = {}
m.fields.image.isRequired = true
m.fields.image.default = "File:Ambidextrie.svg"
m.fields.image.ftype = "image"
m.fields.image.style1 = "width:110px;display:block;border-radius:20px;margin:0 auto;overflow:hidden;"
m.fields.image.style2 = "110px"
m.fields.image.style3 = ""
m.fields.image.rank = 3

-- m.fields.name = {}
-- m.fields.name.isRequired = true
-- m.fields.name.default = "what would you like to be called?"
-- m.fields.name.prefix = ""
-- m.fields.name.ftype = "text"
-- m.fields.name.style1 = "font-family: 'Glober', 'Open sans', sans-serif;font-size: 16px;color:#947D78; margin: 5px auto; text-align:center;"
-- m.fields.name.style2 = ""
-- m.fields.name.style3 = "font-size: 1.3em;"
-- m.fields.name.rank = 4

m.fields.username = {}
m.fields.username.isRequired = true
m.fields.username.default = "please enter your username"
m.fields.username.prefix = ""
m.fields.username.ftype = "wikilink"
m.fields.username.style1 = "font-family: 'Glober', 'Open sans', sans-serif;font-size: 16px;color:#947D78; margin: 5px auto; text-align:center;"
m.fields.username.style2 = ""
m.fields.username.style3 = ""
m.fields.username.rank = 4


m.fields.about = {}
m.fields.about.isRequired = true
m.fields.about.default = "tell us a little about yourself"
m.fields.about.prefix = ""
m.fields.about.ftype = "text"
m.fields.about.style1 = "font-family: 'Glober', 'Open sans', sans-serif;font-size: 16px;color:#947D78; margin: 5px auto; text-align:center;"
m.fields.about.style2 = ""
m.fields.about.style3 = ""
m.fields.about.rank = 5

m.fields.interest = {}
m.fields.interest.isRequired = true
m.fields.interest.default = "no current interests"
m.fields.interest.prefix = "'''Learning about:<br/>''' "
m.fields.interest.hasCategories = true
m.fields.interest.cat_path = "Category:Co-op/Requests/"
m.fields.interest.ftype = "text"
m.fields.interest.style1 = "font-family: 'Glober', 'Open sans', sans-serif;font-size: 16px;color:#947D78; margin: 5px auto; text-align:center;"
m.fields.interest.style2 = ""
m.fields.interest.style3 = ""
m.fields.interest.rank = 6

m.fields.mentor = {}
m.fields.mentor.isRequired = false
m.fields.mentor.default = ""
m.fields.mentor.prefix = ""
m.fields.mentor.hasCategories = true
m.fields.mentor.ftype = ""
m.fields.mentor.style1 = "font-family: 'Glober', 'Open sans', sans-serif;font-size: 16px;color:#947D78; margin: 5px auto; text-align:center;"
m.fields.mentor.style2 = ""
m.fields.mentor.style3 = ""
m.fields.mentor.rank = 7

m.fields.timestamp = {}
m.fields.timestamp.isRequired = true
m.fields.timestamp.default = "join date unknown"
m.fields.timestamp.prefix = "'''Joined on:<br/>''' "
m.fields.timestamp.ftype = "text"
m.fields.timestamp.style1 = "font-family: 'Glober', 'Open sans', sans-serif;font-size: 16px;color:#947D78; margin: 5px auto; text-align:center;"
m.fields.timestamp.style2 = ""
m.fields.timestamp.style3 = ""
m.fields.timestamp.rank = 8

--
-- categories
--
m.categories.default = "Category:Co-op_learner"
m.categories.mentor = "Category:Co-op_learners_not_currently_being_mentored"

m.categories.interest = {}
m.categories.interest.writing = "Writing"
m.categories.interest.communication = "Communication"
m.categories.interest.best_practices = "Best practices"
m.categories.interest.technical_editing = "Technical editing"
m.categories.interest.images_and_media = "Images and media"
m.categories.interest.other = "Other"


return m