More actions
Content deleted Content added
No edit summary |
Tag: Undo |
||
(20 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class="info-grid" style="grid-template-columns: repeat({{{max-columns|3}}}, 1fr);">{{#forargs: card |
|||
<includeonly> |
|||
| key |
|||
<div class="info-grid"> |
|||
| value |
|||
{{#forargs: card |
|||
| <nowiki /><div class="grid-card {{{classes{{#var: key}}|}}}"> |
|||
{{#if: {{{ |
{{#if: {{{link{{#var: key }}|}}} | |
||
< |
<div class="card__link">{{{link{{#var: key}}}}}</div> |
||
⚫ | |||
}} |
|||
<div class="card__image">{{{image{{#var: key}}}}}</div> |
|||
|}}{{#if: {{{header{{#var: key }}|}}} | |
|||
<div class="card__image"><img src="{{{card.image}}}" alt="{{{card.alt|Card Image}}}" /></div> |
|||
⚫ | |||
}} |
|||
{{#if: {{{ |
|}}{{#if: {{{text{{#var: key }}|}}} | |
||
<div class=" |
<div class="card__text">{{{text{{#var: key }}}}}</div> |
||
|}}{{#if: {{{video{{#var: key }}|}}} | |
|||
}} |
|||
{{ |
<div class="card__video">{{{video{{#var: key }}}}}</div>|}} |
||
⚫ | |||
}} |
|||
⚫ | |||
<div class="card__video"> |
|||
<video src="{{{card.video}}}" controls></video> |
|||
</div> |
|||
}} |
|||
</div> |
</div> |
||
}} |
}} |
||
Line 26: | Line 19: | ||
</includeonly> |
</includeonly> |
||
<noinclude> |
<noinclude> |
||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"header1": { |
|||
"label": "Card 1 Header", |
|||
"type": "string" |
|||
}, |
|||
"image1": { |
|||
"label": "Card 1 Image", |
|||
"type": "wiki-file-name" |
|||
}, |
|||
"text1": { |
|||
"label": "Card 1 Text", |
|||
"type": "string" |
|||
}, |
|||
"video1": { |
|||
"label": "Card 1 Video", |
|||
"type": "wiki-file-name" |
|||
}, |
|||
"classes1": {}, |
|||
"header2": {}, |
|||
"image2": {}, |
|||
"text2": {}, |
|||
"video2": {}, |
|||
"classes2": {}, |
|||
"header3": {}, |
|||
"image3": {}, |
|||
"text3": {}, |
|||
"video3": {}, |
|||
"classes3": {}, |
|||
"header4": {}, |
|||
"image4": {}, |
|||
"text4": {}, |
|||
"video4": {}, |
|||
"classes4": {}, |
|||
"header5": {}, |
|||
"image5": {}, |
|||
"text5": {}, |
|||
"video5": {}, |
|||
"classes5": {} |
|||
} |
|||
} |
|||
</templatedata> |
|||
</noinclude> |
</noinclude> |
Latest revision as of 02:12, 16 December 2024