Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:InfoGridCards: Difference between revisions

Template page
Content deleted Content added
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<div class="info-grid">
<div class="info-grid">
* card{{#var: key }} = {{#var: value }}
{{#forargs: card
| key
| value
| <nowiki />
<div class="grid-card {{{card.classes|}}}">
{{#if: {{{card{{#var: key }}.link|}}} |
<a href="{{{card{{#var: key }}.link}}}" class="card__link"></a>
}}
{{#if: {{{card{{#var: key }}.image|}}} |
<div class="card__image"><img src="{{{card{{#var: key }}.image}}}" alt="{{{card.alt|Card Image}}}" /></div>
}}
{{#if: {{{card{{#var: key }}.header|}}} |
<div class="card__header">{{{card{{#var: key }}.header}}}</div>
}}
{{#if: {{{card{{#var: key }}.text|}}} |
<div class="card__text">{{{card{{#var: key }}.text}}}</div>
}}
{{#if: {{{card{{#var: key }}.video|}}} |
<div class="card__video">
<video src="{{{card{{#var: key }}.video}}}" controls></video>
</div>
}}
</div>
* {{#var: key }} = {{#var: value }}
}}
}}
</div>
</div>

Revision as of 21:53, 15 December 2024