แม่แบบ:กล่องข้อมูล เหตุการณ์

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

{{Infobox event}} should be used to specify one-off events, usually at the top of an article. For recurring events, use {{Infobox recurring event}}.

Usage[แก้]

{{{title}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|upright=1.1|{{{image_alt}}}]]
{{{caption}}}
วันที่{{{date}}}
เวลา{{{time}}}
สถานที่{{{location}}}
พิกัด{{{coordinates}}}
สาเหตุ{{{cause}}}
ผู้จัดระเบียบ{{{organisers}}}
ผู้มีส่วนเกี่ยวข้อง{{{participants}}}
ผลลัพธ์{{{outcome}}}
ผู้ต้องอุบัติเหตุ
{{{casualties1}}}
{{{casualties2}}}
{{{casualties3}}}
เสียชีวิต{{{reported deaths}}}
บาดเจ็บ{{{reported injuries}}}
สูญหาย{{{reported missing}}}
ความเสียหายของทรัพย์สิน{{{reported property damage}}}
ฝัง{{{burial}}}
การสอบสวน{{{inquiries}}}
การชันสูตรพลิกศพ{{{inquest}}}
เจ้าหน้าที่ชันสูตรพลิกศพ{{{coroner}}}
ผู้ถูกจับกุม{{{arrests}}}
ผู้ต้องสงสัย{{{suspects}}}
ผู้ต้องหา{{{accused}}}
ผู้ต้องโทษ{{{convicted}}}
ข้อกล่าวหา{{{charges}}}
คำตัดสิน{{{verdict}}}
การพิพากษาลงโทษ{{{convictions}}}
คดีความ{{{litigation}}}
รางวัล{{{awards}}}
ภาพเคลื่อนไหว{{{url}}}
เว็บไซต์{{{website}}}
{{{notes}}}
{{Infobox event
| title                    = <!-- Title to display, if other than page name -->
| image                    = 
| image_upright            = 
| image_alt                = 
| caption                  = 
| native_name              = 
| native_name_lang         = 
| english_name             = 
| time                     = 
| timezone                 = 
| duration                 = <!-- {{duration|h=x|m=x|s=x}} or {{time interval|date1|date2|options}} -->
| date                     = <!-- {{start date|YYYY|MM|DD}} or {{start and end dates|YYYY|MM|DD|YYYY|MM|DD}} -->
| venue                    = 
| location                 = 
| coordinates              = <!-- {{coord|LAT|LON|region:XXXX_type:event|display=inline,title}} -->
| also_known_as            = 
| type                     = 
| theme                    = 
| cause                    = 
| motive                   = 
| target                   = 
| first_reporter           = 
| budget                   = 
| patron                   = <!-- or |patrons= -->
| organisers               = <!-- or |organizers= -->
| filmed_by                = 
| participants             = 
| outcome                  = 
| casualties1              = 
| casualties2              = 
| casualties3              = 
| reported deaths          = 
| reported injuries        = 
| reported missing         = 
| reported property damage = 
| burial                   = 
| displaced                = 
| inquiries                = 
| inquest                  = 
| coroner                  = 
| arrests                  = 
| suspects                 = 
| accused                  = 
| convicted                = 
| charges                  = 
| trial                    = 
| verdict                  = 
| convictions              = 
| sentence                 = 
| publication_bans         = 
| litigation               = 
| awards                   = 
| url                      = 
| blank_label              = <!-- or |blank_data= -->
| blank1_label             = <!-- or |blank1_data= -->
| blank2_label             = <!-- or |blank2_data= -->
| website                  = <!-- {{URL|example.com}} -->
| notes                    = 
}}

Parameters[แก้]

  • |title= - name of the event, if omitted, the page name will be used
  • |child= - set to "yes" if you are embedding this infobox in another one
  • |image= - name of the image of the event
  • |image_size= - image size in pixels – deprecated; use image_upright instead
  • |image_upright= - image scaling factor; defaults to 1 if left empty – see WP:IMGSIZE
  • |image_alt= -
  • |caption= - optional caption of the image
  • |native_name= - the native name of the event, if different
  • |native_name_lang= - ISO 639-2 code for the native name e.g. 'fr' for French.
  • |english_name= -
  • |time= -
  • |timezone= -
  • |duration= -
  • |date= - {{start date|YYYY|MM|DD}} for the date of a single-day event or {{start and end dates|YYYY|MM|DD|YYYY|MM|DD}} for multi-day events
  • |venue= - name of the particular venue (alternative to location)
  • |location= - the location of the event
  • |coordinates= - Use {{Coord}}, with display=inline,title (ex: {{coord|LAT|LON|region:XXXX_type:event|display=inline,title}})
  • |also_known_as= -
  • |type= -
  • |theme= -
  • |cause= -
  • |motive= -
  • |target= -
  • |first_reporter= -
  • |budget= - the larger of budgeted income or expense
  • |patron= or |patrons= - patronage
  • |organisers= or |organizers= - organised by
  • |filmed_by= -
  • |participants= - the typical number of participants
  • |outcome= -
  • |casualties1= -
  • |casualties2= -
  • |casualties3= -
  • |reported deaths= -
  • |reported injuries= -
  • |reported missing= -
  • |reported property damage= -
  • |burial= -
  • |displaced= - people forced to leave home
  • |inquiries= -
  • |inquest= -
  • |coroner= -
  • |arrests= -
  • |suspects= -
  • |accused= -
  • |convicted= -
  • |charges= -
  • |trial= -
  • |verdict= -
  • |convictions= -
  • |sentence= -
  • |publication_bans= -
  • |litigation= -
  • |awards= -
  • |url= -
  • |blank_label= or |blank_data= -
  • |blank1_label= or |blank1_data= -
  • |blank2_label= or |blank2_data= -
  • |website= - Use {{URL}} (ex: {{URL|example.com}})
  • |notes= -

Example[แก้]

Bombay Explosion
Bombay-Docks-aftermath1.png
Smoke billowing out of Harbour
วันที่14 April 1944
เวลา16:15 IST (10:45 UTC)
สถานที่Victoria Dock, Bombay, British India
พิกัด18°57′10″N 72°50′42″E / 18.9527772°N 72.8449774°E / 18.9527772; 72.8449774พิกัดภูมิศาสตร์: 18°57′10″N 72°50′42″E / 18.9527772°N 72.8449774°E / 18.9527772; 72.8449774
สาเหตุship fire
ผู้ต้องอุบัติเหตุ
800+ dead
3,000 injured
ภาพเคลื่อนไหวexample.com
เว็บไซต์example.com
{{Infobox event
|title=Bombay Explosion
|image=Bombay-Docks-aftermath1.png
|caption=Smoke billowing out of Harbour
|date=14 April 1944
|time=16:15 IST (10:45 UTC)
|place=Victoria Dock, Bombay, [[British Raj|British India]]
|coordinates = {{coord|18.9527772|N|72.8449774|E|type:event_region:IN|display=inline,title}}
|cause=ship fire
|url={{URL|example.com}}
|casualties1=800+ dead
|casualties2=3,000 injured
|website={{URL|example.com}}
}}

Microformat[แก้]

The HTML markup produced by this template includes an hCalendar microformat, which makes the event details parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to a calendar or diary application. For more information about the use of microformats on Wikipedia, please see the microformat project.

Classes[แก้]

hCalendar uses HTML classes including:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent

Please do not rename or remove these classes nor collapse nested elements which use them.

Tracking categories[แก้]

See also[แก้]