Template:ArticleCard: Difference between revisions
From AbhiprayaVedi
mNo edit summary Tag: 2017 source edit |
mNo edit summary Tag: 2017 source edit |
||
| Line 2: | Line 2: | ||
<div class="article-card"> | <div class="article-card"> | ||
<!-- 1. Image explicitly at the top --> | <!-- 1. Image explicitly at the top --> | ||
{{#if: {{{Image1|}}} | <div class="article-thumbnail">[[File:{{{Image1}}}|center|300px]] </div> }} | |||
<!-- 2. Content block below the image --> | <!-- 2. Content block below the image --> | ||
<div class="article-info"> | <div class="article-info"> | ||
<!-- Displayname directly under the image --> | <!-- Displayname directly under the image --> | ||
<h3 class="article-title">[[{{{ArticlePage|}}}|{{{Displayname|{{{1}}}}}}]]</h3> | |||
<!-- Intro container using standard CSS clipping mechanics --> | <!-- Intro container using standard CSS clipping mechanics --> | ||
{{#if: {{{Intro|}}} | | |||
<div class="article-intro-wrapper"> | <div class="article-intro-wrapper"> | ||
<p class="article-intro">{{{Intro|}}}</p> | |||
</div> | </div> | ||
}} | }} | ||
<!-- Optional Author photo placeholder --> | <!-- Optional Author photo placeholder --> | ||
{{#if: {{{Authorphoto|}}} | <div class="author-photo-hidden">[[File:{{{Authorphoto}}}|20px]]</div> }} | |||
<!-- 3. Author name and date paired in a single bottom row --> | <!-- 3. Author name and date paired in a single bottom row --> | ||
<div class="article-meta-row"> | <div class="article-meta-row"> | ||
Revision as of 17:18, 9 June 2026
[[|{{{1}}}]]