Template:News item: Difference between revisions
From WikiMSK
No edit summary |
No edit summary |
||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="news-card"> | |||
<p style="font-size:1.25rem; font-weight:500;">{{{title}}}</strong></p> | |||
<p>{{Date|{{{date}}}}}</p> | |||
<p>{{{text-content}}}</p> | |||
<p>{{{news-author}}}</p> | |||
</div> | |||
<includeonly> | <includeonly> | ||
[[Category:News]] | |||
{{#set:Class=News item | {{#set:Class=News item | ||
| | |News title={{{title|}}} | ||
| | |News date={{{date|}}} | ||
|News author={{{news-author|}}} | |News author={{{news-author|}}} | ||
| | |News excerpt={{{news-excerpt|}}} | ||
}} | }} | ||
</includeonly>< | </includeonly> | ||
< | <noinclude> | ||
<templatedata> | |||
{ | |||
"params": { | |||
</ | "title": {}, | ||
[[Category: | "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 |