Jump to content

Template:MainPageProductCard: Difference between revisions

From SOJI ELECTRONICS
[checked revision][checked revision]
Update message no icon
Update message no icon
 
Line 2: Line 2:
<div class="main-page-product-icon">{{#ifexist:File:{{#replace:{{{name|{{PAGENAME}}}}}| |-}}-Product-icon.svg
<div class="main-page-product-icon">{{#ifexist:File:{{#replace:{{{name|{{PAGENAME}}}}}| |-}}-Product-icon.svg
|[[File:{{#replace:{{{name|{{PAGENAME}}}}}| |-}}-Product-icon.svg|160px|link={{{name|{{PAGENAME}}}}}]]
|[[File:{{#replace:{{{name|{{PAGENAME}}}}}| |-}}-Product-icon.svg|160px|link={{{name|{{PAGENAME}}}}}]]
|<div class="main-page-product-no-icon">
| <div class="main-page-product-no-icon">
No icon<br>
No icon<br>
Upload icon with name:<br>
Upload icon with name:<br>
<code>{{#replace:{{{name|{{PAGENAME}}}}}| |-}}-Product-icon.svg</code>
<span style="font-size:11px; white-space:nowrap;">{{#replace:{{{name|{{PAGENAME}}}}}| |-}}-Product-icon.svg</span>
</div>
</div>
}}</div>
}}</div>

Latest revision as of 05:03, 22 May 2026

No icon
Upload icon with name:
MainPageProductCard-Product-icon.svg

Usage: {{MainPageProductCard|name=LIGO AIR}} Add description per product via #switch above.

SOJI Electronics