Template:Boxes: Difference between revisions
From AYSO Wiki
Content deleted Content added
No edit summary |
m 22 revisions imported: Import changes since February 9, 2026 |
||
| (19 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> |
<includeonly><div class="ayso-card-deck {{{class|}}}" |
||
style="display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:24px; align-items:stretch;"> |
|||
<div class="ayso-card"> |
|||
{{{1|}}}</div></includeonly><noinclude> |
|||
<a class="ayso-card-link" href="{{fullurl:{{{target|}}}}}"> |
|||
<div class="ayso-card-media"> |
|||
[[File:{{{image|}}}|x180px|link=|alt={{{title|}}}]] |
|||
</div> |
|||
<div class="ayso-card-title ayso-card-title-{{{header|bottom}}}"> |
|||
{{{title|}}} |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</includeonly> |
|||
| ⚫ | |||
;Usage |
;Usage |
||
<pre> |
<pre> |
||
{{ |
{{Boxes| |
||
{{Box|...}} |
|||
|title=Kickstart |
|||
{{Box|...}} |
|||
|target=:Category:AYSO Kickstart |
|||
{{Box|...}} |
|||
|header=bottom |
|||
{{Box|...}} |
|||
|image=Example.png |
|||
{{Box|...}} |
|||
}} |
}} |
||
</pre> |
</pre> |
||
<templatedata> |
|||
</noinclude> |
|||
{ |
|||
"params": { |
|||
"1": { |
|||
"label": "Content", |
|||
"description": "Instances of Template:Box.", |
|||
"type": "content" |
|||
}, |
|||
"class": { |
|||
"label": "Class", |
|||
"description": "CSS class name to position / style the Boxes block.", |
|||
"example": "mt-5", |
|||
"type": "string" |
|||
} |
|||
}, |
|||
"description": "A wrapper templates for boxes." |
|||
} |
|||
| ⚫ | |||
Latest revision as of 02:04, 19 February 2026
- Usage
{{Boxes|
{{Box|...}}
{{Box|...}}
{{Box|...}}
{{Box|...}}
{{Box|...}}
}}
A wrapper templates for boxes.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Content | 1 | Instances of Template:Box. | Content | optional |
| Class | class | CSS class name to position / style the Boxes block.
| String | optional |

