แม่แบบ:กล่องข้อมูล โรงงาน

(เปลี่ยนทางจาก แม่แบบ:Infobox factory)
กล่องข้อมูล โรงงาน
Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]

การใช้งาน แก้

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}|{{{alt}}}]]
{{{caption}}}
ก่อตั้ง{{{built}}}
ดำเนินการ{{{operated}}}
ที่ตั้ง{{{location}}}
พิกัด{{{coordinates}}}
อุตสาหกรรม{{{industry}}}
ผลิตภัณฑ์{{{products}}}
พนักงาน{{{employees}}}
สถาปนิก{{{architect}}}
รูปแบบ{{{style}}}
สิ่งปลูกสร้าง{{{buildings}}}
พื้นที่{{{area}}}
ปริมาตร{{{volume}}}
ที่ตั้ง{{{address}}}
เจ้าของ{{{owner}}}
เว็บไซต์{{{website}}}
สิ้นสุด{{{defunct}}}
{{กล่องข้อมูล โรงงาน
| name                 = 
| image                = 
| image_size           = 
| alt                  = 
| caption              = 
| location_map         = 
| location_map_size    = 
| location_map_caption = 
| location_map_alt     = 
| coordinates          = {{Coord}}
| built                = <!-- {{Start date|YYYY|MM|DD|df=y|fmt=พ.ศ.}} -->
| operated             = <!-- {{Start date|YYYY|MM|DD|df=y|fmt=พ.ศ.}}-<br />{{End date|YYYY|MM|DD|df=y|fmt=พ.ศ.}}-->
| location             = 
| industry             = 
| products             = 
| employees            = 
| architect            = 
| style                = 
| buildings            = 
| area                 = 
| volume               = 
| address              = 
| owner                = 
| website              = 
| defunct              = <!-- {{End date|YYYY|MM|DD|fmt=พ.ศ.}} -->
}}

แผนที่ Mapframe แก้

แผนที่ที่ใช้แม่แบบ Mapframe จะถูกรวมโดยอัตโนมัติถ้า:

  • มีพิกัดระบุไว้ในรายการของหน้าวิกิสนเทศ
  • ยังไม่ได้ปิดโดยการตั้งค่า |mapframe=no

สามารถใช้ตัวแปรเสริมทางเลือกต่อไปนี้เพื่อปรับแผนที่

  • |mapframe-zoom= ระดับการซูม (ค่าเริ่มต้นคือ 10)
  • |mapframe-width= และ |mapframe-height= สำหรับขนาดแผนที่ (ค่าเริ่มต้นคือ 270 และ 200)
  • |mapframe-marker= สำหรับ ภาพสัญลักษณ์ (ค่าเริ่มต้นคือ no icon)
  • |mapframe-marker-color= หรือ |mapframe-marker-colour= สำหรับกำหนดสีของสัญลักษณ์ (เลขฐานสิบหก 3 หลัก, ค่าเริ่มต้นคือ #5E74F3)
  • |mapframe-stroke-color= หรือ |mapframe-stroke-colour= สำหรับกำหนดสีของเส้น (เลขฐานสิบหก 3 หลัก, ค่าเริ่มต้นคือ #FF0000)
  • |mapframe-caption= คำบรรยายใต้แผนที่
  • |mapframe-lat= และ |mapframe-long= (หรือ |mapframe-latitude= และ |mapframe-longitude=) – ทางเลือกสำหรับแผนที่ในการกำหนดละติจูดและลองจิจูดแทนพิกัดของโรงงาน ระบุเป็นเลขฐานสิบ

ตัวอย่าง แก้

โรงงานประกอบเซนต์ทอมัส
ก่อตั้ง2510 (1967)
ที่ตั้งเซาท์โวลด์, ออนแทรีโอ, แคนาดา
พิกัด42°49′49″N 81°15′36″W / 42.830314°N 81.25999°W / 42.830314; -81.25999
อุตสาหกรรมรถยนต์
ผลิตภัณฑ์พื้นตัวถังฟอร์ดแพนเทอร์
พนักงาน1,590 คน
พื้นที่635 เอเคอร์ (2.57 ตารางกิโลเมตร)
ปริมาตร2,600,000 sq ft (240,000 m2)
ที่ตั้ง11920–11968 ถนนซันเซต
เซาท์โวลด์, ออนแทรีโอ, แคนาดา
สิ้นสุด2554 (2011)
{{กล่องข้อมูล โรงงาน
| name        = โรงงานประกอบเซนต์ทอมัส
<!-- Commented out: | image      = FormerStThomasAssemblyPlant.jpg -->
| alt         = 
| caption     = อดีตที่ตั้งของโรงงานประกอบเซนต์ทอมัส
| built       = {{Start date|1967|fmt=พ.ศ.}}
| location    = [[เซาท์โวลด์, ออนแทรีโอ]], แคนาดา
| coordinates = {{Coord|42.830314|-81.25999|region:CA_type:landmark|display=inline<!--,title-->}}
| industry    = [[รถยนต์]]
| products    = [[พื้นตัวถังฟอร์ดแพนเทอร์]]
* [[ฟอร์ดคราวน์วิกตอเรีย]]
* [[ลิงคอล์นทาวน์คาร์]]
* [[เมอร์คิวรีแกรนด์มาร์ควิส]]
| employees   = 1,590 คน
| architect   = 
| style       = 
| area        = {{convert|635|acre|km2}}
| volume      = {{convert|2600000|sqft|m2|abbr=on}}
| address     = 11920–11968 ถนนซันเซต<br />เซาท์โวลด์, ออนแทรีโอ, แคนาดา
| defunct     = {{End date|2011|fmt=พ.ศ.}}
}}

ไมโครฟอร์แมต แก้

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.


หมวดหมู่ติดตาม แก้

ดูเพิ่ม แก้