Template:Main page/H2: Difference between revisions
Jump to navigation
Jump to search
HoodMoney54 (talk | contribs) (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>") |
m (Reverted edits by Liverpool Enjoyer (talk) to last revision by HoodMoney54) Tag: Rollback |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<h2 style="background:{{{bg|#E8E8E8}}}; font-size:{{{fs|120%}}}; font-weight:{{{fw|bold}}}; border:{{{ | <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> |
Latest revision as of 23:56, 10 January 2024
Parameters
bg
- background color; #xxx, #xxxxxx or color namefs
- font size; in %, px, or pt.fw
- font weight; 100-800 or word (normal/bold)bd
- border styles, use CSS border syntaxta
- text alignment; left/center/righttc
- text color; #xxx, #xxxxxx or color namepd
- padding; use CSS padding syntaxstyles
- additional CSS styles if needed, no double quotes, separate all styles with semicolons.content
- box's content