v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Date diff"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (<includeonly>/<noinclude>)
(example)
 
Line 23: Line 23:
 
}}|,([^,]+)$|<nowiki/>{{#if:{{{pcomma|}}}|,}} and $1}}}}</includeonly><noinclude>
 
}}|,([^,]+)$|<nowiki/>{{#if:{{{pcomma|}}}|,}} and $1}}}}</includeonly><noinclude>
 
Takes a valid date for parameters 1 and 2 (nearly any format is acceptable).
 
Takes a valid date for parameters 1 and 2 (nearly any format is acceptable).
 +
 +
<pre>DF v{{current/version}} was released {{date diff|{{current/lastupdate}}|{{CURRENTDATE}}}} ago.</pre>
 +
DF v{{current/version}} was released {{date diff|{{current/lastupdate}}|{{CURRENTDATE}}}} ago.
 
</noinclude>
 
</noinclude>

Latest revision as of 20:50, 14 October 2013

Takes a valid date for parameters 1 and 2 (nearly any format is acceptable).

DF v{{current/version}} was released {{date diff|{{current/lastupdate}}|{{CURRENTDATE}}}} ago.

DF v50.13 was released 0 years and 55 days ago.