Difference between revisions of "Template:Newslist"

From Twinsuniverse
Jump to: navigation, search
(new news message)
m
Line 13: Line 13:
 
__NOEDITSECTION__
 
__NOEDITSECTION__
  
{{news message|date=26th May 2014
+
{{news message|date=6th June 2014
 
  |All templates have finally been updated to render an all-new infobox on their documentation pages, and are automatically organized by it just like content articles. This should make it easier to find a template, and understand all of their properties. This makes all the Characters, Enemies, Items and Templates finished for now. The Location articles and infoboxes will be next.
 
  |All templates have finally been updated to render an all-new infobox on their documentation pages, and are automatically organized by it just like content articles. This should make it easier to find a template, and understand all of their properties. This makes all the Characters, Enemies, Items and Templates finished for now. The Location articles and infoboxes will be next.
 
}}
 
}}

Revision as of 19:41, 6 June 2014

Newslist
Purpose

Website [list all]

Single tag

Optional [list all]

Multi-line

Yes [list all]

Protected

Full [list all]

Game related

No [list all]

Categorization
Categories

none [list all]

Variables
Names

none [list all]

Subpages

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.