Difference between revisions of "Template:Top box"

From VideoLAN Wiki
Jump to navigation Jump to search
m (CSS tweak)
m (Looks very similar)
Line 1: Line 1:
{| style="width: 80%; margin-bottom: 4px; margin-left: 10%; border: solid {{{brcol|#aaa}}} 1px; background-color: {{{bgcol|#f9f9f9}}}; clear: both;"
+
<div style="width: 80%; padding: 3px; margin-bottom: 4px; margin-left: 10%; border: solid {{{brcol|#aaa}}} 1px; background-color: {{{bgcol|#f9f9f9}}}; clear: both;"><span style="vertical-align: middle;"><span style="margin: 0 10px; padding: 2px 8px; border: solid {{{brcol|#aaa}}} 1px; background-color: #fff">'''{{{id}}}'''</span>{{{text}}}</span></div><noinclude>
| style="width: 80px;" | <div style="text-align: center; margin: 0px 10px; padding: 0px 5px; border: solid {{{brcol|#aaa}}} 1px; background-color: #fff">'''{{{id}}}'''</div>
 
| <span style="text-align: left; vertical-align: middle;">{{{text}}}</span>
 
|}<noinclude>
 
  
 
Options are:
 
Options are:

Revision as of 08:02, 23 March 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