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="card with-{{#ifeq:{{{header|}}}|bottom|footer|header}} border border-primary"
<div class="card with-{{#ifeq:{{{header|}}}|bottom|footer|header}} border border-primary"
style="flex:0 0 calc(33.333% - 16px); height:340px; position:relative; overflow:hidden; background-position:center; background-repeat:no-repeat; background-size:cover;"
style="width:100% !important; max-width:100% !important; box-sizing:border-box; height:340px; position:relative; overflow:hidden; background-position:center; background-repeat:no-repeat; background-size:cover;"
{{#if:{{{image|}}}|data-background="{{#ifeq:{{{image|}}}|default|/w/extensions/MyWikisLocalConfig/Ayso-logo.png|{{filepath:{{PAGENAME:{{{image|}}}}}}}}}"}}><!--
{{#if:{{{image|}}}|data-background="{{#ifeq:{{{image|}}}|default|/w/extensions/MyWikisLocalConfig/Ayso-logo.png|{{filepath:{{PAGENAME:{{{image|}}}}}}}}}"}}><!--


Line 24: Line 24:
</div>
</div>
}}|}}
}}|}}
</div>
</div></includeonly>
</includeonly>


<noinclude>
<noinclude>
Line 38: Line 37:
}}
}}
</pre>
</pre>

;Example
(Wrapped into [[Template:Boxes]])
{{Boxes|
{{Box
|title=Sports Connect
|target=Sports Connect
|header=bottom
|image=Ayso-connect.png
}}
{{Box
|title=AYSOU
|target=AYSOU
|header=bottom
|image=Ayso-circle.png
}}
{{Box
|title=Background Checks
|target=Background Checks
|header=bottom
|image=Ayso-run.png
}}
}}
</noinclude>
</noinclude>

Revision as of 10:03, 12 February 2026


Usage
{{Box
|title=
|target=
|header=bottom
|image=
|content=
}}
Example

(Wrapped into Template:Boxes)