แม่แบบ:กล่องข้อมูล ท่าเรือ

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

การใช้งาน

หมายเหตุ: แม่แบบนี้ไม่สามารถเพิ่มหรือลดพารามิเตอร์ในหน้า VisualEditor ได้ ซึ่งในหน้าภาษาอังกฤษก็เป็นเหมือนกัน คัดลอกและวางเทมเพลตด้านล่าง และลบพารามิเตอร์ที่ไม่ได้ใช้:


{name}
[[File:{image}|{image_size}|alt={alt}|{alt}]]
{caption}
ประเภท{type}
ประเภทเรือ{carries}
โครงสร้างท่า{crosses}
ที่ตั้ง{locale}
ชื่อทางการ{official_name}
เจ้าของ{owner}
ผู้ดำเนินงาน{operator}
หน่วยงานที่ดูแล{maint}
ค่าโดยสาร{toll}
ข้อมูลเฉพาะ
รหัสท่า{id}
โครงสร้างหลัก{mainspan}
บริษัทผู้สร้าง{construction}
ความยาว{length}
ความกว้าง{width}
Vertical clearance{clearance}
Clearance below{below}
ประวัติ
ออกแบบ{design}
วันเปิดใช้งาน{open}
สร้างใหม่{renovated}
รายการ{listed}
วันปิดใช้งาน{closed}
วันที่ถูกทำลาย{destroyed}
วันที่รื้อถอน{demolished}
พิกัด{coordinates}
[[File:{map_image}|{map_width}|alt={map_alt}|{map_alt}]]
{map_cue}
{map_text}
{extra}
{กล่องข้อมูล ท่าเรือ
| name          = 
| image         = 
| image_size    = 
| alt           = 
| caption       = 
| official_name =
| type          =
| carries       = 
| spans         = 
| locale        = 
| maint         = 
| id            = 
| design        = 
| designer      =
| construction  = 
| constructor   =  
| start         =  
| completed     =
| open          = 
| inaugurated   =
| owner         = 
| operator      = 
| mainspan      = 
| length        = 
| width         = 
| clearance     = 
| below         = 
| traffic       = 
| renovated     = <!-- or | rebuilt = -->
| closed        = 
| destroyed     =
| demolished    =
| listed        =
| toll          = 
| map_cue       = 
| map_image     = 
| map_text      = 
| map_width     = 
| coordinates   = <!-- {coord|dd|mm|ss|N|dd|mm|ss|E|display=inline,title} -->
| map           =
}

คำอธิบายพารามิเตอร์

  • |name= ชื่อของท่าเรือ
  • |image= ชื่อของภาพท่าเรือ
  • |image_size= ความกว้างของภาพเป็น px (ใช้สำหรับภาพที่มีขนาดเล็กกว่า 250px เท่านั้น)
  • |alt= ข้อความแสดงแทนสำหรับรูปภาพ (ดูเพิ่ม WP:ALT)
  • |caption= ข้อความสำหรับคำบรรยายใต้ภาพ
  • |official_name= ชื่ออย่างเป็นทางการ
  • |type= เช่น ท่าเรือสำราญวิคตอเรีย, ท่าเรือสวนสนุก, ท่าเรือทำงาน, ท่าเรือประมง, ท่าเรืออุตสาหกรรม, ท่าเรือถ่านหิน
  • |carries= ประเภทของเรือ เช่น เรือด่วน เรือเร็ว เรือหางยาวโดยสาร
  • |spans= Body of water or geographic feature that is being spanned
  • |locale= พื้นที่ที่ท่าเรือตั้งอยู่ (เช่น เขตพระนคร, กรุงเทพมหารนคร)
  • |maint= หน่วยงานหรือนิติบุคคลที่ดูแล (เช่น กรมเจ้าท่า ห้างสรรพสินค้าไอคอนสยาม)
  • |id= รหัสประจำท่าเรือ ถ้าหากมี
  • |designer= ชื่อผู้ออกแบบท่าเรือ
  • |constructor= บริษัทที่สร้างท่าเรือ
  • |start= วันที่เริ่มก่อสร้าง
  • |completed= วันที่สร้างเสร็จ
  • |open= วันที่เปิดใช้งาน - แม้ว่าจะเปิดบางส่วน
  • |inaugurated= วันที่เปิดอย่างเป็นทางการเมื่อการก่อสร้างและสถานที่ถูกส่งมอบให้หน่วยงานเจ้าของ (ตามพิธีการ)
  • |owner= เจ้าของ
  • |operator= ผู้ดำเนินงานหรือดำเนินการท่าเรือนั้น
  • |mainspan= ความยาวของ main span พร้อมการแปลงเมตริก (พิจารณาใช้ {convert} หรือที่คล้ายกัน)
  • |length= ความยาวของท่าเรือ พร้อมการแปลงเมตริก (พิจารณาใช้ {convert} หรือที่คล้ายกัน)
  • |width= ความกว้างของท่าเรือ พร้อมการแปลงเมตริก (พิจารณาใช้ {convert} หรือที่คล้ายกัน)
  • |clearance= Clearance on top of the pier, if proper
  • |below= Clearance beneath the pier
  • |traffic= ปริมาณจราจรโดยเฉลี่ยต่อวันตลอดปี
  • |rebuilt= วันที่ปรับปรุงหรือสร้างใหม่ |renovated= หรืออาจจะใช้
  • |closed= วันที่ปิด
  • |destroyed= วันที่ถูกทำลาย (โดยปกติจะจากพายุหรือการชนกัน)
  • |demolished= วันที่รื้อถอน
  • |listed= สถานะอาคารจดทะเบียน (ถ้ามี)
  • |toll= ราคาค่าโดยสาร (ถ้ามีการเก็บค่าโดยสาร)
  • |map_cue=
  • |map_image= ชื่อไฟล์ภาพแผนที่ท่าเรือ
  • |map_text= คำบรรยายใต้ภาพแผนที่ท่าเรือ
  • |map_width= ความกว้างของแผนที่ในค่ามาตรฐาน (เช่น pixel)
  • |coordinates= ละติจูดและลองจิจูด
    • Use {coord} กับ |display=inline,title
  • |extra= หมายเหตุเพิ่มเติมใดๆ

Microformat

button to indicate the presence of a Geo microformat
button to indicate the presence of a Geo microformat

The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

hCard uses HTML classes including:

  • "adr"
  • "county-name"
  • "fn"
  • "label"
  • "locality"
  • "nickname"
  • "note"
  • "org"
  • "vcard"

Geo is produced by calling {coord}, and uses HTML classes hCard uses HTML classes including:

  • "geo"
  • "latitude"
  • "longitude"

Please do not rename or remove these classes.


ดูเพิ่ม