Template:MainPageProductCard: Difference between revisions
Appearance
| [checked revision] | [checked revision] |
Update message no icon |
Update Tag: Reverted |
||
| Line 1: | Line 1: | ||
<onlyinclude><div class="main-page-product-card"> | <onlyinclude><div class="main-page-product-card"> | ||
<div class="main-page-product-icon">{{#ifexist:File:{{#replace:{{{name|{{ | <div class="main-page-product-icon">{{#ifexist:File:{{#replace:{{{name}}}| |-}}-Product-icon.svg | ||
|[[File:{{#replace:{{{name|{{ | |[[File:{{#replace:{{{name}}}| |-}}-Product-icon.svg|120px|link={{{name}}}]] | ||
| <div class=" | |{{#ifexist:File:{{#replace:{{{name}}}| |-}}-Product-icon.png | ||
No icon<br> | |[[File:{{#replace:{{{name}}}| |-}}-Product-icon.png|120px|link={{{name}}}]] | ||
Upload icon with name:<br> | |{{#ifexist:File:{{#replace:{{{name}}}| |-}}-Product-icon.ico | ||
< | |[[File:{{#replace:{{{name}}}| |-}}-Product-icon.ico|120px|link={{{name}}}]] | ||
|{{#ifexist:File:{{#replace:{{{name}}}| |-}}-Product-icon.jpg | |||
|[[File:{{#replace:{{{name}}}| |-}}-Product-icon.jpg|120px|link={{{name}}}]] | |||
|<div class="product-no-icon-text">No icon<br>Upload icon with name:<br><code>{{#replace:{{{name}}}| |-}}-Product-icon.svg</code></div> | |||
}} | |||
}} | |||
}} | |||
}} | |||
</div> | </div> | ||
<div class="main-page-product-title">[[{{{name|{{PAGENAME}}}}}|{{{name|{{PAGENAME}}}}}]]</div> | <div class="main-page-product-title">[[{{{name|{{PAGENAME}}}}}|{{{name|{{PAGENAME}}}}}]]</div> | ||
<div class="main-page-product-desc"> | <div class="main-page-product-desc"> | ||
Revision as of 08:41, 25 May 2026
Usage: {{MainPageProductCard|name=LIGO AIR}}
Add description per product via #switch above.