Difference between revisions of "Template:Top box"

From VideoLAN Wiki
Jump to navigation Jump to search
m (HTML validation: attribute align is obsolete)
m (Whitespace)
Line 2: Line 2:
 
| style="text-align: center; margin-left: auto; margin-right: auto; 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>
 
| style="text-align: center; margin-left: auto; margin-right: auto; 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>
 
| style="text-align: left; vertical-align: middle;" | {{{text}}}
 
| style="text-align: left; vertical-align: middle;" | {{{text}}}
|} <noinclude>
+
|}<noinclude>
  
 
Options are:
 
Options are:

Revision as of 03:47, 4 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