Difference between revisions of "Template:News message"
From Twinsuniverse
J McKalling (Talk | contribs) |
J McKalling (Talk | contribs) m |
||
Line 24: | Line 24: | ||
==Example== | ==Example== | ||
<nowiki>{| border="1" | <nowiki>{| border="1" | ||
− | | {{news message|There has been news.|date=october 22 2012}} | + | | {{subst:news message|There has been news.|date=october 22 2012}} |
|}</nowiki> | |}</nowiki> | ||
:{| border="1" | :{| border="1" | ||
− | | | + | | |
+ | === 22 October 2012 === | ||
+ | __NOEDITSECTION__ | ||
+ | |||
+ | * There has been news.{{ | ||
+ | #if: |* {{{2}}} }}{{ | ||
+ | #if: |* {{{3}}} }}{{ | ||
+ | #if: |* {{{4}}} }}{{ | ||
+ | #if: |* {{{5}}} }} | ||
+ | |||
|} | |} | ||
[[Category:System Templates]] | [[Category:System Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 23:30, 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" | {{subst:news message|There has been news.|date=october 22 2012}} |}
22 October 2012
- There has been news.