Module:Probox/testdata
Module documentation
[create]
local m = {}
m.style = {}
m.fields = {
["status"] = {
["name"] = "status",
["section"] = "above",
["style"] = "h1",
["text_key"] = "status",},
["title"] = {
["name"] = "title",
["section"] = "outer",
["style"] = "h2",
["style2"] = "h1",
["text_key"] = "title",},
["creator"] = {
["name"] = "creator",
["section"] = "outer",
["style"] = "h2",
["text_key"] = "creator",
["value"] = ""},
}
m.style["main"] = "background-color: #f8f8f8; color: #58595B; -moz-box-shadow: 0px 2px 3px #58595B; -webkit-box-shadow: 0px 2px 3px #58595B; box-shadow: 0px 2px 3px #58595B; padding: 1em;"
m.style["h1"] = "font-size: 1.3em;"
m.style["h2"] = "font-size: 1.2em; color: #252525;"
-- m.style["h3"] = "font-size: .9em; color: #252525;"
m.style["p"] = ""
m.style["img"] = ""
m.fields["testy"] = "foo"
return m