Template:Community-corner-news/doc


 * Syntax


 * Description
 * This template is used mainly on the community corner to display a news post. It shows the text defined in the  parameter, but only if it doesn't exceed its validity defined in the parameter. The validity is counted from which should be a date when the news post is created.

Example #1

 * Code


 * Result

A text of this news post is displayed because current date doesn't exceed the defined validity:
 * Comment
 * + 30 days &rarr; valid until

Example #2

 * Code


 * Result

A text of this news post isn't displayed because current date exceeds the defined validity:
 * Comment
 * + 30 days &rarr; valid until

Additional info

 * If you have any questions how this template works, or you have an idea how to improve it, feel free to contact me. --