Difference between revisions of "Template:News message"
From Twinsuniverse
J McKalling (Talk | contribs) m |
J McKalling (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{#ifeq: {{{date|}}}|| {{safesubst:news message|date=now|{{{1}}}}} |<nowiki/> |
=== {{safesubst:#time: j F Y - i "min" |{{{date|now}}}}} === | === {{safesubst:#time: j F Y - i "min" |{{{date|now}}}}} === | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
Line 8: | Line 8: | ||
#if: {{{4|}}} |* {{{4}}} }}{{ | #if: {{{4|}}} |* {{{4}}} }}{{ | ||
#if: {{{5|}}} |* {{{5}}} }} | #if: {{{5|}}} |* {{{5}}} }} | ||
− | </includeonly><noinclude> | + | }}</includeonly><noinclude> |
This template is used to add a news message to the <nowiki>{{</nowiki>[[Template:newslist|newslist]]<nowiki>}}</nowiki> template. | This template is used to add a news message to the <nowiki>{{</nowiki>[[Template:newslist|newslist]]<nowiki>}}</nowiki> template. | ||
Revision as of 11:30, 23 December 2012
This template is used to add a news message to the {{newslist}} template.
This article is a stub [list all]. You can help the Twinsuniverse by expanding it. |
Parameters
- The text of the news message (fully displayed as is)
- Additional message
- Additional message
- Additional message
- Additional message
- date: Specify a specific date for the news message (see PHP's strtotime() function, defaults to "now")
Example
{| border="1" | {{news message|There has been news.|date=october 22 2012}} |}
22 October 2012
- There has been news.