Difference between revisions of "Template:As of"
From Ava Zinn Wiki
[unchecked revision] | [unchecked revision] |
(installing |since= parameter (sandboxed and testcased); been wanting this for years, and kept forgetting to get around to it, even though it only took a few minutes [sigh]) |
(adding |pre= feature) |
||
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}}} | {{#if:{{{since|}}}|{{#ifeq: {{{lc}}} | {{{lc|}}} | s | S }}ince | {{#ifeq: {{{lc}}} | {{{lc|}}} | a | A }}s of}} {{#if: {{{3|}}} | {{#ifeq:{{lc:{{{df|}}}}}|us|{{MONTHNAME|{{{2}}}}} {{#expr:{{{3}}}}},|{{#expr:{{{3}}}}} {{MONTHNAME|{{{2}}}}} }} {{{1}}} | {{#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|}}}}} {{#if: {{{3|}}} | {{#ifeq:{{lc:{{{df|}}}}}|us|{{MONTHNAME|{{{2}}}}} {{#expr:{{{3}}}}},|{{#expr:{{{3}}}}} {{MONTHNAME|{{{2}}}}} }} {{{1}}} | {{#if: {{{2|}}} | {{MONTHNAME|{{{2}}}}} }} {{{1}}} }}}}<!-- |
## ref/update inline banner (hidden by default) | ## ref/update inline banner (hidden by default) |
Revision as of 18:00, 5 January 2016
As of 14 May 2024[ref]
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |