Difference between revisions of "Template:Top box"

From VideoLAN Wiki
Jump to navigation Jump to search
m (HTML validation: attribute valign obsolete)
Line 1: Line 1:
 
{| style="width: 80%; margin-bottom: 4px; margin-left: 10%; border: solid {{{brcol|#aaa}}} 1px; background-color: {{{bgcol|#f9f9f9}}}; clear: both;"
 
{| style="width: 80%; margin-bottom: 4px; margin-left: 10%; border: solid {{{brcol|#aaa}}} 1px; background-color: {{{bgcol|#f9f9f9}}}; clear: both;"
| valign="middle" align="center" style="width: 80px" | <div style="margin-left: 10px; margin-right: 10px; padding-top: 0px; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; font-weight: bold; border: solid {{{brcol|#aaa}}} 1px; background-color: #fff"> {{{id}}} </div>
+
| align="center" style="vertical-align: middle; width: 80px;" | <div style="margin-left: 10px; margin-right: 10px; padding-top: 0px; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; font-weight: bold; border: solid {{{brcol|#aaa}}} 1px; background-color: #fff"> {{{id}}} </div>
| valign="middle" align="left" | {{{text}}}
+
| style="vertical-align: middle;" align="left" | {{{text}}}
 
|} <noinclude>
 
|} <noinclude>
  

Revision as of 04:41, 2 February 2019

{{{id}}}
{{{text}}}

Options are:

  • id= stuff for white box, should be module name
  • text= text to put in the box
  • bgcol= background colour, default #f9f9f9
  • brcol= border colour, default #aaa