Template:Kalispell FHC Section: Difference between revisions

From FamilySearch Wiki
No edit summary
No edit summary
Line 11: Line 11:
"params": {
"params": {
"Style justify-content": {
"Style justify-content": {
"description": "flexbox css style options: flex-start | flex-end | center | space-between | space-around | space-evenly",
"description": "css flexbox justify-content: 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": "flexbox css align-items options: flex-start | flex-end | center | baseline | stretch",
"description": "css flex-box align-items: flex-start | flex-end | center | baseline | stretch",
"type": "string",
"type": "string",
"default": "center"
"default": "center"
Line 25: Line 25:
},
},
"Section Content": {
"Section Content": {
"required": true
"required": true,
"type": "content"
},
},
"Section Title": {
"Section Title": {
Line 36: Line 37:
"type": "string",
"type": "string",
"default": "hidden"
"default": "hidden"
},
"Top Link Style display": {
"description": "Determines whether the \"Back to top\" link should be visible when rendered. css display: flex | none | block",
"type": "string",
"default": "flex"
}
}
},
},
"format": "block"
"format": "block",
"paramOrder": [
"Section Title",
"Section Content",
"Style justify-content",
"Style visibility",
"Style align-items",
"Style background-color",
"Top Link Style display"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 15:38, 13 February 2022

{{{Section Title}}}

{{{Section Content}}}

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Section TitleSection Title

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

Stringrequired
Section ContentSection Content

no description

Contentrequired
Style justify-contentStyle justify-content

css flexbox justify-content: flex-start | flex-end | center | space-between | space-around | space-evenly

Default
center
Stringoptional
Style visibilityStyle visibility

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

Default
hidden
Stringoptional
Style align-itemsStyle align-items

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

Default
center
Stringoptional
Style background-colorStyle background-color

css style for section background color

Stringoptional
Top Link Style displayTop Link Style display

Determines whether the "Back to top" link should be visible when rendered. css display: flex | none | block

Default
flex
Stringoptional