Template:Jumbotron: Difference between revisions

Meryam Sahin (talk | contribs)
Created page with "<div class="jumbotron {{{type|}}} jumbotron-fluid {{{bg|}}}"> <div class="container"> <h{{{hd-level|2}}} class="display-4"></h{{hd-level|2}}}><p class="lead">{{{lead|}}}</p></div> </div>"
 
Meryam Sahin (talk | contribs)
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="jumbotron {{{type|}}} jumbotron-fluid {{{bg|}}}">
<templatestyles src="Jumbotron/styles.css" /><div class="jumbotron {{{type|}}} jumbotron-fluid {{{bg|}}}" style="background-image:[[File:BlueSpice_Galaxy_Demo.png]]"><div class="container">
<div class="container">
{{#if:{{{heading|}}}|<h{{{hd-level|2}}} class="display-4">{{{heading|}}}</h{{{hd-level|2}}}>}}<p class="lead">{{{tagline|}}}</p></div>
<h{{{hd-level|2}}} class="display-4"></h{{hd-level|2}}}><p class="lead">{{{lead|}}}</p></div>
</div><noinclude>
</div>
<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)"
},
"heading": {
"label": "Heading text (optional)"
}
},
"paramOrder": [
"type",
"heading",
"hd-level",
"tagline",
"bg"
]
}
</templatedata>
</noinclude>

Latest revision as of 11:29, 13 July 2026

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Typetype

Primary (large) or secondary (small)

Suggested values
primary secondary
Unknownoptional
Heading text (optional)heading

no description

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
Backgroundbg

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

Example
bg-culture
Unknownoptional