Difference between revisions of "Template:Last updated"

From Ballotpedia
Jump to: navigation, search
m
Line 1: Line 1:
{{#ifeq:{{{dateonly|}}}|yes||'''Last updated: '''}}{{#ifeq:{{{format|}}}|yes|[<noinclude />[|}}{{REVISIONYEAR}}-{{#ifexpr:{{REVISIONMONTH}}<10|{{REVISIONMONTH}}|{{REVISIONMONTH}}}}-{{REVISIONDAY2}}{{#ifeq:{{{format|}}}|yes|]<noinclude />]|}}<noinclude>
+
''Date unknown''<noinclude>
  
 
==Usage==
 
==Usage==

Revision as of 09:28, 1 January 2014

Date unknown

Usage

Principally intended for use on user pages, but can also be of some use on Wikipedia-namespace (policy, project, etc.) and portal pages. Not intended for use on articles.

To suppress the "Last update:" text, use Template:Para:

renders as:

  • an unknown date

To link the date so that it autoformats (e.g. into International or US instead of Unix-style dates) for users with date preferences set, use Template:Para. Note that if the template is substituted, bots may remove this linking, per WP:MOSUNLINKDATES.:

renders as:

  • an unknown date