https://coptr.digipres.org/index.php?title=Template:As_of&feed=atom&action=history
Template:As of - Revision history
2024-03-28T11:19:30Z
Revision history for this page on the wiki
MediaWiki 1.35.14
https://coptr.digipres.org/index.php?title=Template:As_of&diff=3104&oldid=prev
Caribbean historian: added As of template
2018-05-23T02:17:37Z
<p>added As of template</p>
<p><b>New page</b></p><div><!--{{As of}} begin--><includeonly><!--<br />
<br />
## param 1 is the year<br />
## optional param 2 is the month<br />
## optional param 3 is the day of the month<br />
## optional named parameter alt=[text] is alternative display text (may include wiki markup)<br />
## optional named parameter df=US produces American date format in displayed text<br />
## optional named parameter lc=on gives lower-case-first output<br />
## optional named parameter url=[URL] gives statement reference<br />
<br />
## displayed text ([A/a]s of [Start date] by default)<br />
-->{{#if: {{{alt|}}} | {{{alt}}} | {{#if:{{{since|}}}|{{#ifeq: {{{lc}}} | {{{lc|}}} | s | S }}ince | {{#ifeq: {{{lc}}} | {{{lc|}}} | a | A }}s of}} {{#if:{{{pre|}}}|{{{pre|}}}}} {{#if: {{{3|}}} | {{#ifeq:{{lc:{{{df|}}}}}|us|{{MONTHNAME|{{{2}}}}}&nbsp;{{#expr:{{{3}}}}},&#32;|{{#expr:{{{3}}}}}&nbsp;{{MONTHNAME|{{{2}}}}}&nbsp;}}{{{1}}}|{{#if: {{{2|}}} |{{MONTHNAME|{{{2}}}}}&nbsp;}}{{{1}}}}}}}{{#if:{{{post|}}}|<nowiki />{{{post}}}}}<!--<br />
#### That nowiki is required or, various characters (:, ;, #, and *} will be parsed as wikisyntax for list items.<br />
## ref/update inline banner (hidden by default)<br />
--><sup class="plainlinks noexcerpt noprint asof-tag {{#if:{{{url|}}}|ref|update}}" style="display:none;">[{{#if:{{{url|}}}|{{{url}}} &#91;ref&#93;|{{fullurl:{{PAGENAME}}|action=edit}} &#91;update&#93;}}]</sup><!--<br />
<br />
## categorisation disabled outside main namespace<br />
-->{{DMCA|Articles containing potentially dated statements|from|<!--<br />
<br />
## temporal category for template (word method)<br />
-->{{#if: {{#ifexpr: {{{1}}} = 1 }} | {{#ifexpr: {{#time:Y|{{{1}}}}} > 2004 | {{{1}}} | {{#ifexpr: {{#time:Y|{{{1}}}}} > 1989 | {{#time:Y|{{{1}}}}} | before 1990 }}}} | <!--<br />
<br />
## temporal category for template (parameter method)<br />
-->{{#ifexpr: {{{1}}} > 2004 | {{#if:{{{2|}}} | {{MONTHNAME|{{{2}}}}} }} {{{1}}} | {{#ifexpr:{{{1}}} > 1989 | {{{1}}} | before 1990 }}}}}}|<!--<br />
<br />
## global category for template<br />
-->All articles containing potentially dated statements}}</includeonly><!--{{As of}} end--><noinclude><!-- <br />
<br />
## dynamic example (as of today, self ref)<br />
<br />
-->As of {{Start date|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}|df=yes}}<sup class="plainlinks">[https://en.wikipedia.org/wiki/Template:As_of &#91;ref&#93;]</sup><br />
<br />
{{documentation}}<br />
<br />
<!-- Add categories and inter-wikis to the /doc subpage, not here! --> <br />
<br />
</noinclude></div>
Caribbean historian