Template:News item: Difference between revisions

From WikiMSK

No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 5: Line 5:
<p>{{{news-author}}}</p>
<p>{{{news-author}}}</p>
</div>
</div>
<includeonly>
[[Category:News]]
[[Category:News]]
<includeonly>
{{#set:Class=News item
{{#set:Class=News item
|News title={{{title|}}}
|News title={{{title|}}}
|News date={{{date|}}}
|News date={{{date|}}}
|News author={{{news-author|}}}
|News author={{{news-author|}}}
|News excerpt={{#sub:{{{text-content|}}}|0|53}}
|News excerpt={{{news-excerpt|}}}
}}
}}
</includeonly>
</includeonly>
Line 21: Line 21:
"date": {},
"date": {},
"text-content": {},
"text-content": {},
"news-author": {}
"news-author": {},
"news-excerpt": {}
},
},
"description": "Used in news pages"
"description": "Used in news pages"
}
}
</templatedata>
</templatedata>
[[Category:Semantic Templates]]
</noinclude>
</noinclude>

Latest revision as of 15:56, 1 April 2022

{{{title}}}

{{{date}}}

{{{text-content}}}

{{{news-author}}}


Used in news pages

Template parameters

ParameterDescriptionTypeStatus
titletitle

no description

Unknownoptional
datedate

no description

Unknownoptional
text-contenttext-content

no description

Unknownoptional
news-authornews-author

no description

Unknownoptional
news-excerptnews-excerpt

no description

Unknownoptional