(meta template for dates)
 
m (not named param)
Line 1: Line 1:
''({{#if:{{{date|}}}|{{{date}}}|Date?<includeonly>{{#switch:{{NAMESPACE}}|User=|User talk=|Scratch Wiki talk=|Talk=|Special=|MediaWiki=|MediaWiki talk=|#default={{#if:{{PROTECTIONLEVEL:edit}}||[[Category:Pages with Dateless Templates]]}}}}</includeonly>}})''<noinclude>{{/doc}}[[Category:Meta Templates]]</noinclude>
+
''({{#if:{{{1|}}}|{{{1}}}|Date?<includeonly>{{#switch:{{NAMESPACE}}|User=|User talk=|Scratch Wiki talk=|Talk=|Special=|MediaWiki=|MediaWiki talk=|#default={{#if:{{PROTECTIONLEVEL:edit}}||[[Category:Pages with Dateless Templates]]}}}}</includeonly>}})''<noinclude>{{/doc}}[[Category:Meta Templates]]</noinclude>

Revision as of 04:03, 29 November 2017

(Date?)

[edit] [history] [purge] Documentation Template documentation

This documentation is transcluded from Template:Check date/doc.

This meta-template accepts one parameter. If the parameter is empty, it produces the text "Date?" and adds it to Category:Pages with Dateless Templates; otherwise, it echoes the parameter back.

It is used in templates with dates to display the date that the template was added.