Template:Boxes: Difference between revisions
From AYSO Wiki
Content deleted Content added
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly |
<includeonly> |
||
<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> |
||
{{ |
{{Box |
||
|title=Kickstart |
|||
{{Box|...}} |
|||
|target=:Category:AYSO Kickstart |
|||
{{Box|...}} |
|||
|header=bottom |
|||
{{Box|...}} |
|||
|image=Example.png |
|||
{{Box|...}} |
|||
{{Box|...}} |
|||
}} |
}} |
||
</pre> |
</pre> |
||
</noinclude> |
|||
<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." |
|||
} |
|||
| ⚫ | |||
Revision as of 09:16, 12 February 2026
- Usage
{{Box
|title=Kickstart
|target=:Category:AYSO Kickstart
|header=bottom
|image=Example.png
}}

