{{{Content}}}
Template:MalayalamArticle: Difference between revisions
From AbhiprayaVedi
Template:MalayalamArticle
mNo edit summary Tag: 2017 source edit |
mNo edit summary Tag: 2017 source edit |
||
| (19 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|}}} | [[AuthorPhoto::{{{AuthorPhoto|}}}]] | ||
[[Published date::{{{Published date|}}}]] | [[Published date::{{{Published date|}}}]] | ||
[[Intro::{{{Intro|}}}]] | [[Intro::{{{Intro|}}}]] | ||
[[Image1::File:{{{Image1|}}}]] | [[Image1::File:{{{Image1|}}}]] | ||
[[Category | [[Category:{{{Category|General}}}]] | ||
{{#set:Published date={{#time:Y-m-d|{{{Published date|}}}}}}} | {{#set:Published date={{#time:Y-m-d|{{{Published date|}}}}}}} | ||
</div> | </div> | ||
| Line 15: | 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"> | ||
<span class="author-name">{{{Author|}}}</span> | <span class="author-name">{{{Author|}}}</span> | ||
| Line 22: | Line 20: | ||
</div> | </div> | ||
</div> | </div> | ||
</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: {{{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 ( | <!-- 1. AUTHOR INFO BLOCK (Replaced with Automated AuthorCard Query) --> | ||
{{#if: {{{Author|}}} | | {{#if: {{{Author|}}} | | ||
<div class="author-profile-bottom"> | <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> | </div> | ||
}} | }} | ||
<!-- 2. RELATED ARTICLES SECTION ( | |||
<!-- 2. RELATED ARTICLES SECTION (Fixed Category Logic) --> | |||
<div class="related-articles-section"> | <div class="related-articles-section"> | ||
<h3 class="related-heading">✨ ഇതേ വിഭാഗത്തിലെ മറ്റ് ലേഖനങ്ങൾ</h3> | |||
<div class="related-articles-grid"> | |||
{{#ask: [[Category:{{ | {{#ask: [[Category:{{{Category|General}}}]] OR [[Category:{{{Category|}}}]] [[{{FULLPAGENAME}}::!]] | ||
|?#- = ArticlePage | |?#- = ArticlePage | ||
|?Displayname = Displayname | |?Displayname = Displayname | ||
| Line 85: | Line 92: | ||
|order=desc | |order=desc | ||
}} | }} | ||
</div> | |||
</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
Placeholder: Add a brief 2-3 line introduction here.