Difference between revisions of "Template:Infobox canal"
Jump to navigation
Jump to search
imported>Ninel (add max boat draft (see Talk page as well for discussion why it's needed)) |
imported>Andrybak (link to Draft (hull)) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 116: | Line 116: | ||
}} | }} | ||
| − | |||
| − | |||
| − | | | + | | label10 = [[Draft (hull)|Maximum boat draft]] |
| − | | | + | | data10 = {{{max_boat_draft|}}} |
| − | | label12 = Locks | + | | label11 = Minimum boat draft |
| − | | | + | | data11 = {{{min_boat_draft|}}} |
| + | |||
| + | | label12 = Minimum boat air draft | ||
| + | | data12 = {{{min_boat_air_draft|}}} | ||
| + | |||
| + | | label13 = Locks | ||
| + | | data13 = {{#if: {{{locks|}}} | ||
|{{br separated entries | |{{br separated entries | ||
|1 = {{{locks}}} | |1 = {{{locks}}} | ||
| Line 134: | Line 138: | ||
}} | }} | ||
| − | | | + | | label14 = Original number of locks<!-- suppressed if merged with field above --> |
| − | | | + | | data14 = {{#if:{{{current_num_locks|}}}||{{{original_num_locks|}}}}} |
| − | | | + | | label15 = Maximum height above sea level |
| − | | | + | | data15 = {{#if: {{{elev_ft|}}}{{{elev_m|}}} |
|{{br separated entries | |{{br separated entries | ||
|1 = {{#if:{{{elev_m|}}} | |1 = {{#if:{{{elev_m|}}} | ||
| Line 149: | Line 153: | ||
}} | }} | ||
| − | | | + | | label16 = Minimum height above sea level |
| − | | | + | | data16 = {{#if: {{{min_elev_ft|}}}{{{min_elev_m|}}} |
|{{br separated entries | |{{br separated entries | ||
|1 = {{#if:{{{min_elev_m|}}} | |1 = {{#if:{{{min_elev_m|}}} | ||
| Line 161: | Line 165: | ||
}} | }} | ||
| − | | | + | | label17 = Total rise |
| − | | | + | | data17 = {{{total_rise|}}} |
| − | | | + | | label18 = Status |
| − | | | + | | data18 = {{{status|}}} |
| − | | | + | | label19 = Navigation authority |
| − | | | + | | data19 = {{{navigation_authority|}}} |
| − | | | + | | label20 = {{{xfield1}}} |
| − | | | + | | data20 = {{{xvalue1|}}} |
| − | | | + | | header21 = {{#if:{{{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|}}}|History}} |
| − | | | + | | label22 = Former names |
| − | | | + | | data22 = {{{former_names|}}} |
| − | | | + | | label23 = Modern name |
| − | | | + | | data23 = {{{modern_name|}}} |
| − | | | + | | label24 = Current owner |
| − | | | + | | data24 = {{{present_owner|}}} |
| − | | | + | | label25 = Original owner |
| − | | | + | | data25 = {{{original_owner|}}} |
| − | | | + | | label26 = Principal engineer |
| − | | | + | | data26 = {{{engineer|}}} |
| − | | | + | | label27 = Other engineer(s) |
| − | | | + | | data27 = {{{other_engineer|}}} |
| − | | | + | | label28 = Date approved |
| − | | | + | | data28 = {{{date_approved|}}} |
| − | | | + | | label29 = Date of act |
| − | | | + | | data29 = {{{date_act|}}} |
| − | | | + | | label30 = Construction began |
| − | | | + | | data30 = {{{date_began|}}} |
| − | | | + | | label31 = Date of first use |
| − | | | + | | data31 = {{{date_use|}}} |
| − | | | + | | label32 = Date completed |
| − | | | + | | data32 = {{{date_completed|}}} |
| − | | | + | | label33 = Date extended |
| − | | | + | | data33 = {{{date_extended|}}} |
| − | | | + | | label34 = Date closed |
| − | | | + | | data34 = {{{date_closed|}}} |
| − | | | + | | label35 = Date restored |
| − | | | + | | data35 = {{{date_restored|}}} |
| − | | | + | | label36 = {{{xfield2}}} |
| − | | | + | | data36 = {{{xvalue2|}}} |
| − | | | + | | header37 = {{#if:{{{direction|}}}{{{start_point|}}}{{{end_point|}}}{{{begin_coord|}}}{{{end_coord|}}}{{{branch|}}}{{{branch_of|}}}{{{connects_to|}}}{{{xvalue3|}}}|Geography}} |
| − | | | + | | label38 = Direction |
| − | | | + | | data38 = {{{direction|}}} |
| − | | | + | | label39 = Start point |
| − | | | + | | data39 = {{#if: {{{start_point|}}} |
|{{br separated entries | |{{br separated entries | ||
|1 = {{{start_point}}} | |1 = {{{start_point}}} | ||
| Line 234: | Line 238: | ||
}} | }} | ||
| − | | | + | | label40 = End point |
| − | | | + | | data40 = {{#if: {{{end_point|}}} |
|{{br separated entries | |{{br separated entries | ||
|1 = {{{end_point}}} | |1 = {{{end_point}}} | ||
| Line 243: | Line 247: | ||
}} | }} | ||
| − | | | + | | label41 = Beginning [[Geographic coordinate system|coordinates]] |
| − | | | + | | data41 = {{{begin_coord|}}} |
| − | | | + | | label42 = Ending [[Geographic coordinate system|coordinates]] |
| − | | | + | | data42 = {{{end_coord|}}} |
| − | | | + | | label43 = Branch(es) |
| − | | | + | | data43 = {{{branch|}}} |
| − | | | + | | label44 = Branch of |
| − | | | + | | data44 = {{{branch_of|}}} |
| − | | | + | | label45 = Connects to |
| − | | | + | | data45 = {{{connects_to|}}} |
| − | | | + | | label46 = {{{xfield3}}} |
| − | | | + | | data46 = {{{xvalue3|}}} |
| − | |||
| − | |||
| header47 = {{{module|}}} | | header47 = {{{module|}}} | ||
Latest revision as of 15:32, 15 April 2020
| Template:PAGENAMEBASE |
|---|
[[Category:Infobox templates|Template:Remove first word]]
| This template uses Lua: |
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
| The above documentation is transcluded from Template:Infobox canal/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |