Template:Boxes: Difference between revisions

From AYSO Wiki
Content deleted Content added
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><div class="ayso-card-deck {{{class|}}}"
<includeonly>
<div class="ayso-card-deck {{{class|}}}"
style="display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; justify-items:stretch; align-items:stretch;">
style="display:flex; flex-wrap:wrap; gap:24px; justify-content:flex-start; align-items:stretch;">
{{{1|}}}</div></includeonly><noinclude>
{{{1|}}}
</div>
</includeonly><noinclude>
;Usage
;Usage
<pre>
<pre>
Line 13: Line 16:
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"1": {
"1": {
"label": "Content",
"label": "Content",
"description": "Instances of Template:Box.",
"description": "Instances of Template:Box.",
"type": "content"
"type": "content"
},
},
"class": {
"class": {
"label": "Class",
"label": "Class",
"description": "CSS class name to position / style the Boxes block.",
"description": "CSS class name to position / style the Boxes block.",
"example": "mt-5",
"example": "mt-5",
"type": "string"
"type": "string"
}
}
},
},
"description": "A wrapper templates for boxes."
"description": "A wrapper templates for boxes."
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Revision as of 10:20, 12 February 2026

Usage
{{Boxes|
{{Box|...}}
{{Box|...}}
{{Box|...}}
{{Box|...}}
}}

A wrapper templates for boxes.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Content1

Instances of Template:Box.

Contentoptional
Classclass

CSS class name to position / style the Boxes block.

Example
mt-5
Stringoptional