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 |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 9: | Line 9: | ||
|year_only={{{year_only|}}} |
|year_only={{{year_only|}}} |
||
|month_day_only={{{month_day_only|}}} |
|month_day_only={{{month_day_only|}}} |
||
|show_ochtday={{{show_ochtday|}}} |
|||
|show_time={{{show_time|}}} |
|||
|show_sun_sign={{{show_sun_sign|}}} |
|||
|1={{{1|}}} |
|1={{{1|}}} |
||
}}</includeonly><noinclude> |
}}</includeonly><noinclude> |
||
| Line 44: | Line 47: | ||
"label": "Year only", |
"label": "Year only", |
||
"description": "If only the year should be shown", |
"description": "If only the year should be shown", |
||
"type": " |
"type": "string", |
||
"default": " |
"default": "no", |
||
"suggestedvalues": [ |
|||
"yes", |
|||
"no" |
|||
] |
|||
}, |
}, |
||
"month_day_only": { |
"month_day_only": { |
||
"label": "Month and day only", |
"label": "Month and day only", |
||
"description": "If only the month and day should be shown", |
"description": "If only the month and day should be shown", |
||
"type": " |
"type": "string", |
||
" |
"suggestedvalues": [ |
||
"yes", |
|||
"no" |
|||
], |
|||
"default": "no" |
|||
}, |
}, |
||
"hour": { |
"hour": { |
||
| Line 64: | Line 75: | ||
"description": "Date and time to convert", |
"description": "Date and time to convert", |
||
"example": "59", |
"example": "59", |
||
"default": "0" |
"default": "0", |
||
"type": "number" |
|||
}, |
}, |
||
"second": { |
"second": { |
||
| Line 72: | Line 84: | ||
"type": "number", |
"type": "number", |
||
"default": "0" |
"default": "0" |
||
}, |
|||
"show_time": { |
|||
"label": "Show time", |
|||
"description": "If the time should be shown", |
|||
"type": "string", |
|||
"suggestedvalues": [ |
|||
"yes", |
|||
"no" |
|||
], |
|||
"default": "no" |
|||
}, |
|||
"show_ochtday": { |
|||
"label": "Show ochtday", |
|||
"description": "If the ochtday should be shown", |
|||
"type": "string", |
|||
"suggestedvalues": [ |
|||
"yes", |
|||
"no" |
|||
], |
|||
"default": "no" |
|||
}, |
|||
"show_sun_sign": { |
|||
"label": "Show sun sign", |
|||
"description": "If the sun sign should be shown", |
|||
"type": "string", |
|||
"suggestedvalues": [ |
|||
"yes", |
|||
"no" |
|||
], |
|||
"default": "no" |
|||
} |
} |
||
}, |
}, |
||
| Line 85: | Line 127: | ||
"time", |
"time", |
||
"year_only", |
"year_only", |
||
"month_day_only" |
"month_day_only", |
||
"show_ochtday", |
|||
"show_time", |
|||
"show_sun_sign" |
|||
] |
] |
||
} |
} |
||
Latest revision as of 08:45, 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
| Number | 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
| String | optional |
| Month and day only | month_day_only | If only the month and day should be shown
| String | optional |
| Show ochtday | show_ochtday | If the ochtday should be shown
| String | optional |
| Show time | show_time | If the time should be shown
| String | optional |
| Show sun sign | show_sun_sign | If the sun sign should be shown
| String | optional |
Examples
{{Keppel date}}
Liliyogh 22, 1134 LE
{{Keppel date|year_only=yes}}
{{Keppel date|month_day_only=yes}}
Liliyogh 22
{{Keppel date|year=2024|month=10|day=02}}
Ludervinn 17, 1132 LE
{{Keppel date|time=120412050}}
Glausonn 11, 1081 LE