Difference between revisions of "Template:How long ago/doc"
Jump to navigation
Jump to search
imported>PC78 (split from template) |
imported>PC78 (update) |
||
| Line 5: | Line 5: | ||
=== Example usage === | === Example usage === | ||
| − | <table class="wikitable"> | + | <table class="wikitable" style="width:100%"> |
<tr> | <tr> | ||
<th>Code</th><th>Result</th> | <th>Code</th><th>Result</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
| − | <td><nowiki>{{How | + | <td><code><nowiki>{{How long ago|2004|3|10}}</nowiki></code></td><td>{{How long ago|2004|3|10}}</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
| − | <td><nowiki>This template was created {{How | + | <td><code><nowiki>{{How long ago|year=2004|month=3|day=10}}</nowiki></code></td><td>{{How long ago|year=2004|month=3|day=10}}</td> |
| + | </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> | ||
</tr> | </tr> | ||
</table> | </table> | ||
Revision as of 02:36, 24 September 2010
| 40px | This is a documentation subpage for Template:How long ago. It contains usage information, categories and other content that is not part of the original template page. |
This template was based on "Template:User Wikipedian For", which was itself translated from the Hebrew Wikipedia.
Example usage
| Code | Result |
|---|---|
{{How long ago|2004|3|10}} | 21 years, 10 months and 2 days |
{{How long ago|year=2004|month=3|day=10}} | 21 years, 10 months and 2 days |
This template was created {{How long ago|2007|11|20}} ago | This template was created 18 years, 1 month and 23 days ago |