Difference between revisions of "Template:Infobox canal/doc"

From blackwiki
Jump to navigation Jump to search
imported>TerraCyprus
(geography is a science concerned with places and processes, this infobox is to be used on articles about specific places)
 
(19 intermediate revisions by 13 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
+
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE. -->
 +
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
 +
 
 
This template is part of the [[Wikipedia:WikiProject UK Waterways|UK Waterways WikiProject]].
 
This template is part of the [[Wikipedia:WikiProject UK Waterways|UK Waterways WikiProject]].
  
 
==Usage==
 
==Usage==
* All parameters are optional.
+
{{Parameter names example|_template=|a_engineer | name | image | image_size | alt | image_caption | map | map_size | map_alt | map_caption | coordinates | pushpin_map_relief | pushpin_map_caption | location | country | length_mi | length_km =1| canal_length | lock_length_mi | lock_length_km =1 | lock_length | lock_width_m = 1 | lock_width_ft | len_ft | len_m =1| max_boat_length | beam_ft | beam_m = 1| max_boat_beam = 1 | max_boat_draft | min_boat_draft | min_air_boat_draft | locks | current_num_locks | original_num_locks | elev_ft | elev_m = 1 | max_elev | min_elev_ft | min_elev_m = 1 | min_elev | total_rise | status | navigation_authority | xvalue1 | original_length_km = 1 | original_length_mi | length_note | original_lock_length_km = 1 | original_lock_length_mi | lock_length_note | original_lock_width_m = 1 | original_lock_width_ft | lock_width_note | lock_width | len_in | original_boat_length_m = 1 | original_boat_length_ft | original_boat_length_in | len_note | beam_in | original_beam_m = 1 | original_beam_ft | original_beam_in | beam_note | min_boat_air_draft | lock_note | elev_note | min_elev_note | xfield1 | former_names | modern_name | present_owner | original_owner | engineer | other_engineer | date_approved | date_act | date_began | date_use | date_completed | date_extended | date_closed | date_restored | xvalue2 | xfield2 | direction | start_point | end_point | begin_coord | end_coord | branch | branch_of | connects_to | xvalue3 | original_start | start_note | original_end | end_note | xfield3 | module  }}
** No caption will be shown if there is no image.
 
** The default image size is 288 px
 
* units should be entered in feet and inches.
 
* Include the HTML comments before and following the template; they help inexperienced editors.
 
* ''Please spend some time at the [[Wikipedia:WikiProject UK Waterways|UK Waterways WikiProject]] article and its [[Wikipedia talk:WikiProject UK Waterways|talk page]] for standards on presenting names and other data.''
 
  
The following few lines create the "Infobox" table template. Please scroll down to edit the main content of the article.
+
<pre style="overflow: auto;">
{{col-begin}}
 
{{col-2}}
 
===Simple version===
 
<pre>
 
{{Infobox canal
 
  |name        =
 
  |image      =
 
  |image_size  =
 
  |caption    =
 
  |o_name      =
 
  |m_name      =
 
  |company    =
 
  |engineer    =
 
  |a_engineer  =
 
  |date_act    =
 
  |date_const  =
 
  |date_use    = <!-- {{Start date|YYYY}} -->
 
  |date_comp  =
 
  |date_ext    =
 
  |date_closed =
 
  |date_rest  =
 
  |length      =
 
  |len        =
 
  |len_in      =
 
  |o_len      =
 
  |o_len_in    =
 
  |len_note    =
 
  |beam        =
 
  |beam_in    =
 
  |o_beam      =
 
  |o_beam_in  =
 
  |beam_note  =
 
  |start      =
 
  |o_start    =
 
  |start_note  =
 
  |end        =
 
  |o_end      =
 
  |end_note    =
 
  |branch      =
 
  |branch_of  =
 
  |join        =
 
  |locks      =
 
  |o_locks    =
 
  |lock_note  =
 
  |length      =
 
  |o_length    =
 
  |length_note =
 
  |elev        =
 
  |elev_note  =
 
  |status      =
 
  |nav        =
 
}}
 
</pre>
 
{{col-2}}
 
===Details===
 
{| class="wikitable collapsible collapsed" style="width:100%;"
 
|-
 
<pre>
 
 
{{Infobox canal
 
{{Infobox canal
  |name       = NAME OF CANAL
+
| name                   =  
  |image       = IMAGE OF CANAL
+
<!------------------------- IMAGE -->
  |image_size = IMAGE SIZE
+
| image                   =  
  |caption    = IMAGE CAPTION
+
| image_size             =
  |o_name      = ORIGINAL NAME OF CANAL (IF DIFFERENT TO name)
+
| alt                    =
  |m_name     = MODERN NAME OF CANAL (IF DIFFERENT TO name)
+
| image_caption          =
  |company     = ORIGINAL CANAL COMPANY
+
<!------------------------- MAP -->
  |engineer    = PRINCIPAL ENGINEER
+
| map                    =
  |a_engineer  = OTHER ENGINEERS
+
| map_size                =
  |date_act    = DATE OF ACT OF PARLIAMENT
+
| map_alt                =
  |date_const  = DATE CONSTRUCTION BEGAN
+
| map_caption            =
  |date_use    = DATE OF FIRST COMMERCIAL USE
+
| pushpin_map            =  
  |date_comp  = DATE COMPLETED
+
| pushpin_map_alt        =  
  |date_ext    = DATE EXTENDED
+
| pushpin_map_size        =  
  |date_closed = DATE CLOSED
+
| pushpin_map_relief     =  
  |date_rest  = DATE RESTORED
+
| pushpin_map_caption     =  
  |length      = CANAL LENGTH IN MILES
+
<!------------------------- LOCATION -->
  |len         = GAUGE LENGTH IN FEET
+
| location                =
  |len_in     = GAUGE LENGTH INCHES
+
| country                =
  |o_len       = ORIGINAL GAUGE LENGTH IN FEET
+
| coordinates            =  
  |o_len_in    = ORIGINAL GAUGE LENGTH INCHES
+
<!------------------------- SPECIFICATIONS -->
  |len_note    = NOTES TO GAUGE LENGTH
+
| length_mi              =  
  |beam        = GAUGE BEAM IN FEET
+
| length_km              =  
  |beam_in    = GAUGE BEAM INCHES
+
| lock_length_mi          =  
  |o_beam     = ORIGINAL GAUGE BEAM IN FEET
+
| lock_length_km          =  
  |o_beam_in  = ORIGINAL GAUGE BEAM INCHES
+
| lock_length            =  
  |beam_note  = NOTES TO GAUGE BEAM
+
| lock_width_m            =  
  |start      = START POINT
+
| lock_width_ft          =  
  |o_start    = ORIGINAL START POINT
+
| len_ft                  =  
   |start_note = NOTES TO START POINT
+
| len_m                  =  
  |end         = END POINT
+
| max_boat_length         =  
  |o_end      = ORIGINAL END POINT
+
| beam_ft                =
  |end_note    = NOTES TO END POINT
+
| beam_m                  =
  |branch      = NAMES OF ANY CANALS THAT ARE BRANCHES OF THIS CANAL
+
| max_boat_beam          =
  |branch_of  = NAME OF THE CANAL THAT THIS CANAL IS A BRANCH OF
+
| max_boat_draft          =
  |join       = NAME OF ANY CANAL THAT THIS CANAL HAS A JUNCTION WITH
+
| min_boat_draft          =
  |locks      = NUMBER OF LOCKS
+
| min_air_boat_draft     =  
  |o_locks    = ORIGINAL NUMBER OF LOCKS
+
| locks                  =
  |lock_note   = NOTE TO NUMBER OF LOCKS
+
| current_num_locks       =  
  |length      = LENGTH OF CANAL
+
| original_num_locks      =
  |o_length    = ORIGINAL LENGTH OF CANAL
+
| elev_ft                =
  |length_note = NOTE TO CANAL LENGTH
+
| elev_m                  =
  |elev        = MAXIMUM HEIGHT ABOVE SEA LEVEL
+
| max_elev                =
  |elev_note  = NOTE TO MAXIMUM HEIGHT ABOVE SEA LEVEL
+
| min_elev_ft            =
  |status      = OPEN/CLOSED/INFILLED/UNDER RESTORATION
+
| min_elev_m              =
  |nav        = NAVIGATION AUTHORITY
+
| min_elev                =
 +
| total_rise              =  
 +
| status                  =  
 +
| navigation_authority    =  
 +
| original_length_km      =  
 +
| original_length_mi     =  
 +
| length_note            =  
 +
| original_lock_length_km =  
 +
| original_lock_length_mi =  
 +
| lock_length_note        =  
 +
| original_lock_width_m   =
 +
| original_lock_width_ft =  
 +
| lock_width_note         =  
 +
| lock_width              =
 +
| len_in                  =
 +
| original_boat_length_m  =
 +
| original_boat_length_ft =
 +
| original_boat_length_in =
 +
| len_note                =  
 +
| beam_in                =  
 +
| original_beam_m        =  
 +
| original_beam_ft        =  
 +
| original_beam_in       =  
 +
| beam_note              =  
 +
| min_boat_air_draft      =  
 +
| lock_note               =
 +
| elev_note              =
 +
| min_elev_note          =
 +
| xfield1                =
 +
| xvalue1                =
 +
<!------------------------- HISTORY -->
 +
| former_names            =
 +
| modern_name            =
 +
| present_owner          =
 +
| original_owner          =
 +
| engineer                =
 +
| other_engineer          =
 +
| date_approved          =
 +
| date_act                =
 +
| date_began              =
 +
| date_use                =
 +
| date_completed          =
 +
| date_extended          =
 +
| date_closed            =
 +
| date_restored          =
 +
| xvalue2                =
 +
| xfield2                =
 +
<!------------------------- GEOGRAPHY -->
 +
| direction              =
 +
| begin_coord            =
 +
| end_coord              =
 +
| branch                  =
 +
| branch_of              =
 +
| connects_to            =
 +
| start_point            =
 +
| original_start          =  
 +
| start_note              =  
 +
| end_point              =  
 +
| original_end            =  
 +
| end_note                =  
 +
| xfield3                =  
 +
| xvalue3                =  
 +
| module                  =
 
}}
 
}}
 
</pre>
 
</pre>
{{col-end}}
 
|}
 
  
=== Example ===
+
== Tracking category==
<pre>
+
*{{clc|Pages using infobox canal with unknown parameters}}
{{Infobox canal
 
  |name        = Bogcaster Canal
 
  |image      = example.jpg
 
  |image_size  = 100px
 
  |caption    = Bogcaster Canal near Bogtown
 
  |o_name      = Bogcaster and Nowhere Canal Navigation
 
  |m_name      = [[Grand Amalgamated Canal]]
 
  |company    = Bogcaster Canal Company
 
  |engineer    = [[Thomas Telford]]
 
  |a_engineer  = [[Benjamin Outram]]
 
  |date_act    = 1795
 
  |date_const  = 1797
 
  |date_use    = {{Start date|1800}}
 
  |date_comp  = 1804
 
  |date_ext    = 1820
 
  |date_closed = 1948
 
  |date_rest  = 1978–2001
 
  |len        = 70
 
  |len_in      = 6
 
  |o_len      = 72
 
  |o_len_in    = 6
 
  |len_note    = test note
 
  |beam        = 6
 
  |beam_in    = 10
 
  |o_beam      = 7
 
  |o_beam_in  = 1.5
 
  |beam_note  = Southern section is 10'6" beam
 
  |start      = A
 
  |o_start    = C
 
  |start_note  = note for start
 
  |end        = B
 
  |o_end      = D
 
  |end_note    = note for end
 
  |branch      = tiny canal
 
  |branch_of  = big canal
 
  |join        = Other canal<br />Some Canal
 
  |locks      = 10
 
  |o_locks    = 11
 
  |lock_note  = Locks 5 & 6 combined into one deep lock
 
  |length      = 50 miles
 
  |o_length    = 80 miles
 
  |length_note = Bank collapsed in 1822
 
  |elev        = 250
 
  |elev_note  = Summit pound from [[F]] to [[G]]
 
  |status      = restored
 
  |nav        = [[British Waterways]]
 
}}
 
</pre>
 
  
<includeonly>
+
<includeonly>{{Sandbox other||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. -->
+
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, INSIDE INCLUDEONLY TAGS. -->
[[Category:geography infobox templates|Canal]]
+
[[Category:Place infobox templates|Canal]]
 +
[[Category:Infobox templates with module parameter|Canal]]
 
[[Category:WikiProject UK Waterways|*]]
 
[[Category:WikiProject UK Waterways|*]]
 
+
[[Category:Templates that add a tracking category]]
[[ja:Template:Infobox 運河]]
+
[[Category:Waterway templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 23:08, 20 September 2020

This template is part of the UK Waterways WikiProject.

Usage

Template:Parameter names example

{{Infobox canal
| name                    = 
<!------------------------- IMAGE -->
| image                   = 
| image_size              = 
| alt                     = 
| image_caption           = 
<!------------------------- MAP -->
| map                     = 
| map_size                = 
| map_alt                 = 
| map_caption             = 
| pushpin_map             = 
| pushpin_map_alt         = 
| pushpin_map_size        = 
| pushpin_map_relief      = 
| pushpin_map_caption     = 
<!------------------------- LOCATION -->
| location                = 
| country                 = 
| coordinates             = 
<!------------------------- SPECIFICATIONS -->
| length_mi               = 
| length_km               = 
| lock_length_mi          = 
| lock_length_km          = 
| lock_length             = 
| lock_width_m            = 
| lock_width_ft           = 
| len_ft                  = 
| len_m                   = 
| max_boat_length         = 
| beam_ft                 = 
| beam_m                  = 
| max_boat_beam           = 
| max_boat_draft          =
| min_boat_draft          = 
| min_air_boat_draft      = 
| locks                   = 
| current_num_locks       = 
| original_num_locks      = 
| elev_ft                 = 
| elev_m                  = 
| max_elev                = 
| min_elev_ft             = 
| min_elev_m              = 
| min_elev                = 
| total_rise              = 
| status                  = 
| navigation_authority    = 
| original_length_km      = 
| original_length_mi      = 
| length_note             = 
| original_lock_length_km = 
| original_lock_length_mi = 
| lock_length_note        = 
| original_lock_width_m   = 
| original_lock_width_ft  = 
| lock_width_note         = 
| lock_width              = 
| len_in                  = 
| original_boat_length_m  = 
| original_boat_length_ft = 
| original_boat_length_in = 
| len_note                = 
| beam_in                 = 
| original_beam_m         = 
| original_beam_ft        = 
| original_beam_in        = 
| beam_note               = 
| min_boat_air_draft      = 
| lock_note               = 
| elev_note               = 
| min_elev_note           = 
| xfield1                 = 
| xvalue1                 = 
<!------------------------- HISTORY -->
| former_names            = 
| modern_name             = 
| present_owner           = 
| original_owner          = 
| engineer                = 
| other_engineer          = 
| date_approved           = 
| date_act                = 
| date_began              = 
| date_use                = 
| date_completed          = 
| date_extended           = 
| date_closed             = 
| date_restored           = 
| xvalue2                 = 
| xfield2                 = 
<!------------------------- GEOGRAPHY -->
| direction               = 
| begin_coord             = 
| end_coord               = 
| branch                  = 
| branch_of               = 
| connects_to             = 
| start_point             = 
| original_start          = 
| start_note              = 
| end_point               = 
| original_end            = 
| end_note                = 
| xfield3                 = 
| xvalue3                 = 
| module                  =
}}

Tracking category