Template:Kalispell FHC Section: Difference between revisions

From FamilySearch Wiki
No edit summary
No edit summary
Line 1: Line 1:
<div style="margin-top: 1em; padding: 1% 1% 1em; background-color: {{{background-color|white}}}; width: 100%; visibility: {{{section-title-visibility|hidden}}};">
<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: {{{justify|center}}}; align-items: {{{align|center}}}; background-color: {{{background-color|white}}};">
<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}}};">
{{{content}}}
{{{Content}}}
</div>
</div>
<div style="display: {{{display-top-link|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>
{
{
"params": {
"params": {
"justify": {
"Style justify-content": {
"description": "flexbox css style options: flex-start | flex-end | center | space-between | space-around | space-evenly",
"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": {
"Style align-items": {
"description": "flexbox css align-items options: flex-start | flex-end | center | baseline | stretch",
"description": "flexbox css align-items options: flex-start | flex-end | center | baseline | stretch",
"type": "string",
"type": "string",
"default": "center"
"default": "center"
},
},
"background-color": {
"Style background-color": {
"description": "css style for section background color",
"description": "css style for section background color",
"type": "string"
"type": "string"
},
},
"content": {
"Content": {
"required": true
"required": true
},
},
"section-title": {
"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": {
"Style 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",
Line 38: Line 38:
}
}
},
},
"paramOrder": [
"section-title",
        "content",
"section-title-visibility",
"justify",
"align",
"background-color"
],
"format": "block"
"format": "block"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 15:12, 13 February 2022

{{{Section Title}}}

{{{Content}}}

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Style justify-contentStyle justify-content

flexbox css style options: flex-start | flex-end | center | space-between | space-around | space-evenly

Default
center
Stringoptional
Style align-itemsStyle align-items

flexbox css align-items options: flex-start | flex-end | center | baseline | stretch

Default
center
Stringoptional
Style background-colorStyle background-color

css style for section background color

Stringoptional
ContentContent

no description

Unknownrequired
Section TitleSection Title

This will be displayed as an <h1> tag and will appear in the page table of contents.

Stringrequired
Style visibilityStyle visibility

Determines whether the title should be visible when rendered. css visibility: hidden | visible

Default
hidden
Stringoptional