"سانچہ:Trim date/doc" کے نسخوں کے درمیان فرق
ur>Wikivahdat (simulate error message to remove page from Category:Pages with parser function time errors) |
(کوئی فرق نہیں)
|
نسخہ بمطابق 09:18، 27 اپريل 2018ء
فائل:Edit-copy green.svg | سانچہ:Strong for سانچہ:Terminate sentence It contains usage information, categories and other content that is not part of the original سانچہ page. |
Usage
{{Trim date|1=date}}
Trims all hidden text and microformats from dates output by {{Start date}}, {{Start-date}}, {{End date}}, and {{End-date}}. This template is of interest to template writers only.
For example, {{#time:Y|{{End date|2007|3|30}}}}
produces:
Error: Invalid time.
However, {{#time:Y|{{Trim date|{{End date|2007|3|30}}}}}}
produces:
2007
See also
- {{Start date}}
- {{Start-date}}
- {{End date}}
- {{End-date}}