Difference between revisions of "Template:News message"
From Twinsuniverse
J McKalling (Talk | contribs) m |
J McKalling (Talk | contribs) |
||
Line 20: | Line 20: | ||
# 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 "now") | * '''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 "now") | ||
+ | |||
+ | |||
+ | ==Example== | ||
+ | <nowiki>{| border="1" | ||
+ | | {{news message|There has been news.|date=october 22 2012}} | ||
+ | |}</nowiki> | ||
+ | |||
+ | :{| border="1" | ||
+ | |{{news message|There has been news.|date=october 22 2012}} | ||
+ | |} | ||
[[Category:System Templates]] | [[Category:System Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 23:29, 22 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.