Šablóna:NewsItem
{{{title}}}
{{{text}}}Template:NewsItem
A workhorse template generating news items. Allows for two styles of usage:
- In the new style, the file name of the image is given via the parameter
image-name
, and the news link is given aslink-text
and target (eitherlink-internal
orlink-external
). The template then not only shows the link below the news item's text, but also links the image, the title, and the “more” arrow to the target.
- In the old style, the image is provided as full MediaWiki link passed via the parameter
image
, and the link is given as MW link passed vialink
. The title is not a link (unless made so explicitly), the image links to its own page. The link is repeated inside the “more“ arrow and show below the news item's text.