https://nordiclarp.org/w/index.php?title=Template:Trim_date/doc&feed=atom&action=historyTemplate:Trim date/doc - Revision history2024-03-28T16:24:22ZRevision history for this page on the wikiMediaWiki 1.34.2https://nordiclarp.org/w/index.php?title=Template:Trim_date/doc&diff=14615&oldid=prevJohannes Axner: 1 revision imported2019-01-02T01:47:26Z<p>1 revision imported</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">Revision as of 01:47, 2 January 2019</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Johannes Axnerhttps://nordiclarp.org/w/index.php?title=Template:Trim_date/doc&diff=14614&oldid=preven>Johnuniq: simulate error message to remove page from :Category:Pages with parser function time errors2018-04-27T09:18:31Z<p>simulate error message to remove page from <a href="/w/index.php?title=Category:Pages_with_parser_function_time_errors&action=edit&redlink=1" class="new" title="Category:Pages with parser function time errors (page does not exist)">Category:Pages with parser function time errors</a></p>
<p><b>New page</b></p><div>{{Documentation subpage}}<br />
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --><br />
== Usage ==<br />
<br />
{{tlx|1={{BASEPAGENAME}}|2=1=''date''}}<br />
<br />
Trims all hidden text and microformats from dates output by {{tl|Start date}}, {{tl|Start-date}}, {{tl|End date}}, and {{tl|End-date}}. This template is of interest to template writers only.<br />
<br />
For example, <code><nowiki>{{#time:Y|{{End date|2007|3|30}}}}</nowiki></code> produces:<br />
<br />
<strong class="error">Error: Invalid time.</strong><br />
<br />
However, <code><nowiki>{{#time:Y|{{</nowiki>{{BASEPAGENAME}}<nowiki>|{{End date|2007|3|30}}}}}}</nowiki></code> produces:<br />
<br />
{{#time:Y|{{{{BASEPAGENAME}}|{{End date|2007|3|30}}}}}}<br />
<br />
== See also ==<br />
* {{tl|Start date}}<br />
* {{tl|Start-date}}<br />
* {{tl|End date}}<br />
* {{tl|End-date}}<br />
<br />
<includeonly>{{sandbox other||<br />
<!-- Categories below this line, please; interwikis at Wikidata --><br />
[[Category:Time, date and calendar templates]]<br />
[[Category:String manipulation templates]]<br />
}}</includeonly></div>en>Johnuniq