Template:Box: 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-box-item" |
<div class="ayso-box-item" |
||
style="flex:0 0 calc((100% - |
style="flex:0 0 calc((100% - 48px) / 3); max-width:calc((100% - 48px) / 3); box-sizing:border-box; min-width:0;"> |
||
<div class="card with-{{#ifeq:{{{header|}}}|bottom|footer|header}} border border-primary" |
<div class="card with-{{#ifeq:{{{header|}}}|bottom|footer|header}} border border-primary" |
||
style="height:340px; position:relative; overflow:hidden; background-position:center; background-repeat:no-repeat; background-size:cover;" |
style="height:340px; position:relative; overflow:hidden; background-position:center; background-repeat:no-repeat; background-size:cover;" |
||
| Line 12: | Line 12: | ||
-->{{#if:{{{target|}}} |
-->{{#if:{{{target|}}} |
||
|[[{{{target|}}}| |
|[[{{{target|}}}|<div class="card-body"></div>]] |
||
|<div class="card-body"></div> |
|||
{{{content|}}}</div> |
|||
|<div class="card-body"></div> |
|||
}}]] |
|||
|<div class="card-body"> |
|||
{{{content|}}}</div> |
|||
}}<!-- |
}}<!-- |
||
Revision as of 10:23, 12 February 2026
- Usage
{{Box
|title=
|target=
|header=
|image=
|content=
}}

