Template:Entity card: Difference between revisions

Created page with "<!-- Entity card: generic card used across the Wikigama homepage. Params: mono, tint, tag, title, meta, desc, link, linktext (all required) --> <div style="background:#fff;border:1px solid #e2e5e9;border-radius:14px;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,0.05);"> <div style="height:140px;background:{{{tint}}};display:flex;align-items:center;justify-content:center;"> <div style="width:72px;height:72px;border-radius:50%;background:#fff;border:1px solid #e2e5e..."
 
PS (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<!-- Entity card: generic card used across the Wikigama homepage.
<includeonly><templatestyles src="Main_page/styles.css" /><div class="wg-ec"><div class="wg-ec-top"><span class="wg-ec-mono">{{{mono|}}}</span><span class="wg-ec-tag">{{{tag|}}}</span></div><div class="wg-ec-title">[[{{{link|{{{title}}}}}}|{{{title}}}]]</div><div class="wg-ec-meta">{{{meta|}}}</div><div class="wg-ec-desc">{{{desc|}}}</div><div class="wg-ec-link">[[{{{link|{{{title}}}}}}|{{{linktext|View profile &rarr;}}}]]</div></div></includeonly><noinclude>
    Params: mono, tint, tag, title, meta, desc, link, linktext (all required) -->
Entity card for the Wikigama main page. Parameters: <code>mono</code>, <code>tag</code>, <code>title</code>, <code>meta</code>, <code>desc</code>, <code>link</code>, <code>linktext</code>. (<code>tint</code> is no longer used and is ignored.)
<div style="background:#fff;border:1px solid #e2e5e9;border-radius:14px;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,0.05);">
</noinclude>
<div style="height:140px;background:{{{tint}}};display:flex;align-items:center;justify-content:center;">
<div style="width:72px;height:72px;border-radius:50%;background:#fff;border:1px solid #e2e5e9;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:800;color:#1a5fb4;">{{{mono}}}</div>
</div>
<div style="padding:18px 20px 20px;">
<div style="font-size:11px;font-weight:700;letter-spacing:2px;color:#1a5fb4;">{{{tag}}}</div>
<div style="font-size:19px;font-weight:700;margin:6px 0;">[[{{{link}}}|{{{title}}}]]</div>
<div style="font-size:13px;color:#72777d;">{{{meta}}}</div>
<div style="font-size:14px;margin-top:8px;line-height:1.55;color:#202122;">{{{desc}}}</div>
<div style="margin-top:12px;font-size:14px;font-weight:600;">[[{{{link}}}|{{{linktext}}}]]</div>
</div>
</div>