Template:Keppel date: Difference between revisions
Template page
More actions
Content deleted Content added
Tesinormed (talk | contribs) No edit summary Tag: 2017 source edit |
Tesinormed (talk | contribs) No edit summary Tag: 2017 source edit |
||
| Line 4: | Line 4: | ||
|day={{{day|}}} |
|day={{{day|}}} |
||
|hour={{{hour|}}} |
|hour={{{hour|}}} |
||
|minute={{{minute|}}} |
|||
|second={{{second|}}} |
|||
|time={{{time|}}} |
|time={{{time|}}} |
||
|year_only={{{year_only|}}} |
|year_only={{{year_only|}}} |
||
| Line 14: | Line 16: | ||
"year": { |
"year": { |
||
"label": "Year", |
"label": "Year", |
||
"description": " |
"description": "Date and time to convert", |
||
"example": "2025", |
"example": "2025", |
||
"type": "number" |
"type": "number" |
||
| Line 20: | Line 22: | ||
"month": { |
"month": { |
||
"label": "Month", |
"label": "Month", |
||
"description": " |
"description": "Date and time to convert", |
||
"example": " |
"example": "3", |
||
"type": "number" |
"type": "number" |
||
}, |
}, |
||
"day": { |
"day": { |
||
"label": "Day", |
"label": "Day", |
||
"description": " |
"description": "Date and time to convert", |
||
"example": " |
"example": "20", |
||
"type": "number" |
"type": "number" |
||
}, |
}, |
||
| Line 50: | Line 52: | ||
"type": "boolean", |
"type": "boolean", |
||
"default": "false" |
"default": "false" |
||
}, |
|||
"hour": { |
|||
"label": "Hour", |
|||
"description": "Date and time to convert", |
|||
"example": "23", |
|||
"type": "number", |
|||
"default": "0" |
|||
}, |
|||
"minute": { |
|||
"label": "Minute", |
|||
"description": "Date and time to convert", |
|||
"example": "59", |
|||
"default": "0" |
|||
}, |
|||
"second": { |
|||
"label": "Second", |
|||
"description": "Date and time to convert", |
|||
"example": "59", |
|||
"type": "number", |
|||
"default": "0" |
|||
} |
} |
||
}, |
}, |
||
"description": "Converts the current (or provided) date to a Keppel date", |
"description": "Converts the current (or provided) date to a Keppel date", |
||
"format": "inline" |
"format": "inline", |
||
"paramOrder": [ |
|||
"year", |
|||
"month", |
|||
"day", |
|||
"hour", |
|||
"minute", |
|||
"second", |
|||
"time", |
|||
"year_only", |
|||
"month_day_only" |
|||
] |
|||
} |
} |
||
</templatedata> |
</templatedata> |
||
Revision as of 08:06, September 17, 2025
Converts the current (or provided) date to a Keppel date
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Year | year | Date and time to convert
| Number | optional |
| Month | month | Date and time to convert
| Number | optional |
| Day | day | Date and time to convert
| Number | optional |
| Hour | hour | Date and time to convert
| Number | optional |
| Minute | minute | Date and time to convert
| Unknown | optional |
| Second | second | Date and time to convert
| Number | optional |
| Time | time 1 | Unix time to convert
| Number | optional |
| Year only | year_only | If only the year should be shown
| Boolean | optional |
| Month and day only | month_day_only | If only the month and day should be shown
| Boolean | optional |
Examples
{{Keppel date}}
Liliyogh 23, 1134 LE
{{Keppel date|year_only=yes}}
{{Keppel date|month_day_only=yes}}
Liliyogh 23
{{Keppel date|year=2024|month=10|day=02}}
Ludervinn 17, 1132 LE
{{Keppel date|time=120412050}}
Glausonn 11, 1081 LE