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 5: Line 5:
| value
| value
| <nowiki />
| <nowiki />
<div class="grid-card {{{card.classes|}}}">
* card{{#var: key }} = {{#var: value }}
{{#if: {{{card{{#var: key }}.link|}}} |
<a href="{{{card{{#var: value}}.link}}}" class="card__link"></a>
}}
{{#if: {{{card{{#var: key }}.image|}}} |
<div class="card__image"><img src="{{{card{{#var: key }}.image}}}" alt="{{{card1.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>
}}
}}
</div>
</div>

Revision as of 21:56, 15 December 2024