Template:Start date and age: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
(Undid revision 599176981 by Dodi 8238 (talk) rv: (i) WP:ILLs are now on Wikidata, see d:Q6558140; (ii) ILLs, if present, must either be on doc page or inside the <noinclude></noinclude>)
No edit summary
Line 45: Line 45:
--></span>)</span></includeonly><noinclude>
--></span>)</span></includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>

<noinclude>
<templatedata>
{
"params": {
"1": {
"description": "A four-digit number indicating the year.",
"example": "2009",
"type": "number"
},
"2": {
"description": "A number between 1 and 12 indicating the month (leading zeros in the number are ignored). The month may also be specified as a name or abbreviation (e.g. \"August\" or \"Aug\").",
"example": "10",
"type": "number"
},
"3": {
"description": "A number between 1 and 31 indicating the day of the month (leading zeros in the number are ignored).",
"example": "16"
},
"df": {
"description": "If the parameter df equals yes, y, or 1, the date will be displayed in DMY format: 4 March 2010. When this parameter is not included or set to some other value, the date will be displayed in MDY format: March 4, 2010.",
"example": "yes"
},
"paren": {
"aliases": [
"p"
],
"description": "If the parameter p or paren equals yes, y, or 1, the age will be displayed within parentheses. When this parameter is not included or set to some other value, the date and age are separated by a semicolon and a breaking space."
},
"p": {
"aliases": [
"paren"
],
"description": "If the parameter p or paren equals yes, y, or 1, the age will be displayed within parentheses. When this parameter is not included or set to some other value, the date and age are separated by a semicolon and a breaking space."
},
"br": {
"description": "If the parameter br equals yes, y, or 1, a line break will be inserted between the date and the age. When this parameter is not included or set to some other value, a breaking space will be inserted between the date and the age. This does not change the separating characters between the date and age which are either a semicolon (default setting) or parentheses (if p=yes)."
}
}
}
</templatedata>
</noinclude>
</noinclude>

Revision as of 17:08, 10 August 2015


No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
11

A four-digit number indicating the year.

Example
2009
Numberoptional
22

A number between 1 and 12 indicating the month (leading zeros in the number are ignored). The month may also be specified as a name or abbreviation (e.g. "August" or "Aug").

Example
10
Numberoptional
33

A number between 1 and 31 indicating the day of the month (leading zeros in the number are ignored).

Example
16
Unknownoptional
dfdf

If the parameter df equals yes, y, or 1, the date will be displayed in DMY format: 4 March 2010. When this parameter is not included or set to some other value, the date will be displayed in MDY format: March 4, 2010.

Example
yes
Unknownoptional
parenparen p

If the parameter p or paren equals yes, y, or 1, the age will be displayed within parentheses. When this parameter is not included or set to some other value, the date and age are separated by a semicolon and a breaking space.

Unknownoptional
pp paren

If the parameter p or paren equals yes, y, or 1, the age will be displayed within parentheses. When this parameter is not included or set to some other value, the date and age are separated by a semicolon and a breaking space.

Unknownoptional
brbr

If the parameter br equals yes, y, or 1, a line break will be inserted between the date and the age. When this parameter is not included or set to some other value, a breaking space will be inserted between the date and the age. This does not change the separating characters between the date and age which are either a semicolon (default setting) or parentheses (if p=yes).

Unknownoptional