แม่แบบ:Infobox City Japan/doc
นี่คือหน้าคู่มือการใช้งานของ แม่แบบ:Infobox City Japan ใช้ในการเขียนคำอธิบายแม่แบบหรือมอดูลและใส่หมวดหมู่ ส่วนลิงก์ข้ามภาษาโปรดใช้วิกิสนเทศ |
แม่แบบนี้มีส่วนประกอบของตัวเลือกย่อยมากกว่าหนึ่งตัวเลือก การใช้งานยังใช้ง่ายเหมือนแม่แบบทั่วไป แต่การแก้ไขแม่แบบนี้ควรทำด้วยความระมัดระวังเป็นพิเศษ เพราะมีส่วนประกอบย่อยและพารามิเตอร์ย่อยต่าง ๆ |
Empty Syntax
- Important: Please enter all numeric values in a raw, unformatted fashion. Numeric values that are not "raw" may create an "Expression error" in the Area and Density fields. Raw values will be automatically formatted by the template. If you find a raw value is not formatted in your usage of the template, please post a notice on the discussion page for this template.
For examples and questions see the talk page.
{{Infobox City Japan |Name= |JapaneseName= |ImageSkyline= |ImageSize= |ImageCaption= |MapImage= |Region= |Prefecture= |District= |Area_km2= |PopDate= |Population= |Density_km2= |Coords= |LatitudeDegrees= |LatitudeMinutes= |LatitudeSeconds= |LongtitudeDegrees= |LongtitudeMinutes= |LongtitudeSeconds= |Tree= |Flower= |Flowering tree= |Bird= |Butterfly= |Fish= |Others= |SymbolImage= |SymbolDescription= |Mayor= |CityHallPostalCode= |CityHallAddress= |CityHallPhone= |CityHallLink= }}
Location map[แก้]
These six parameters are used for a location map of the city.
|LatitudeDegrees=
|LatitudeMinutes=
|LatitudeSeconds= (optional)
|LongtitudeDegrees=
|LongtitudeMinutes=
|LongtitudeSeconds= (optional)
Coordinates[แก้]
The location map parameters above also show the coordinates. However, the different parameter "Coords" can be used as well. When both parameters are used, "Coords" overrides the location map parameters for the coordinates. For "Coords", use {{coord}} with display=inline,title.
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.