Templat:Infobox hiking trail
Templat ini dalam artikel-artikel mengenai jalur atau trail hiking tertentu. Contoh di kanan menunjukkan bagaimana templat ini sepatutnya digunakan.
Templat kosong
[sunting sumber]{{{name}}} | |
---|---|
[[File:{{{photo}}}|{{{photo_size}}}|alt={{{photo_alt}}}]] | |
{{{title}}} | |
Ditetapkan | {{{established}}} |
Panjang | {{{length}}} |
Lokasi | {{{location}}} |
Designasi | {{{designation}}} |
Titik awal | {{{trailheads}}} |
Penggunaan | {{{use}}} |
Perbedaan elevasi | {{{elev_gain_and_loss}}} |
Perubahan elevasi | {{{elev_change}}} |
Titik tertinggi | {{{highest_name}}}, [convert: nomor tidak sah], {{{highest}}} |
Titik terendah | {{{lowest_name}}}, [convert: nomor tidak sah], {{{lowest}}} |
Grade | {{{grade}}} |
Tingkat kesulitan | {{{difficulty}}} |
Musim | {{{season}}} |
Bulan | {{{months}}} |
Penandaan | {{{waymark}}} |
Pemandangan | {{{sights}}} |
Bahaya | {{{hazards}}} |
Permukaan jalan | {{{surface}}} |
Right of way | {{{ROW}}} |
Dikelola oleh | {{{maintainer}}} |
Situs web | {{{website}}} |
{{{map_name}}} | |
[[File:{{{map}}}|{{{map_size}}}|alt={{{map_alt}}}]] |
{{Infobox hiking trail | name = | embed = | cellstyle = | photo = | photo_size = | photo_alt = | caption = | title = | established = | length = | location = | designation = | trailheads = | use = Hiking | elev_gain_and_loss = | elev_change = <!-- Gunakan Perbedaan elevasi (elev_gain_and_loss) jika diketahui. Gunakan parameter ini hanya jika perubahannya diketahui. --> | highest = | lowest = | grade = | difficulty = | season = | months = | waymark = | sights = | hazards = | surface = | ROW = | maintainer = | website = | map = | map_name = | map_caption = | map_size = | map_alt = | route = | route_state = }}
Pemerian parameter
[sunting sumber]Parameter | Description |
---|---|
name | Nama jalur atau trail |
length_km | Panjang trail dalam kilometer, sebagai angka tunggal. Secara otomatis akan dikonversi ke dalam mil |
length_mi | Panjang trail dalam mil, sebagai angka tunggal. Secara otomatis akan dikonversi ke dalam kilometer. Harap hanya digunakan untuk trail di Amerika Serikat |
length | Panjang trail, tidak dikonversi secara otomatis. Gunakan jika Anda ingin memberi informasi tambahan mengenai panjangnya. |
location | Lokasi trail termasuk park, state, county atau region, jika ada, dan negara. |
trailheads | Titik awal di mana trail bermula dan berakhir |
use | paling tidak selalu tuliskan: hiking |
photo | Foto area sekitar trail. Ditentukan sebagai filename.jpg, tidak perlu ada "Berkas:". Harap gunakan gambar asli beresolusi tinggi (sedikitnya selebar 300 pixel). |
photo_size | Lebar foto, dalam pixel. Default: 250. |
photo_alt | Alternate text untuk foto |
designation | Designasi yang diperoleh oleh trail itu, misalnya UK National Trail atau U.S. National Scenic Trail. |
established | Waktu ditetapkan atau diresmikan |
elev_gain_and_loss | Perbedaan elevasi, misalnya "{{convert|300|m|ft|-1}} lebih tinggi" atau "{{convert|300|m|ft|-1}} lebih tinggi ke dalam; {{convert|100|m|ft|-1}} lebih tinggi ke luar". Harap dinyatakan lebih tinggi atau lebih rendah dalam meter atau kaki, bukan dalam kilometer atau mil. |
elev_change | Jumlah ketinggian yang dinaiki atau dituruni sepanjang trail. Satuan akan otomatis dikonversi jika menggunakan akhiran _ft atau _m. |
elev_change_ft | |
elev_change_m | |
highest_m | Elevasi titik tertinggi pada trail, baik dalam meter atau kaki (feet) akan otomatis dikonversi. Harap gunakan _ft hanya untuk trail di Amerika Serikat |
highest_ft | |
highest_name | Name of highest point in trail (for use with highest_ft or highest_m) |
highest | Free field for highest point in trail, use when citations is needed |
lowest_m | Similar to highest_ etc., except describing the lowest point of the trail |
lowest_ft | |
lowest_name | |
lowest | |
grade | The grade in percent, typical with former railroad right-of-ways |
difficulty | Tingkat kesulitan trail untuk orang dewasa sehat berdasarkan reliable source |
season | Musim-musim trail dapat digunakan, atau dapat mudah dijalani |
months | Bulan-bulan trail dapat digunakan, atau dapat mudah dijalani |
sights | Pemandangan penting sepanjang jalur |
hazards | Bahaya utama yang dapat dijumpai, sebagaimana didokumentasikan oleh sumber tepercaya |
surface | Permukaan jalan trail: alamiah/natural, gravel, ballast, aspal/asphalt, dll. |
ROW | The current or former Right of way, misalnya jalur kereta api |
maintainer | Organisasi yang bertanggung jawab untuk mengelola rute |
website | Situs web organisasi yang mengelola trail |
waymark | Penandaan (waymark; sign atau simbol) yang digunakan untuk menandai atau tiang penanda sepanjang rute |
map | Peta trail, jika berupa gambar |
map_name | Nama peta. Defaul: "Trail map". |
map_size | Ukuran peta (baik dalam px atau %) |
map_alt | Alt teks untuk peta |
map_caption | Caption untuk peta |
route | Peta trail, jika berupa route diagram template |
route_state | Collapsed state peta rute |
Embed inside another Infobox
[sunting sumber]The hiking trail Infobox can be embedded inside another Infobox for seamless display of info. For example, a hiking trail that is also a protected area, such as the Kal-Haven Trail. See the testcases for more examples.
Inserting the hiking Infobox inside the parent Infobox
[sunting sumber]The hiking Infobox can only be inserted after certain field values of the parent template. Specifically, only after fields whose values are not passed to another template by the parent templates source code. In other words, the parent templates source code for the field has to output the fields' value without passing it to a template. This may require examining the parent templates source code. It is ok to insert after field values that contain internal [[]]
and external links []
.
Example:
{| style="float:right; clear:right; border:0; margin:-0.5em 0 0 0;" |- |{{Infobox Protected area | name = Kal-Haven Trail ... | governing_body = <div>[[Michigan Department of Natural Resources]]</div> {{Infobox hiking trail | embed = yes | cellstyle = padding:0.1em 0.3em; | name = Kal-Haven Trail | length = {{convert|34.5|mi|km|1}} ... }} }} |}
Note the <div> tag surrounding the governing_body wiki link. It is needed to reduce the vertical spacing between the governing_body field and the first hiking trail field, in this case, length.
Parent Infobox encapsulation
[sunting sumber]The parent Infobox needs to be encapsulated in a table as in the above example.
{| style="float:right; clear:right; border:0; margin:-0.5em 0 0 0;" |- |(parent Infobox) |}
Parameters
[sunting sumber]Field name | Description |
---|---|
embed |
Set to embed = yes when embedding inside another Infobox.
|
cellstyle |
Set to a class/style that matches the outer Infoboxes cell class/style so that the columns line up properly. Example for using with {{Infobox protected area}}:cellstyle = padding:0.1em 0.3em;
|
title |
A first colored header before the main infobox, used when embedded, to show the trail name |
Example
[sunting sumber]Wonderland Trail | |
---|---|
Panjang | 93 mil (150 km)[1] |
Lokasi | Mount Rainier National Park, Washington, United States |
Titik awal | Longmire Lodge Mowich Lake Ipsut Creek Camp Ground Sunrise parking area White River Camp Ground Fryingpan Creek Trailhead Box Canyon Reflection Lakes Cougar Rock |
Penggunaan | Hiking |
Elevation | |
Perbedaan elevasi | 22.000 kaki (6.700 m) gain approximately[1] |
Titik tertinggi | Panhandle Gap 6.750 kaki (2.060 m)[2] |
Titik terendah | Ipsut Creek Campground 2.320 kaki (710 m)[1] |
Detail hiking | |
Musim | Summer to early Fall |
Bulan | Mid-July through late September |
Situs web | nps.gov/mora/planyourvisit/the-wonderland-trail.htm |
{{Infobox hiking trail | name = Wonderland Trail | photo = CowlitzDivide.JPG | caption = Mt Rainier from the Cowlitz Divide along the Wonderland Trail | location = [[Mount Rainier National Park]], [[Washington (state)|Washington]], [[United States]] | length = {{convert|93|mi|km|0}}<ref name="Filley"> {{cite book | author = Filley, Bette | year = 2002 | title = Discovering the Wonders of the Wonderland Trail: Encircling Mount Rainier (5th edition) | publisher = Dunamis House | isbn = 1-880405-09-1 }}</ref> | trailheads = [[Longmire, Washington|Longmire Lodge]] <br/> [[Mowich Lake]] <br/> Ipsut Creek Camp Ground <br/> [[Sunrise (Mount Rainier)|Sunrise parking area]] <br/> White River Camp Ground <br/> Fryingpan Creek Trailhead <br/> Box Canyon <br/> Reflection Lakes <br/> Cougar Rock | use = [[Hiking]] | elev_gain_and_loss = {{convert|22000|ft|m|-2}} gain approximately<ref name="Filley"/> | highest = Panhandle Gap {{convert|6750|ft|m|-1}}<ref name="SpringManningMRNP"> {{cite book | author = Spring, Ira | authorlink = Ira Spring | authorlink2 = Harvey Manning | author2=Manning, Harvey | year = 1999 | title = 50 Hikes in Mount Rainier National Park | publisher = The Mountaineers | isbn = 0-89886-572-7 }}</ref> | lowest = Ipsut Creek Campground {{convert|2320|ft|m|-1}}<ref name="Filley"/> | season = Summer to early [[Autumn|Fall]] | months = Mid-July through late September | website = [http://www.nps.gov/mora/planyourvisit/the-wonderland-trail.htm nps.gov/mora/planyourvisit/the-wonderland-trail.htm] }}