Template:News item: Difference between revisions
From WikiMSK
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{{title}}} | <includeonly> | ||
{{#set:Class=News item | |||
{{ | |Title={{{title|}}} | ||
|Date={{{date}}} | |||
{{{text-content}}} | |Author={{{author}}} | ||
|Excerpt={{#sub:{{{text-content|}}}|0|33}} | |||
{{{author}}} | }} | ||
</includeonly> | |||
<div class="news-card"> | |||
<h2>{{{title}}}</h2> | |||
<p>{{{date}}}</p> | |||
<p>{{{text-content}}}</p> | |||
<p>{{{author}}}</p> | |||
</div> | |||
[[Category:News]] | [[Category:News]] |
Revision as of 06:27, 31 March 2022
{{{title}}}
{{{date}}}
{{{text-content}}}
{{{author}}}