Wiki Law School will soon be moving! Please update your bookmarks. Our future address is www.wikilawschool.org |
Template:As of: Difference between revisions
From wikilawschool.net. Wiki Law School does not provide legal advice. For educational purposes only.
Lost Student (talk | contribs) (Created page with "<!--{{As of}} begin--><includeonly><!-- ## param 1 is the year ## optional param 2 is the month ## optional param 3 is the day of the month ## optional named parameter alt=[text] is alternative display text (may include wiki markup) ## optional named parameter df=US produces American date format in displayed text ## optional named parameter lc=on gives lower-case-first output ## optional named parameter url=[URL] gives statement reference ## displayed text ([A/a]s of [...") |
wikipedia>Pppery |
||
Line 19: | Line 19: | ||
## temporal category for template (word method) | ## temporal category for template (word method) | ||
-->{{#if: {{#ifexpr: {{{1}}} = 1 }} | {{#ifexpr: {{#time:Y|{{{1}}}}} > 2004 | {{{1}}} | {{#ifexpr: {{#time:Y|{{{1}}}}} > 1989 | {{#time:Y|{{{1}}}}} | before 1990 }}}} | <!-- | -->{{#if: {{#ifexpr: {{{1}}} = 1 }} |{{#ifexpr:{{#time:U|{{{1}}}}} > {{#time:U}} | the future | {{#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 | {{#if:{{{2|}}} | {{MONTHNAME|{{{2}}}}} }} {{{1}}} | {{#ifexpr:{{{1}}} > 1989 | {{{1}}} | before 1990 }}}}}}|<!-- | -->{{#ifexpr: {{{1}}} > 2004 | {{#ifexpr:{{#time:U|{{#if:{{{2|}}} | {{MONTHNAME|{{{2}}}}}}} {{{1}}}}} > {{#time:U}} | the future| {{#if:{{{2|}}} | {{MONTHNAME|{{{2}}}}} }} {{{1}}}}} | {{#ifexpr:{{{1}}} > 1989 | {{{1}}} | before 1990 }}}}}}|<!-- | ||
## global category for template | ## global category for template | ||
Line 32: | Line 32: | ||
{{documentation}} | {{documentation}} | ||
<!-- 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 | bare | df | lc | post | pre | since | url }} |