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

From blackwiki
Jump to navigation Jump to search
Line 10: Line 10:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><code><nowiki>{{How long ago|2007|3|1}}</nowiki></code></td><td>{{How long ago|2007|3|7}}</td>
+
<td><code><nowiki>{{How long ago|2007|3|1}}</nowiki></code></td><td>{{How long ago|2007|3|1}}</td>
 
</tr>
 
</tr>
 +
<tr>
 +
<td><code><nowiki>{{Age in years, months and days|2007|3|1}}</nowiki></code></td><td>{{Age in years, months and days|2007|3|1}}</td></tr>
 
<tr>
 
<tr>
 
<td><code><nowiki>{{How long ago|year=2007|month=10|day=10}}</nowiki></code></td><td>{{How long ago|year=2007|month=10|day=10}}</td>
 
<td><code><nowiki>{{How long ago|year=2007|month=10|day=10}}</nowiki></code></td><td>{{How long ago|year=2007|month=10|day=10}}</td>
 +
</tr>
 +
<tr>
 +
<td><code><nowiki>{{Age in years, months and days|year=2007|month=10|day=10}}</nowiki></code></td><td>{{Age in years, months and days|year=2007|month=10|day=10}}</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td><code><nowiki>This template was created {{How long ago|2007|11|20}} ago</nowiki></code></td><td>This template was created {{How long ago|2007|11|20}} ago</td>
 
<td><code><nowiki>This template was created {{How long ago|2007|11|20}} ago</nowiki></code></td><td>This template was created {{How long ago|2007|11|20}} ago</td>
 +
</tr>
 +
<tr>
 +
<td><code><nowiki>This template was created {{Age in years, months and days|2007|11|20}} ago</nowiki></code></td><td>This template was created {{Age in years, months and days|2007|11|20}} ago</td>
 
</tr>
 
</tr>
 
</table>
 
</table>

Revision as of 05:17, 6 November 2015

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|1}}18 years, 8 months and 20 days
{{Age in years, months and days|2007|3|1}}18 years, 8 months and 20 days
{{How long ago|year=2007|month=10|day=10}}18 years, 1 month and 11 days
{{Age in years, months and days|year=2007|month=10|day=10}}18 years, 1 month and 11 days
This template was created {{How long ago|2007|11|20}} agoThis template was created 18 years and 1 day ago
This template was created {{Age in years, months and days|2007|11|20}} agoThis template was created 18 years and 1 day ago