Template:Main page/H2: Difference between revisions

From Daniel Larson Wiki
Jump to navigation Jump to search
(Created page with "<h2 style="background:{{{bg|#E8E8E8}}}; font-size:{{{fs|120%}}}; font-weight:{{{fw|bold}}}; border:{{{b|1px solid #a3a3a3}}}; text-align:{{{ta|left}}}; color:{{{c|#000}}}; padding:{{{pd|0.2em 0.4em}}}; {{{styles|}}}">{{{1|{{{content|}}}}}}</h2>")
 
No edit summary
Line 1: Line 1:
<h2 style="background:{{{bg|#E8E8E8}}}; font-size:{{{fs|120%}}}; font-weight:{{{fw|bold}}}; border:{{{b|1px solid #a3a3a3}}}; text-align:{{{ta|left}}}; color:{{{c|#000}}}; padding:{{{pd|0.2em 0.4em}}}; {{{styles|}}}">{{{1|{{{content|}}}}}}</h2>
<h2 style="background:{{{bg|#E8E8E8}}}; font-size:{{{fs|120%}}}; font-weight:{{{fw|bold}}}; border:{{{bd|1px solid #a3a3a3}}}; text-align:{{{ta|left}}}; color:{{{tc|#000}}}; padding:{{{pd|0.2em 0.4em}}}; {{{styles|}}}">{{{1|{{{content|}}}}}}</h2><noinclude>
=== Parameters ===
* <code>bg</code> - background color; #xxx, #xxxxxx or color name
* <code>fs</code> - font size; in %, px, or pt.
* <code>fw</code> - font weight; 100-800 or word (normal/bold)
* <code>bd</code> - border styles, use CSS border syntax
* <code>ta</code> - text alignment; left/center/right
* <code>tc</code> - text color; #xxx, #xxxxxx or color name
* <code>pd</code> - padding; use CSS padding syntax
* <code>styles</code> - additional CSS styles if needed, no double quotes, separate all styles with semicolons.
* <code>content</code> - box's content
</noinclude>

Revision as of 18:54, 2 December 2023

Parameters

  • bg - background color; #xxx, #xxxxxx or color name
  • fs - font size; in %, px, or pt.
  • fw - font weight; 100-800 or word (normal/bold)
  • bd - border styles, use CSS border syntax
  • ta - text alignment; left/center/right
  • tc - text color; #xxx, #xxxxxx or color name
  • pd - padding; use CSS padding syntax
  • styles - additional CSS styles if needed, no double quotes, separate all styles with semicolons.
  • content - box's content