Changes

Jump to: navigation, search

Template:As of/doc

143 bytes removed, 01:54, 21 July 2008
removing deprecated format (all instances converted)
==Syntax==
 
The template can be used in the following forms:
:<tt>{&#123;As of{{!}}year{{!}}month{{!}}day&#125;}</tt>
:<tt>{&#123;As of{{!}}month_name year{{!}}month&#125;}</tt>:<tt>{&#123;As of{{!}}year&#125;}</tt>  Several additional named parameters can also be used (''deprecated''see below).
===Parameters===
'''Required'''
*'''year''' (first parameter) – required; must be in full numerical format (''yyyy'')
*:'''''month_name year''''' (first parameter, ''deprecated'') – required; month_name must be capitalised full name, and year must be in full numerical format (e.g. "April 2006")
'''Optional'''
*'''day''' (third parameter) – optional; numerical format only, not included in link
'''Named optional'''
*'''alt''' (named parameter) – optional; allows substitution of visible text output (defaults to "As of [date]") for different wording or use of lower case
*'''df''' (named parameter) – optional; allows use of American date format with value US, only visible to users who have not set their date preferences yet
:<tt>{&#123;As of{{!}}2008{{!}}4{{!}}1{{!}}alt=as of the <nowiki>[[2000 United States Census]]</nowiki>&#125;}</tt> returns "''as of the [[2000 United States Census]]''"
:<tt>{&#123;As of{{!}}2008{{!}}7{{!}}5{{!}}df=US&#125;}</tt> returns "''As of {{Start date|2008|7|5}}''"
 
:<tt>{&#123;As of{{!}}April 2006&#125;}</tt> returns "''As of {{Start date|April 2006}}''"
==See also==
Anonymous user

Navigation menu