Difference between revisions of "Template:News message"
From Twinsuniverse
J McKalling (Talk | contribs) |
J McKalling (Talk | contribs) m (undo two revisions, I don't want an automatic "now" conversion anymore...) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{# | + | <includeonly> |
− | + | === {{#if:{{{date|}}}| {{#time: j F Y |{{{date}}}}} | Recently}} === | |
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
Line 8: | Line 8: | ||
#if: {{{4|}}} |* {{{4}}} }}{{ | #if: {{{4|}}} |* {{{4}}} }}{{ | ||
#if: {{{5|}}} |* {{{5}}} }} | #if: {{{5|}}} |* {{{5}}} }} | ||
− | + | </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. | ||
Line 19: | Line 19: | ||
# Additional message | # Additional message | ||
# Additional message | # Additional message | ||
− | * '''date''': Specify a specific date for the news message (see PHP's [http://www.php.net/manual/en/function.strtotime.php strtotime()] function, defaults to " | + | * '''date''': Specify a specific date for the news message (see PHP's [http://www.php.net/manual/en/function.strtotime.php strtotime()] function, defaults to displaying "Recently") |
Revision as of 11:46, 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 displaying "Recently")
Example
{| border="1" | {{news message|There has been news.|date=october 22 2012}} |}
22 October 2012
- There has been news.