Template:Box: Difference between revisions
From AYSO Wiki
Content deleted Content added
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<div class="ayso-card-deck"><div class="card with-{{#ifeq:{{{header|}}}|bottom|footer|header}} border border-primary" data-background="/w/extensions/MyWikisLocalConfig/Ayso-corp-white.png |
<div class="ayso-card-deck"><div class="card with-{{#ifeq:{{{header|}}}|bottom|footer|header}} border border-primary" data-background="/w/extensions/MyWikisLocalConfig/Ayso-corp-white.png"><!-- |
||
-->{{#ifeq:{{{header|}}}|bottom||[[{{{target|Main Page}}}|<div class="card-header">{{{title|{{{target|Main Page}}}}}}</div>]]}}<!-- |
-->{{#ifeq:{{{header|}}}|bottom||[[{{{target|Main Page}}}|<div class="card-header">{{{title|{{{target|Main Page}}}}}}</div>]]}}<!-- |
||
Revision as of 01:43, 22 April 2022
Creates a box.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Box title | title | If not set, falls back to `target`. | String | optional |
| Box header position | header | Set to "bottom" to move header down. Otherwise it will show up at the top. | String | optional |
| Link target | target | Name of the page to link the box to. | Page name | optional |
| Image | image | Name of the uploaded image to be shown as the box background. | File | optional |
| Box content | content | Arbitrary wikitext adapted for use inside templates. | Content | optional |

