Template:SectionRounded: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(adding variable for subheadings)
(using DefBGColor instead of color)
Line 1: Line 1:
<onlyinclude><{{#switch: {{{3|}}}|2=h2|3=h3|4=h4|{{{3}}}=h2|h2}} style="margin:0; border-radius:20px 20px 20px 20px; background:{{color|{{{2}}}}}; font-size:120%; font-weight:bold; text-align:center; color:#ffffff; padding:0.2em 0.4em;">{{{1}}}</{{#switch: {{{3|}}}|2=h2|3=h3|4=h4|{{{3}}}=h2|h2}}></onlyinclude>
<onlyinclude><{{#switch: {{{3|}}}|2=h2|3=h3|4=h4|{{{3}}}=h2|h2}} style="margin:0; border-radius:20px 20px 20px 20px; background:{{DefBGColor|{{{2}}}}}; font-size:120%; font-weight:bold; text-align:center; color:#ffffff; padding:0.2em 0.4em;">{{{1}}}</{{#switch: {{{3|}}}|2=h2|3=h3|4=h4|{{{3}}}=h2|h2}}></onlyinclude>
<noinclude>[[Category:Wiki System Templates]]</noinclude>
<noinclude>[[Category:Wiki System Templates]]</noinclude>

Revision as of 00:07, 26 August 2014

{{{1}}}