Bureaucrats, Moderators (CommentStreams), Interface administrators, Push subscription managers, Suppressors, Administrators
4,204
edits
>Paine Ellsworth m (update) |
m (1 revision imported) |
||
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: {{{alt|}}} | {{{alt}}} | {{#ifeq: {{{lc}}} | {{{lc|}}} | a | A }}s of {{#if: {{{3|}}} | {{Start date | {{{1}}} | {{MONTHNUMBER|{{{2}}}}} | {{{3}}} | df={{#ifeq:{{lc:{{{df|}}}}}|us||}} }} | {{#if: {{{2|}}} | {{MONTHNAME|{{{2}}}}} }} {{{1}}} }}}}<!-- | ||
## ref/update inline banner | ## ref/update inline banner | ||
--><sup class="plainlinks | --><sup class="plainlinks noprint asof-tag {{#if:{{{url|}}}|ref|update}}">[{{#if:{{{url|}}}|{{{url}}} [ref]|{{fullurl:{{PAGENAME}}|action=edit}} [update]}}]</sup><!-- | ||
## categorisation disabled outside main namespace | ## categorisation disabled outside main namespace | ||
Line 19: | Line 19: | ||
## temporal category for template (word method) | ## temporal category for template (word method) | ||
-->{{#if: {{#ifexpr: {{{1}}} = 1 }} | -->{{#if: {{#ifexpr: {{{1}}} = 1 }} | {{#ifexpr: {{#time:Y|{{{1}}}}} > 2004 | {{{1}}} | {{#ifexpr: {{#time:Y|{{{1}}}}} > 1989 | {{#time:Y|{{{1}}}}} | before 1990 }}}} | <!-- | ||
## temporal category for template (parameter method) | ## temporal category for template (parameter method) | ||
-->{{#ifexpr: {{{1}}} > 2004 | -->{{#ifexpr: {{{1}}} > 2004 | {{#if:{{{2|}}} | {{MONTHNAME|{{{2}}}}} }} {{{1}}} | {{#ifexpr:{{{1}}} > 1989 | {{{1}}} | before 1990 }}}}}}|<!-- | ||
## global category for template | ## global category for template | ||
Line 29: | Line 29: | ||
## dynamic example (as of today, self ref) | ## dynamic example (as of today, self ref) | ||
-->{{ | -->As of {{Start date|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}|df=}}<sup class="plainlinks">[http://en.wikipedia.org/wiki/Template:As_of [ref]]</sup> | ||
{{documentation}} | {{documentation}} | ||
<!-- Add categories to the /doc subpage | <!-- Add categories and inter-wikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |