แม่แบบ:กล่องข้อมูล หอดูดาว
| แม่แบบนี้ใช้ลูอา |
การใช้งาน
[แก้]Simple
[แก้]{{Infobox observatory}}
Data will be automatically included from Wikidata.
Full
[แก้]| [[File:{{{image}}}|frameless|alt={{{alt}}}|upright=1.3]] {{{caption}}} | |||||||||
| [[File:{{{logo}}}|frameless|alt={{{logo_alt}}}|upright=1]] {{{logo_caption}}} | |||||||||
| ชื่ออื่น | {{{alt_names}}} | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| การตั้งชื่อตาม | {{{namedafter}}} | ||||||||
| หน่วยงาน | {{{organization}}} | ||||||||
| รหัสหอดูดาว | {{{code}}} | ||||||||
| ที่ตั้ง | {{{location}}} | ||||||||
| พิกัด | 15°N 16°E / 15°N 16°E | ||||||||
| ระดับความสูง | {{{altitude}}} | ||||||||
| สภาพอากาศ | {{{weather}}} | ||||||||
| เวลาสังเกต | {{{obs-time}}} | ||||||||
| ก่อตั้ง | {{{established}}} | ||||||||
| ปิดตัว | {{{closed}}} | ||||||||
| เว็บไซต์ | {{{website}}} | ||||||||
| สถาปนิก | {{{architect}}} | ||||||||
| บริษัทสถาปนิก | {{{architecture_firm}}} | ||||||||
| ผู้รับเหมาหลัก | {{{main_contractor}}} | ||||||||
| กล้องโทรทรรศน์ | |||||||||
| |||||||||
![]() | |||||||||
| | |||||||||
{{Infobox observatory
| child =
| name =
| image =
| caption =
| alt =
| logo =
| logo_caption =
| logo_alt =
| alt_names =
| namedafter =
| organization =
| code =
| location =
| coordinates = <!-- {{Coord|LAT|LONG|type:landmark|display=inline,title}} -->
| altitude =
| weather =
| obs-time =
| established = <!-- {{Start date|YYYY|MM|DD}} -->
| closed =
| website = <!-- {{URL|example.com}} -->
| architect =
| architecture_firm =
| main_contractor =
| telescope1_name =
| telescope1_type =
| telescope2_name =
| telescope2_type =
| telescope3_name =
| telescope3_type =
| telescope4_name =
| telescope4_type =
| commons_category =
| image_map =
| map_size =
| map_alt =
| map_type =
| map_dot_label =
| map_caption =
| locmapin =
| mapframe = yes<!-- see below for more parameters -->
| embedded =
}}
Parameters
[แก้]This template returns values from Wikidata where they are available; these values can be overridden by passing values to the relevant parameters.
| Parameter | Default | Description |
|---|---|---|
| name | Wikidata label (en) (Or Page name) | name of the observatory |
| image | ภาพ (P18) | image (use full wikicode) |
| caption | media legend (P2096) | image caption |
| alt | alt caption | |
| logo | โลโก้ (P154) | logo |
| logo_caption | logo caption | |
| logo_alt | logo alt caption | |
| alt_names | Wikidata aliases (en) | alternative names / aliases for the telescope |
| namedafter | ตั้งชื่อตาม (P138) | person or organisation the observatory was named after |
| organization | ผู้ดำเนินการ (P137) | organization responsible for the observatory |
| code | Minor Planet Center observatory code (P717) | observatory code |
| location | ที่ตั้งใน/บนลักษณะทางกายภาพ (P706), สถานที่ตั้ง (P276), อยู่ในเขตการปกครองของ (P131), ประเทศ (P17) (fallback to ทวีป (P30) for Antarctica) | observatory's location |
| coordinates | ตำแหน่งพิกัด (P625) | location coordinates, use {{coord}} with display=inline,title |
| altitude | ความสูงเหนือระดับน้ำทะเล (P2044) | altitude of the observatory |
| weather | weather | |
| obs-time | observing time available (P3891) | observing time available |
| established | วันเปิดอย่างเป็นทางการ (P1619) | when the observatory was established, use {{start date}} |
| closed | เวลาสิ้นสุด (P582) | when the observatory was closed, if appropriate |
| telescopes | ประกอบไปด้วย (P527) | names of the telescopes at the observatory |
| website | เว็บไซต์ทางการ (P856) | URL of the website for the observatory, use {{URL}} |
| architect | architect | |
| architecture_firm | architecture firm | |
| main_contractor | main contractor | |
| telescope1_name | name of the observatory's first telescope | |
| telescope1_type | first telescope's type (and any additional information) | |
| telescope2_name | name of the observatory's second telescope | |
| telescope2_type | second telescope's type (and any additional information) | |
| etc... | ||
| telescope29_name | name of the observatory's twenty-ninth telescope | |
| telescope29_type | twenty-ninth telescope's type (and any additional information) | |
| telescope30_name | name of the thirtieth telescope | |
| telescope30_type | thirtieth telescope's type (and any additional information) | |
| locmapin | ประเทศ (P17) | use this parameter to override the location map shown, if necessary. See {{Wikidata location map}} |
| mapframe | Show embedded {{Infobox mapframe}}. See below for more parameters. | |
| commons_category | commons sitelink | category name at Wikimedia Commons |
| refs | no | set to 'yes' to automatically display references from Wikidata |
| child | no | set to 'yes' to use as a child infobox of another infobox |
| embedded | embed another infobox into this one | |
Mapframe maps
[แก้]Examples of use
[แก้]- Infoboxes which only use Wikidata (no local parameters)
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.
หมวดหมู่ติดตาม
[แก้]ดูเพิ่ม
[แก้]TemplateData
[แก้]TemplateData | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
ด้านล่างนี้คือข้อมูลแม่แบบ เอกสารกำกับสำหรับแม่แบบนี้ซึ่งใช้งานโดยตัวช่วยสร้างแม่แบบ เครื่องมือแก้ไขแบบเห็นภาพ และเครื่องมืออื่น ดูรายงานการใช้พารามิเตอร์ประจำเดือนสำหรับแม่แบบ:กล่องข้อมูล หอดูดาว
ข้อมูลแม่แบบสำหรับ กล่องข้อมูล หอดูดาว ไม่มีคำอธิบาย
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
