Changes

Jump to: navigation, search

Template:As of/doc

1,779 bytes added, 22:21, 8 August 2013
Syntax: add templatedata
:: ''for logged in users, with links displayed (see [[Wikipedia:As of#Article maintenance|Wikipedia:As of]])'' – As of July&nbsp;2010<sup class="plainlinks">[http://en.wikipedia.org/ &#91;ref&#93;]</sup>
:: ''for all other users'' – As of July&nbsp;2010
 
===TemplateData===
{{TemplateDataHeader}}
<templatedata>{
"description": "A template used to mark potentially dated statements, and will add an article to the appropriate hidden sub-category of Category:Articles containing potentially dated statements. This allows editors to catalogue statements that may become dated over time.",
"params": {
"1": {
"label": "Year",
"description": "The year the statement is valid to. Must be in full numerical format (yyyy)",
"type": "number",
"required": true
},
"2": {
"label": "Month",
"description": "The month the statement is valid to. Full, abbreviated or numerical formats supported (mm recommended)",
"type" : "string/line",
"required": false
},
"3": {
"label": "Day",
"description": "The day the statement is valid to (not included in link). Numerical format only (dd)",
"type": "number",
"required": false
},
"alt": {
"label": "Alternate wording",
"description": "Use different wording for the visible text output; if set, values for df and lc parameters are ignored",
"type": "string/line",
"required": false
},
"df": {
"label": "Date format",
"description": "Set to US to use U.S. date format (mdy) (default is dmy)",
"type": "string/line",
"default": "US",
"required": false
},
"lc": {
"label": "Lower case",
"description": "Use lowercase for the as of",
"type": "string/line",
"default": "y",
"required":false
},
"url": {
"label": "URL",
"description": "adds an inline external link (hidden by default) suggesting a webpage for future editors to check for updates to the statement; use the full URL with no spaces",
"type": "string/line",
"required": false
}
}}
</templatedata>
==See also==
Anonymous user

Navigation menu