Template:Kalispell FHC Section: Difference between revisions

From FamilySearch Wiki
No edit summary
No edit summary
Line 1: Line 1:
<h1 style="text-align: center; visibility: {{{section-title-visibility|hidden}}}">{{{section-title}}}</h1>
<div style="padding: 1% 1% 1em; background-color: {{{background-color|white}}}; width: 100%; visibility: {{{section-title-visibility|hidden}}};">
<div style="margin-top: 1em; display: flex; flex-flow: row wrap; justify-content: {{{justify|center}}}; align-items: {{{align|center}}}; background-color: {{{background-color}}};">
<h1 style="text-align: center;">{{{section-title}}}</h1>
</div>
<div style="padding: 1%; display: flex; flex-flow: row wrap; justify-content: {{{justify|center}}}; align-items: {{{align|center}}}; background-color: {{{background-color|white}}};">
{{{content}}}
{{{content}}}
</div>
</div>

Revision as of 15:25, 23 January 2022

{{{section-title}}}

{{{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
contentcontent

no description

Unknownrequired
section-title-visibilitysection-title-visibility

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

Default
hidden
Stringoptional
justifyjustify

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

Default
center
Stringoptional
alignalign

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

Default
center
Stringoptional
background-colorbackground-color

css style for section background color

Stringoptional