แม่แบบ:Infobox SMS station/doc

จากวิกิพีเดีย สารานุกรมเสรี
ไปยังการนำทาง ไปยังการค้นหา
{{{title}}}
[[File:{{{img}}}|{{{imgwidth}}}px|]]
{{{caption}}}
ภาษาเกาหลี
ฮันกึล{{{hangul}}}
ฮันจา{{{hanja}}}
ระบบกระทรวงวัฒนธรรมเกาหลี{{{rr}}}
ระบบแมกคูน-ไรซ์ชาวเออร์{{{mr}}}
สาย 1
prev next
หมายเลข{{{number}}}
ที่อยู่{{{address}}}
พิกัดภูมิศาสตร์{{{coordinates}}}
วันที่เปิดให้บริการ{{{opened}}}
ประเภท{{{type}}}
ชานชาลา/ราง{{{platforms}}} / {{{tracks}}}
ประตูกั้นชานชาลา{{{screendoors}}}
ผู้ดำเนินการ{{{operator}}}
รถโดยสารประจำทาง{{{bus}}}

This template is used to display an infobox for stations on the Seoul Metropolitan Subway.

Usage[แก้]

The infobox may be added by pasting the template as shown below into an article. All fields are optional and unused parameter names can be left blank or omitted.

{{Infobox SMS station
| title         = 
| img           = 
| imgwidth      = 
| caption       = 
| hangul        = 
| hanja         = 
| rr            = 
| mr            = 
| line          = 
| prev          = 
| prev2         = 
| next          = 
| next2         = 
| number        = 
| address       = 
| coordinates   = 
| opened        = 
| type          = 
| platforms     = 
| tracks        = 
| screendoors   = 
| bus           = 
| operator      = 
| line_2        = 
| prev_2        = 
| prev2_2       = 
| next_2        = 
| next2_2       = 
| number_2      = 
| address_2     = 
| coordinates_2 = 
| opened_2      = 
| type_2        = 
| platforms_2   = 
| tracks_2      = 
| screendoors_2 =
| bus_2         =
| operator_2    =
| line_3        = 
| prev_3        = 
| prev2_3       = 
| next_3        = 
| next2_3       = 
| number_3      = 
| address_3     = 
| coordinates_3 = 
| opened_3      = 
| type_3        = 
| platforms_3   = 
| tracks_3      = 
| screendoors_3 = 
| bus_3         = 
| operator_3    = 
| line_4        = 
| prev_4        = 
| prev2_4       = 
| next_4        = 
| next2_4       = 
| number_4      = 
| address_4     = 
| coordinates_4 = 
| opened_4      = 
| type_4        = 
| platforms_4   = 
| tracks_4      = 
| screendoors_4 = 
| bus_4         = 
| operator_4    = 
}}


Description of fields[แก้]

Field Description Default
title A text field at the top of the table. {{PAGENAME}}
img An image displayed at the top of the infobox. Use the filename of the image (i.e. for Image:Koreageostub.svg, set "img=Koreageostub.svg".)
imgwidth The width of the img in pixels. 280px
caption A caption which appears beneath the img.
hangul Korean name in Hangul.
hanja Korean name in Hanja.
rr The Revised Romanization of the name.
mr The McCune–Reischauer of the name.
line The line code. The codes for the lines are as follows:

s01 -- Seoul Subway Line 1
s02 -- Seoul Subway Line 2
s03 -- Seoul Subway Line 3
s04 -- Seoul Subway Line 4
s05 -- Seoul Subway Line 5
s06 -- Seoul Subway Line 6
s07 -- Seoul Subway Line 7
s08 -- Seoul Subway Line 8
s09 -- Seoul Subway Line 9
bun -- Bundang Line
sbd -- Sinbundang Line
jun -- Jungang Line
gye -- Gyeongui Line
chun -- Gyeongchun Line
arx -- Incheon International Airport Railroad
i01 -- Incheon Subway Line 1
The line code must be one of these codes. If it is not, the infobox will not show data correctly.

prev The previous station on the current line.
prev2 The other previous station on the current line if it is a branch station.
next The next station on the current line.
next2 The other next station on the current line if it is a branch station.
number The station number on the current line.
address The address of the station.
coordinates The geographic coordinates of the station.
opened The date when the station first opened. USe {{Start date}} Include other dates where appropriate, such as the opening of the subway line(s).
type A brief description of the station type, e.g. Underground, Aboveground, etc.
platforms The number of platforms at the station.
tracks The number of tracks at the station.
screendoors Indication of whether platform screen doors are installed or not.
bus Any attached bus routes at stops next to station exits.
operator The organization who operate the station, e.g. Korail, Seoul Metro, SMRT.
..._2 By adding the code _2 to any field from line to tracks, you can add extra lines onto the infobox.
..._3 By adding the code _3 to any field from line to tracks, you can add extra lines onto the infobox.
..._4 By adding the code _4 to any field from line to tracks, you can add extra lines onto the infobox.

Example[แก้]

The following example is taken from the Yongsan Station article.

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.


See also[แก้]