Template:As of: Difference between revisions
Implementing talk page edit requested
m (1 revision imported) |
(Implementing talk page edit requested) |
||
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:{{{pre|}}}|{{{pre | -->{{#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}}}}}}}{{#if:{{{post|}}}|<nowiki />{{{post}}}}}<!-- | ||
#### That nowiki is required or, various characters (:, ;, #, and *} will be parsed as wikisyntax for list items. | #### 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) | ||
Line 29: | Line 29: | ||
## dynamic example (as of today, self ref) | ## dynamic example (as of today, self ref) | ||
-->As of | -->{{As of|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}<sup class="plainlinks">[https://en.wikipedia.org/wiki/Template:As_of [ref]]</sup> | ||
{{documentation}} | {{documentation}} |