Difference between revisions of "Template:How long ago/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(sandbox non-categorization)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE -->
  
 
This template was based on "[[Template:User Wikipedian For]]", which was itself translated from the [[:he:תבנית:משתמש בוויקיפדיה|Hebrew Wikipedia]].
 
This template was based on "[[Template:User Wikipedian For]]", which was itself translated from the [[:he:תבנית:משתמש בוויקיפדיה|Hebrew Wikipedia]].
Line 20: Line 20:
 
</table>
 
</table>
  
<includeonly>
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
| <!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
[[Category:Date-computing templates based on current time|{{PAGENAME}}]]
+
[[Category:Date-computing templates based on current time]]
</includeonly>
+
}}</includeonly>

Revision as of 00:22, 27 August 2014

This template was based on "Template:User Wikipedian For", which was itself translated from the Hebrew Wikipedia.

Example usage

CodeResult
{{How long ago|2007|3|7}}18 years, 8 months and 15 days
{{How long ago|year=2007|month=10|day=10}}21 years, 8 months and 12 days
This template was created {{How long ago|2007|11|20}} agoThis template was created 18 years and 2 days ago