Difference between revisions of "Template:Newslist"

From Twinsuniverse
Jump to: navigation, search
m
(new news message)
Line 12: Line 12:
 
==News Archive==
 
==News Archive==
 
__NOEDITSECTION__
 
__NOEDITSECTION__
 +
 +
{{news message|date=26th May 2014
 +
|[[User:Alexfont|Alexfont]] updated  the {{SITENAME}} to MediaWiki software version 1.22.6.
 +
}}
  
 
{{news message|date=1st January 2013
 
{{news message|date=1st January 2013
  |Thanks to [[User:Alexfont|Alexfont]] the '''Twinsuniverse''' has now been updated to MediaWiki software version 1.20.2, for some security fixes, bug fixes and new features.
+
  |Thanks to [[User:Alexfont|Alexfont]] the {{SITENAME}} has now been updated to MediaWiki software version 1.20.2, for some security fixes, bug fixes and new features.
 
}}
 
}}
  

Revision as of 12:32, 26 May 2014

This template defines the list of all news messages, and when called on a page, offers to display only the latest, or all messages.

Parameters

  • mode: whether to show only the latest or all news messages (case insensitive, defaults to all)


Guide: The news messages should be kept in the order from latest to oldest, and the "latest news" section should only contain the latest most important single news message, not necessarily the latest by date.

Example

When using the following, only the latest news will be displayed (the example is just an example message):

{| border="1"
 |{{newslist|mode=latest}}
|}

Latest News Update

23 December 2012

  • Best news ever! We can now display news.


Not specifying the mode or leaving it empty will result in all news messages, which won't display the "more news" link.