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