Difference between revisions of "Template:KGPImportantSection"
Jump to navigation
Jump to search
(Created page with "<noinclude> '''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...") |
|||
Line 16: | Line 16: | ||
* {{{examples}}} - Content for the example section such as links of video references | * {{{examples}}} - Content for the example section such as links of video references | ||
</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 |\#fff6f6 |}}}}}; width:{{{width|90%}}}; border:1px solid {{{bordercolor|{{#ifeq: {{{colorscheme}}} | 1cc |\#0e6f16 |}}{{#ifeq: {{{colorscheme}}} | 2all |\#ae7900 |}}{{#ifeq: {{{colorscheme}}} | scoring |\#ad0000 |}}}}};" | {| class="wikitable" style="background-color:{{{backcolor|{{#ifeq: {{{colorscheme|<noinclude>1cc</noinclude>}}} | 1cc |\#f5fef6 |}}{{#ifeq: {{{colorscheme}}} | 2all |\#fefef3 |}}{{#ifeq: {{{colorscheme}}} | scoring |\#fff6f6 |}}}}}; width:{{{width|90%}}}; border:1px solid {{{bordercolor|{{#ifeq: {{{colorscheme}}} | 1cc |\#0e6f16 |}}{{#ifeq: {{{colorscheme}}} | 2all |\#ae7900 |}}{{#ifeq: {{{colorscheme}}} | scoring |\#ad0000 |}}}}};" |
Revision as of 09:26, 17 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
|