Template:Kalispell FHC Section: Difference between revisions
(Added space to fix the weird DisplayTitle issue.) |
No edit summary |
||
| (8 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<div style="margin-top: 1em; padding: 1% 1% 1em; background-color: {{{Style background-color|white}}}; width: 100%; visibility: {{{Style visibility| | <div style="margin-top: 1em; padding: 1% 1% 1em; background-color: {{{Style background-color|white}}}; width: 100%; visibility: {{{Style visibility|hidden}}};"> | ||
<h1 style="text-align: center; ">{{{Section Title}}}</h1> | <h1 style="text-align: center; ">{{{Section Title}}}</h1> | ||
</div> | </div> | ||
<div style="padding: 1%; display: flex; flex-flow: row wrap; justify-content: {{{Style justify-content|center}}}; align-items: {{{Style align-items| | <div style="padding: 1%; display: flex; flex-flow: row wrap; justify-content: {{{Style justify-content|center}}}; align-items: {{{Style align-items|center}}}; background-color: {{{Style background-color|white}}};"> | ||
{{{Section Content}}} | {{{Section Content}}} | ||
</div> | </div> | ||
<div style="display: {{{Top Link Style display|flex}}}; justify-content: left; margin-top: 1em;"><div class="standard-link">[[#top|Back to top ]]</div></div> | <div style="display: {{{Top Link Style display|flex}}}; justify-content: left; margin-top: 1em;"><div class="standard-link">[[#top|Back to top]]</div></div> | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
| Line 11: | Line 11: | ||
"params": { | "params": { | ||
"Style justify-content": { | "Style justify-content": { | ||
"description": "css | "description": "flexbox css style options: flex-start | flex-end | center | space-between | space-around | space-evenly", | ||
"type": "string", | "type": "string", | ||
"default": "center" | "default": "center" | ||
}, | }, | ||
"Style align-items": { | "Style align-items": { | ||
"description": "css | "description": "flexbox css align-items options: flex-start | flex-end | center | baseline | stretch", | ||
"type": "string", | "type": "string", | ||
"default": " | "default": "center" | ||
}, | }, | ||
"Style background-color": { | "Style background-color": { | ||
| Line 25: | Line 25: | ||
}, | }, | ||
"Section Content": { | "Section Content": { | ||
"required": true | "required": true | ||
}, | }, | ||
"Section Title": { | "Section Title": { | ||
| Line 37: | Line 36: | ||
"type": "string", | "type": "string", | ||
"default": "hidden" | "default": "hidden" | ||
} | } | ||
}, | }, | ||
"format": "block | "format": "block" | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Revision as of 14:13, 13 February 2022
{{{Section Content}}}
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Style justify-content | Style justify-content | flexbox css style options: flex-start | flex-end | center | space-between | space-around | space-evenly
| String | optional |
| Style align-items | Style align-items | flexbox css align-items options: flex-start | flex-end | center | baseline | stretch
| String | optional |
| Style background-color | Style background-color | css style for section background color | String | optional |
| Section Content | Section Content | no description | Unknown | required |
| Section Title | Section Title | This will be displayed as an <h1> tag and will appear in the page table of contents. | String | required |
| Style visibility | Style visibility | Determines whether the title should be visible when rendered. css visibility: hidden | visible
| String | optional |