Difference between revisions of "Template:Date range and age/doc"
Jump to navigation
Jump to search
imported>Daviddwd m |
imported>Daviddwd m (Update to TemplateData) |
||
| Line 11: | Line 11: | ||
"label": "Start year", | "label": "Start year", | ||
"type": "number", | "type": "number", | ||
| − | "suggested": true | + | "suggested": true, |
| + | "description": "Year the event started", | ||
| + | "example": "1920" | ||
}, | }, | ||
"2": { | "2": { | ||
| Line 19: | Line 21: | ||
"label": "Start month", | "label": "Start month", | ||
"type": "string", | "type": "string", | ||
| − | "suggested": true | + | "suggested": true, |
| + | "description": "Month the event started", | ||
| + | "example": "June" | ||
}, | }, | ||
"3": { | "3": { | ||
| Line 27: | Line 31: | ||
"label": "Start day", | "label": "Start day", | ||
"type": "string", | "type": "string", | ||
| − | "suggested": true | + | "suggested": true, |
| + | "description": "Day the event started", | ||
| + | "example": "9" | ||
}, | }, | ||
"4": { | "4": { | ||
| Line 35: | Line 41: | ||
"label": "End year", | "label": "End year", | ||
"type": "number", | "type": "number", | ||
| − | "suggested": true | + | "suggested": true, |
| + | "description": "Year the event ended", | ||
| + | "example": "1969" | ||
}, | }, | ||
"5": { | "5": { | ||
| Line 42: | Line 50: | ||
], | ], | ||
"label": "End month", | "label": "End month", | ||
| − | "type": "string" | + | "type": "string", |
| + | "description": "Month the event ended", | ||
| + | "example": "April" | ||
}, | }, | ||
"6": { | "6": { | ||
| Line 49: | Line 59: | ||
], | ], | ||
"label": "End day", | "label": "End day", | ||
| − | "type": "string" | + | "type": "string", |
| + | "description": "Day of month the event ended", | ||
| + | "example": "20" | ||
}, | }, | ||
"df": { | "df": { | ||
Revision as of 22:49, 3 December 2018
| This is a documentation subpage for Template:Date range and age. It contains usage information, categories and other content that is not part of the original template page. |
To use
- {{Date range and age|Year of event start|Month of event start|Day of event start|Year of event end|Month of event end|Day of event end|df=y}}
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Start year | 1 year1 | Year the event started
| Number | suggested |
| Start month | 2 month1 | Month the event started
| String | suggested |
| Start day | 3 day1 | Day the event started
| String | suggested |
| End year | 4 year2 | Year the event ended
| Number | suggested |
| End month | 5 month2 | Month the event ended
| String | optional |
| End day | 6 day2 | Day of month the event ended
| String | optional |
| Day first? | df | if 'y' or 'yes', day comes before month | String | optional |