Template:As of: Difference between revisions
Jump to navigation
Jump to search
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=[t..." |
Waldyrious (talk | contribs) make documentation visible in template page |
||
Line 1: | Line 1: | ||
< | <noinclude> | ||
;Usage | |||
* mandatory parameter 1 is the year | |||
* optional parameter 2 is the month | |||
* optional parameter 3 is the day of the month | |||
* optional named parameter <code>alt=[text]</code> is alternative display text (may include wiki markup) | |||
* optional named parameter <code>df=US</code> produces American date format in displayed text | |||
* optional named parameter <code>lc=on</code> gives lower-case-first output | |||
* optional named parameter <code>url=[URL]</code> gives statement reference | |||
</noinclude><!--{{As of}} begin--><includeonly><!-- | |||
## displayed text ([A/a]s of [Start date] by default) | ## displayed text ([A/a]s of [Start date] by default) | ||
Line 29: | Line 32: | ||
## 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 | -->;Example output: As of {{Start date|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}|df=yes}}<sup class="plainlinks">[http://en.wikipedia.org/wiki/Template:As_of [ref]]</sup> | ||
</noinclude> | </noinclude> |
Latest revision as of 16:29, 19 September 2018
- Usage
- mandatory parameter 1 is the year
- optional parameter 2 is the month
- optional parameter 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
- Example output
- As of 21 November 2024[ref]