Template:News item: Difference between revisions
From WikiMSK
No edit summary |
No edit summary |
||
(21 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{{title}}} | <div class="news-card"> | ||
< | <p style="font-size:1.25rem; font-weight:500;">{{{title}}}</strong></p> | ||
<p>{{Date|{{{date}}}}}</p> | |||
<p>{{{text-content}}}</p> | |||
{{Date|{{{date}}}}} | <p>{{{news-author}}}</p> | ||
</div> | |||
{{{text-content}}} | <includeonly> | ||
[[Category:News]] | [[Category:News]] | ||
{{#set:Class=News item | |||
|News title={{{title|}}} | |||
|News date={{{date|}}} | |||
|News author={{{news-author|}}} | |||
|News excerpt={{{news-excerpt|}}} | |||
}} | |||
</includeonly> | |||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"title": {}, | |||
"date": {}, | |||
"text-content": {}, | |||
"news-author": {}, | |||
"news-excerpt": {} | |||
}, | |||
"description": "Used in news pages" | |||
} | |||
</templatedata> | |||
[[Category:Semantic Templates]] | |||
</noinclude> |
Latest revision as of 15:56, 1 April 2022
{{{title}}}
{{{date}}}
{{{text-content}}}
{{{news-author}}}
Used in news pages
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title | no description | Unknown | optional |
date | date | no description | Unknown | optional |
text-content | text-content | no description | Unknown | optional |
news-author | news-author | no description | Unknown | optional |
news-excerpt | news-excerpt | no description | Unknown | optional |