Template:As of: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(Migrate to DMCA)
m (58 revisions imported from wikipedia:Template:As_of)
 
(18 intermediate revisions by 11 users not shown)
Line 10: Line 10:


## displayed text ([A/a]s of [Start date] by default)
## displayed text ([A/a]s of [Start date] by default)
-->{{#if: {{{alt|}}} | {{{alt}}} | {{#ifeq: {{{lc}}} | {{{lc|}}} | a | A }}s of {{#if: {{{3|}}} | {{Start date | {{{1}}} | {{MONTHNUMBER|{{{2}}}}} | {{{3}}} | df={{#ifeq:{{{df|}}}|US||yes}} }} | {{#if: {{{2|}}} | {{MONTHNAME|{{{2}}}}} }} {{{1}}} }}}}<!--
-->{{#if: {{{alt|}}} | {{{alt}}} | {{#if:{{{since|}}}|{{#ifeq: {{{lc}}} | {{{lc|}}} | s | S }}ince | {{#ifeq: {{{lc}}} | {{{lc|}}} | a | A }}s of}} {{#if:{{{pre|}}}|{{{pre}}}&#32;}}{{#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}}}}}<!--
#### That nowiki is required or, various characters (:, ;, #, and *} will be parsed as wikisyntax for list items.

## ref/update inline banner (hidden by default)
## ref/update inline banner (hidden by default)
--><sup class="plainlinks noprint asof-tag {{#if:{{{url|}}}|ref|update}}" style="display:none;">[{{#if:{{{url|}}}|{{{url}}} [ref]|{{fullurl:{{PAGENAME}}|action=edit}} [update]}}]</sup><!--
--><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><!--


## categorisation disabled outside main namespace
## categorisation disabled outside main namespace
Line 22: Line 22:


## temporal category for template (parameter method)
## temporal category for template (parameter method)
-->{{#ifexpr: {{{1}}} > 2004 | {{#if:{{{2|}}} | {{MONTHNAME|{{{2}}}}} }} {{{1}}} | {{#ifexpr:{{{1}}} > 1989 | {{{1}}} | before 1990 }}}}}} ]]<!--
-->{{#ifexpr: {{{1}}} > 2004 | {{#if:{{{2|}}} | {{MONTHNAME|{{{2}}}}} }} {{{1}}} | {{#ifexpr:{{{1}}} > 1989 | {{{1}}} | before 1990 }}}}}}|<!--


## global category for template
## global category for template
-->|All articles containing potentially dated statements}}</includeonly><!--{{As of}} end--><noinclude><!--
-->All articles containing potentially dated statements}}</includeonly><!--{{As of}} end--><noinclude><!--


## dynamic example (as of today, self ref)
## dynamic example (as of today, self ref)

-->As of {{Start date|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}|df=yes}}<sup class="plainlinks">[http://en.wikipedia.org/wiki/Template:As_of [ref]]</sup>
-->{{As of|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}<sup class="plainlinks">[https://en.wikipedia.org/wiki/Template:As_of &#91;ref&#93;]</sup>
{{pp-template|small=yes}}

{{documentation}}<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
{{documentation}}
</noinclude>

<!-- Add categories and inter-wikis to the /doc subpage, not here! -->

</noinclude>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using as of template with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:As of]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | 3 | alt | df | lc | post | pre | since | url }}

Latest revision as of 16:20, February 4, 2022

As of 12 Template:MONTHNAME 2024Template:Dated maintenance category[ref]