แม่แบบ:Infobox holiday

จากวิกิพีเดีย สารานุกรมเสรี
Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]

Usage[แก้]

{{Infobox holiday
| holiday_name  = required
| type          = required
| image         =
| imagesize     =
| caption       =
| official_name =
| nickname      =
| observedby    =
| litcolor      =
| longtype      =
| significance  =
| begins        =
| ends          =
| date          =
| scheduling    = <!-- e.g. "same day each year" -->
| duration      = <!-- e.g. "1 day", "1 week" -->
| frequency     = <!-- e.g. "Annual", "Every 4 years", "Once" -->
<!-- Use next three if holiday is the same day of the same week every year -->
| week_ordinal  = <!-- "first", "second", "last", etc. -->
| weekday       = <!-- "Sunday", "Monday", "Friday", etc. -->
| month         = <!-- "January", "February", "December", etc. -->
<!-- Use next four if the date changes in an unusual pattern each year -->
| date2021      = <!-- only for days that change each year -->
| date2022      = <!-- only for days that change each year -->
| date2023      = <!-- only for days that change each year -->
| date2024      = <!-- only for days that change each year -->
| celebrations  =
| observances   =
| relatedto     =
}}

For an annual holiday occurring on the same day each year:

{{Infobox holiday
| holiday_name  = Template Day
| type          = 
| image         =
| imagesize     =
| caption       =
| official_name =
| nickname      =
| observedby    =
| litcolor      =
| longtype      =
| significance  =
| begins        =
| ends          =
| date          = 30 February
| scheduling    = same day each year
| duration      = 1 day
| frequency     = Annual
| celebrations  =
| observances   =
| relatedto     =
}}