Difference between revisions of "Template:Newslist"
From Twinsuniverse
J McKalling (Talk | contribs) (new news message) |
J McKalling (Talk | contribs) (added infobox) |
||
Line 26: | Line 26: | ||
}} | }} | ||
− | }}</includeonly><noinclude> | + | }}</includeonly><noinclude>{{Infobox Template |
+ | |purpose=website | ||
+ | |singletag=optional | ||
+ | |multiline=yes | ||
+ | |gamerelated=no | ||
+ | |suppressible= | ||
+ | |choice= | ||
+ | |cat1= | ||
+ | |var1= | ||
+ | }} | ||
+ | |||
This template defines the list of all news messages, and when called on a page, offers to display only the latest, or all messages. | This template defines the list of all news messages, and when called on a page, offers to display only the latest, or all messages. | ||
Line 52: | Line 62: | ||
Not specifying the mode or leaving it empty will result in all news messages, which won't display the "more news" link. | Not specifying the mode or leaving it empty will result in all news messages, which won't display the "more news" link. | ||
− | |||
</noinclude> | </noinclude> |
Revision as of 11:19, 4 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 Update23 December 2012
|
Not specifying the mode or leaving it empty will result in all news messages, which won't display the "more news" link.