User:Monkap/órák szavakban/doc

Egész órák átalakítása szavakká.

Használata
szám: Required. A képlet átalkítja az egész órákat szavakká. 0 és 24 megengedett 24 is allowed in case it makes arithmetic simpler in other templates.

óra: Optional. The text to use to say the hour after, except for midnight or noon. The default is "óra".

éjfél: Optional. The text to use if the hour evaluates to 0 or 24. The default is "éjfél".

dél: Optional The text to use if the hour evaluates to 12. The default is "dél".

oclock: The text to use after the hour. The default is "o'clock", but this is suppressed for hours evaluating to midnight and noon if named parameter values are given.

part of day: If the parameter is present (with any value), the result is appended with "in the morning", "in the afternoon", or "in the evening", depending on the hour. The hour 0 (and 24) is "midnight", 1 to 11 are "in the morning", 12 is "noon", 13 to 17 are "in the afternoon", 18 to 23 are "in the evening". For midnight and noon, the output is suppressed (to prevent duplication) if named parameter values are given.

Examples
produces: