Template:Newsoverview: Difference between revisions

From OIAr
Jump to navigation Jump to search
(prettybox)
(prettybox)
Line 2: Line 2:
'''[[:{{{1}}}|{{#show:{{{1}}}|?Headline|link=none}}]]''' <small>by [[User:{{#var:author}}|{{#var:authorname}}]] on {{#show:{{{1}}}|?Newsdate|link=none}}</small><br>
'''[[:{{{1}}}|{{#show:{{{1}}}|?Headline|link=none}}]]''' <small>by [[User:{{#var:author}}|{{#var:authorname}}]] on {{#show:{{{1}}}|?Newsdate|link=none}}</small><br>
{| {{prettybox}}
{| {{prettybox}}
{{#show:{{{1}}}|?Newsblurb|link=none}} }}<br>
{{#show:{{{1}}}|?Newsblurb|link=none}}
|}<br>
<br></includeonly><noinclude>
<br></includeonly><noinclude>
{{Documentation}}
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Revision as of 09:00, 17 April 2013

Template documentation

This template takes a pages from a query for news articles, and prints it. It can be called from a semantic query, or stand-alone:

{{Newsoverview|<pagename>}}

It is assumed that the pagename is in the News: namespace, and contains all the necessary semantic properties.