Template:Content Box: Difference between revisions

Add font color field
No edit summary
(Add font color field)
 
Line 23: Line 23:
             "description": "What should be rendered in the content box. Can be other divs.",
             "description": "What should be rendered in the content box. Can be other divs.",
             "type": "content"
             "type": "content"
         }
         },
      "font-color": {
"label": "Font Color",
"description": "Sets the color for font in the the box",
"default": "black"
 
     }
     }
}
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>
<div style="background-color: {{{bg-color|#99AEBB}}}; border-style: {{{bd-style|dotted}}};">
<div style="background-color: {{{bg-color|#99AEBB}}}; border-style: {{{bd-style|dotted}}}; color:{{{font-color|black}}};">
{{{content}}}
{{{content}}}
</div>
</div>
Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
250

edits