Template:Kalispell FHC Section: Difference between revisions

From FamilySearch Wiki
No edit summary
mNo edit summary
Line 53: Line 53:
"Style background-color",
"Style background-color",
"Top Link Style display"
"Top Link Style display"
]
],
"description": "This template allows you to type in the name and the content for each of your sections and then takes care of all the formatting. When used properly, this template also makes it possible for all of the content within the section to be easily viewable on mobile devices."
}
}
</templatedata>[[Category:Template]]
</templatedata>[[Category:Template]]
</noinclude>
</noinclude>

Revision as of 09:58, 26 May 2022

{{{Section Title}}}

{{{Section Content}}}

This template allows you to type in the name and the content for each of your sections and then takes care of all the formatting. When used properly, this template also makes it possible for all of the content within the section to be easily viewable on mobile devices.

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
stretch
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