Template:Jumbotron: Difference between revisions

Meryam Sahin (talk | contribs)
No edit summary
Meryam Sahin (talk | contribs)
No edit summary
Line 1: Line 1:
<div class="jumbotron {{{type|}}} jumbotron-fluid {{{bg|}}}">
<div class="jumbotron {{{type|}}} jumbotron-fluid {{{bg|}}}">
<div class="container">
<div class="container">
<h{{{hd-level|2}}} class="display-4"></h{{{hd-level|2}}}><p class="lead">{{{lead|}}}</p></div>
<h{{{hd-level|2}}} class="display-4"></h{{{hd-level|2}}}><p class="lead">{{{tagline|}}}</p></div>
</div>
</div>
<noinclude>
<templatedata>
{
"params": {
"type": {
"label": "Type",
"description": "Primary (large) or secondary (small)",
"suggestedvalues": [
"primary",
"secondary"
]
},
"bg": {
"label": "Background",
"description": "Background options need to be defined in Jumbotron/styles.css",
"example": "bg-culture"
},
"hd-level": {
"label": "Heading level ",
"description": "Set to 1 if your title area is hidden",
"suggestedvalues": [
"1",
"2"
]
},
"tagline": {
"label": "Tag line (optional)"
}
},
"paramOrder": [
"type",
"bg",
"hd-level",
"tagline"
]
}
</templatedata>
</noinclude>

Revision as of 10:06, 13 July 2026

<h2 class="display-4"></h2>

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Typetype

Primary (large) or secondary (small)

Suggested values
primary secondary
Unknownoptional
Backgroundbg

Background options need to be defined in Jumbotron/styles.css

Example
bg-culture
Unknownoptional
Heading levelhd-level

Set to 1 if your title area is hidden

Suggested values
1 2
Unknownoptional
Tag line (optional)tagline

no description

Unknownoptional