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="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;"
style="width:100% !important; max-width:100% !important; min-width:0 !important; float:none !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></includeonly>
</div>
</includeonly>


<noinclude>
<noinclude>

Revision as of 10:05, 12 February 2026


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

(Wrapped into Template:Boxes)