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|}}}"> {{{1|}}}</div></includeonly><noinclude> ;Usage <pre> {{Boxes| {{Box|...}} {{Box|...}} {{Box|...}} {{Box|...}} {{Box|...}} }} </pre> <templatedata> { "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." } </templatedata></noinclude> |
|||
<includeonly> |
|||
<div class="ayso-card"> |
|||
[[{{{target|}}}| |
|||
<div class="ayso-card-media"> |
|||
[[File:{{{image|}}}|x180px|link=|alt={{{title|}}}]] |
|||
</div> |
|||
<div class="ayso-card-title"> |
|||
{{{title|}}} |
|||
</div> |
|||
]] |
|||
</div> |
|||
</includeonly> |
|||
<noinclude> |
|||
;Usage |
|||
<pre> |
|||
{{Box|title=Kickstart|target=:Category:AYSO Kickstart|header=bottom|image=Example.png}} |
|||
</pre> |
|||
</noinclude> |
|||
Revision as of 09:18, 12 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 |

