![]() |
![]() |
![]() |
![]() |
![]() |
Contents |
In these examples, result table contains latest articles from category "Programming" and also articles from first level of sub-categories inside Category:Programming, ordened by date. Base syntax:
{{#newsz:My_news_category|begin from|news counter|cols or chars| class="" style="" ...}}
Latest in Programming (source):
{{#newsz:Programming|0|5|400| class="T_aqua" style="font-size:12px; width:100%;"}} Return a table (5 elements), with a text preview (400 chars), thumbnail (first image in article, or default Logo-<category>.png), date, and custom style. | Latest in Programming (result):
|
Latest in Programming (source):
{{#newsz:Programming|0|5|0| class="T_aqua" style="font-size:12px; width:100%;"}} Return a table (5 elements), with title of articles and date; custom style. | Latest in Programming (result):
|
Latest in Programming (source):
{{#newsz:Programming|0|5|-400| class="T_aqua" style="font-size:12px; width:100%;"}} Return a table (5 elements), with date and a text preview (400 chars), without thumbnail; custom style. Note: «cols or chars» field is a negative number. | Latest in Programming (result):
|