Difference between revisions of "Template:KGPImportantSection"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 17: | Line 17: | ||
</noinclude> | </noinclude> | ||
{{#if: {{{anchor2|}}} |<h2> <span style="display:none;"> {{{anchor2}}} </span></h2>|}} {{#if: {{{anchor3|}}} |<h3> <span style="display:none;"> {{{anchor3}}} </span></h3>|}} {{#if: {{{anchor4|}}} |<h4> <span style="display:none;"> {{{anchor4}}} </span></h4>|}} | {{#if: {{{anchor2|}}} |<h2> <span style="display:none;"> {{{anchor2}}} </span></h2>|}} {{#if: {{{anchor3|}}} |<h3> <span style="display:none;"> {{{anchor3}}} </span></h3>|}} {{#if: {{{anchor4|}}} |<h4> <span style="display:none;"> {{{anchor4}}} </span></h4>|}} | ||
− | {| class="wikitable" style="background-color:{{{backcolor|{{#ifeq: {{{colorscheme|<noinclude>1cc</noinclude>}}} | 1cc |\#f5fef6 |}}{{#ifeq: {{{colorscheme}}} | 2all |\#fefef3 |}}{{#ifeq: {{{colorscheme}}} | scoring |\# | + | {| class="wikitable" style="background-color:{{{backcolor|{{#ifeq: {{{colorscheme|<noinclude>1cc</noinclude>}}} | 1cc |\#f5fef6 |}}{{#ifeq: {{{colorscheme}}} | 2all |\#fefef3 |}}{{#ifeq: {{{colorscheme}}} | scoring |\#fffbf9 |}}}}}; width:{{{width|90%}}}; border:1px solid {{{bordercolor|{{#ifeq: {{{colorscheme}}} | 1cc |\#0e6f16 |}}{{#ifeq: {{{colorscheme}}} | 2all |\#ae7900 |}}{{#ifeq: {{{colorscheme}}} | scoring |\#ad0000 |}}}}};" |
|- | |- | ||
! colspan="4" style="font-size:145%; background-color:{{{headcolor|{{#ifeq: {{{colorscheme|<noinclude>1cc</noinclude>}}} | 1cc |\#1e9f26|}}{{#ifeq: {{{colorscheme}}} | 2all |\#eecd0b |}}{{#ifeq: {{{colorscheme}}} | scoring |\#dd1717 |}}}}};; color:{{{headtextcolor|\#ffffff}}}" | {{{title|Important section:}}} {{{name|}}} | ! colspan="4" style="font-size:145%; background-color:{{{headcolor|{{#ifeq: {{{colorscheme|<noinclude>1cc</noinclude>}}} | 1cc |\#1e9f26|}}{{#ifeq: {{{colorscheme}}} | 2all |\#eecd0b |}}{{#ifeq: {{{colorscheme}}} | scoring |\#dd1717 |}}}}};; color:{{{headtextcolor|\#ffffff}}}" | {{{title|Important section:}}} {{{name|}}} |
Latest revision as of 06:17, 21 July 2020
Parameters that exist for this template:
- {{{anchor2}}} - For adding a size 2 header to the table of contents with no edit link
- {{{anchor3}}} - For adding a size 3 header to the table of contents with no edit link
- {{{anchor4}}} - For adding a size 4 header to the table of contents with no edit link
- {{{backcolor}}} - Set the color of the content background
- {{{headcolor}}} - Set the color of the top bar
- {{{headtextcolor}}} - Set the color of the letters in the top bar
- {{{colorscheme}}} - Use a built-in color scheme ("1cc, 2all, scoring" are the 3 valid schemes)
- {{{width}}} - Default width of the element
- {{{title}}} - Set an alternate title for the top bar
- {{{name}}} - The content of the top bar
- {{{height}}} - Minimum height of the lower content area
- {{{image}}} - Include an image (currently not formatted in any special way)
- {{{content}}} - Any actual content of the element goes here
- {{{examples}}} - Content for the example section such as links of video references
Important section: | |||
---|---|---|---|
{{{content}}}
| |||
Examples
|