(Created page with "<{{#if:{{{tag|}}}|{{{tag}}}|h2}} style="background:{{#if:{{{bgcolor|}}}|{{{bgcolor}}}|#EAD5ED}}; text-align:center; border:5px solid {{#if:{{{color|}}}|{{{color}}}|#1A1A1A}};...") |
m (Add border color) |
||
Line 1: | Line 1: | ||
<{{#if:{{{tag|}}}|{{{tag}}}|h2}} style="background:{{#if:{{{bgcolor|}}}|{{{bgcolor}}}|#EAD5ED}}; text-align:center; border:5px solid {{#if:{{{color|}}}|{{{color}}}|#1A1A1A}}; color:{{#if:{{{color|}}}|{{{color}}}|#1A1A1A}}; box-sizing: border-box; font-weight:bold; padding:1px; width:100%;">{{{title|Section Title}}}</{{#if:{{{tag|}}}|{{{tag}}}|h2}}> | <{{#if:{{{tag|}}}|{{{tag}}}|h2}} style="background:{{#if:{{{bgcolor|}}}|{{{bgcolor}}}|#EAD5ED}}; text-align:center; border:5px solid {{#if:{{{bordercolor|}}}|{{{bordercolor}}}|{{#if:{{{color|}}}|{{{color}}}|#1A1A1A}}}}; color:{{#if:{{{color|}}}|{{{color}}}|#1A1A1A}}; box-sizing: border-box; font-weight:bold; padding:1px; width:100%;">{{{title|Section Title}}}</{{#if:{{{tag|}}}|{{{tag}}}|h2}}> | ||
<noinclude>{{Documentation}}</noinclude> | <noinclude>{{Documentation}}</noinclude> |
Revision as of 04:33, 23 December 2022
Section Title
Documentation (for the above template, sometimes hidden or invisible)
This is a basic template to make a fancy section title for e.g. a wiki landing page or portal.
- Syntax
{{PortalHeading |title= |color= |bgcolor= |bordercolor= |tag= }}
- title
- Header text.
- bgcolor
- Background color; default
#EAD5ED
- color
- Title text and border color; default
#1A1A1A
- bordercolor
- Color to make the box border; default
#1A1A1A
- tag
- Heading tag; default
h2
Visit Template:PortalHeading/doc to edit this text! (How does this work?)