Template:MalayalamArticle: Difference between revisions

From AbhiprayaVedi
Template:MalayalamArticle
mNo edit summary
Tag: 2017 source edit
mNo edit summary
Tag: 2017 source edit
 
(26 intermediate revisions by the same user not shown)
Line 2: Line 2:
<templatestyles src="Template:MalayalamArticle/styles.css"/>
<templatestyles src="Template:MalayalamArticle/styles.css"/>
<!-- Semantic properties for SMW -->
<!-- Semantic properties for SMW -->
<div style="display:none">
<div style="display:none">[[Displayname::{{{Displayname|}}}]]
[[Displayname::{{{Displayname|}}}}]
[[Author::{{{Author|}}}]]
[[Author::{{{Author|}}}}]
[[AuthorPhoto::{{{AuthorPhoto|}}}]]
[[Published date::{{{Published date|}}}}]
[[Published date::{{{Published date|}}}]]
[[Intro::{{{Intro|}}}}]
[[Intro::{{{Intro|}}}]]
[[Image1::{{{Image1|}}}}]
[[Image1::File:{{{Image1|}}}]]
[[Category:{{{Category|General}}}]]
[[Category:{{{Category|General}}}]]
{{#set:Published date={{#time:Y-m-d|{{{Published date|}}}}}}}
{{#set:Published date={{#time:Y-m-d|{{{Published date|}}}}}}}
Line 14: Line 14:
{{DISPLAYTITLE:{{{Displayname|No Title Provided}}}}}
{{DISPLAYTITLE:{{{Displayname|No Title Provided}}}}}
<div class="article-header">
<div class="article-header">
<div class="article-byline">
<div class="article-byline">
<div class="article-byline">
<span class="author-name">{{{Author|}}}</span>
<span class="author-name">{{{Author|}}}</span>
Line 21: Line 20:
</div>
</div>
</div>
</div>
</div><div class="intro-box">{{{Intro|Placeholder: Add a brief 2-3 line introduction here.}}}
 
</div>
<div class="intro-box">{{{Intro|Placeholder: Add a brief 2-3 line introduction here.}}}</div>
 
<div class="article-sidebar">
<div class="article-sidebar">
{{#if: {{{Thumbnail|}}} | [[File:{{{Thumbnail}}}|thumb|220px|center|{{{Thumbnail_caption|}}}]] }}
{{#if: {{{highlight1|}}} | <div class="highlight-box">🔑 {{{highlight1}}}</div> }}
{{#if: {{{highlight1|}}} | <div class="highlight-box">🔑 {{{highlight1}}}</div> }}
{{#if: {{{highlight2|}}} | <hr><div class="highlight-box">💡 {{{highlight2}}}</div> }}
{{#if: {{{highlight2|}}} | <hr><div class="highlight-box">💡 {{{highlight2}}}</div> }}
</div>
</div>
<div class="article-content">
<div class="article-content">
{{#if: {{{Image1|}}} |
{{#if: {{{Image1|}}} |
Line 40: Line 40:
{{{Content}}}
{{{Content}}}
</div>
</div>
{{#if: {{{translator|{{{source|}}}}}} |
{{#if: {{{translator|{{{source|}}}}}} |
== Source Attribution ==
== Source Attribution ==
Line 48: Line 49:
}}
}}


<!-- 🛠️ വിക്കി കാറ്റഗറി ടാഗിലേക്ക് ഫോം വാല്യൂ കൃത്യമായി ബന്ധിപ്പിച്ചു -->
[[Category:{{{Category|General}}}]]
[[Category:{{{Category|General}}}]]
<!-- ലേഖനത്തിന്റെ ഉള്ളടക്കം ഇവിടെ അവസാനിക്കുന്നു -->
<!-- 1. AUTHOR INFO BLOCK (Replaced with Automated AuthorCard Query) -->
{{#if: {{{Author|}}} |
<div class="author-profile-bottom">
  <h4 class="author-heading" style="margin-bottom: 15px; color: #718096; text-transform: uppercase; font-size: 0.85em; font-family: 'Manjari', sans-serif !important;">എഴുത്തുകാരൻ / എഴുത്തുകാരി</h4>
 
  {{#ask: [[Category:Authors]] [[Displayname::{{{Author}}}]]
  |?#- = AuthorPage
  |?Displayname = Displayname
  |?AuthorPhoto#120px = AuthorPhoto
  |?AuthorBio = AuthorBio
  |?AuthorsiteLink = AuthorsiteLink
  |format=template
  |template=AuthorCard
  |named args=yes
  |limit=1
  }}
</div>
}}
<!-- 2. RELATED ARTICLES SECTION (Fixed Category Logic) -->
<div class="related-articles-section">
<h3 class="related-heading">✨ ഇതേ വിഭാഗത്തിലെ മറ്റ് ലേഖനങ്ങൾ</h3>
<div class="related-articles-grid">
{{#ask: [[Category:{{{Category|General}}}]] OR [[Category:{{{Category|}}}]] [[{{FULLPAGENAME}}::!]]
|?#- = ArticlePage
|?Displayname = Displayname
|?Author = Author
|?Published date = Published date
|?Intro = Intro
|?Image1#150px = Image1
|format=template
|template=ArticleCard
|named args=yes
|limit=3
|sort=Published date
|order=desc
}}
</div>
</div>


<!-- Edit with Form Button -->
<!-- Edit with Form Button -->
{{#formlink:form=MalayalamArticleSubmission|target={{FULLPAGENAME}}|link text=✏️ Edit with Form|link type=button}}
{{#formlink:form=MalayalamArticleSubmission|target={{FULLPAGENAME}}|link text=✏️ Edit with Form|link type=button}}

Latest revision as of 22:36, 11 June 2026



File:

Placeholder: Add a brief 2-3 line introduction here.

{{{Content}}}