Template:Entity card: Difference between revisions
Appearance
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..." |
Refined editorial entity card design |
||
| Line 1: | Line 1: | ||
< | <div class="wg-card" style="background:#fff;border:1px solid #e2e5e9;border-radius:14px;"> | ||
<div style="padding:20px;"> | |||
<div style="display:flex;align-items:center;gap:14px;"> | |||
<div style=" | <div style="width:52px;height:52px;flex:0 0 52px;border-radius:50%;background:{{{tint}}};display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:800;color:#1a5fb4;">{{{mono}}}</div> | ||
<div style="width: | <div> | ||
<div style="font-size:11px;font-weight:700;letter-spacing:2px;color:#1a5fb4;">{{{tag}}}</div> | |||
<div style="font-size:18px;font-weight:700;margin-top:3px;line-height:1.3;">[[{{{link}}}|{{{title}}}]]</div> | |||
</div> | </div> | ||
<div | </div> | ||
<div style="font-size: | <div style="font-size:13px;color:#72777d;margin-top:14px;">{{{meta}}}</div> | ||
<div style="font-size:14px;margin-top:6px;line-height:1.55;color:#202122;">{{{desc}}}</div> | |||
<div style="font-size:14px;margin-top: | |||
<div style="margin-top:12px;font-size:14px;font-weight:600;">[[{{{link}}}|{{{linktext}}}]]</div> | <div style="margin-top:12px;font-size:14px;font-weight:600;">[[{{{link}}}|{{{linktext}}}]]</div> | ||
</div> | </div> | ||
</div> | </div> | ||
Revision as of 23:11, 1 October 2026
{{{mono}}}
{{{tag}}}
[[{{{link}}}|{{{title}}}]]
{{{meta}}}
{{{desc}}}
[[{{{link}}}|{{{linktext}}}]]