Difference between revisions of "Template:New"

From Second Life Wiki
Jump to navigation Jump to search
Line 9: Line 9:


==== Example ====
==== Example ====
To create a [[File:New_tag.png]] tag that expires on August 18, 2014, insert the following code into your document:
To create a [[File:New_tag.png|20px]] tag that expires on August 18, 2014, insert the following code into your document:


<code><nowiki>{{New|expiry=20140818}}</nowiki></code>
<code><nowiki>{{New|expiry=20140818}}</nowiki></code>

Revision as of 17:08, 4 December 2012

New tag.png

Usage

Displays a New tag.png icon if the current date is before the expiry date defined in the expiry template parameter.

The expiry date parameter is a single number defined in the form of YYYYMMDD. For example, an expiry date of November 4, 2012 would be 20121104.

If no expiry date is provided, expiry defaults to 99999999, effectively negating an expiry date for the display of the New tag.png tag.

Example

To create a New tag.png tag that expires on August 18, 2014, insert the following code into your document:

{{New|expiry=20140818}}