Difference between revisions of "Template:Dated/doc"

From blackwiki
Jump to navigation Jump to search
(Replaced content with 'Ban')
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Ban
+
 
 +
{{Documentation subpage}}
 +
{{for|the templates that show an article is out of date|Template:Update|Template:Update inline}}
 +
{{for|the template that shows an article will be out of date after a certain date|Template:Update after}}
 +
{{for|the template that marks potentially dated statements|Template:As of}}
 +
 
 +
==Usage==
 +
{{Subst only}}
 +
This template automatically dates tags with the current month and year upon placement.
 +
 
 +
Example:
 +
:<code><nowiki>{{subst:dated|Unreferenced}}</nowiki></code>
 +
 
 +
Instead of:
 +
:<code><nowiki>{{Unreferenced|date=</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki></code>
 +
 
 +
==See also==
 +
* {{tl|DATE}}
 +
* {{tl|mymt}}
 +
* {{tl|when}}
 +
 
 +
<includeonly>{{Sandbox other||
 +
[[ja:Template:Dated]]
 +
[[pt:Predefinição:Datado]]
 +
[[zh:Template:Dated]]
 +
}}</includeonly>

Latest revision as of 06:13, 30 April 2020

Usage

This template automatically dates tags with the current month and year upon placement.

Example:

{{subst:dated|Unreferenced}}

Instead of:

{{Unreferenced|date=December 2025}}

See also