Difference between revisions of "Template:Infobox canal"
Jump to navigation
Jump to search
imported>Frietjes (use infobox) |
imported>Frietjes |
||
| Line 49: | Line 49: | ||
| label13 = Maximum boat length | | label13 = Maximum boat length | ||
| data13 = {{#if: {{{len_ft|{{{len|}}}}}}{{{len_m|}}} | | data13 = {{#if: {{{len_ft|{{{len|}}}}}}{{{len_m|}}} | ||
| − | |{{#if:{{{len_m|}}} | + | |{{br separated entries |
| − | + | |1 = {{#if:{{{len_m|}}} | |
| − | + | |{{convert|{{{len_m}}}|m|ftin|abbr=on|sigfig=4}} | |
| + | |{{convert|{{{len_ft|{{{len}}}}}}|ft|{{{len_in|0}}}|in|m|abbr=on|sigfig=4}} | ||
| + | }} | ||
| + | |2 = {{#if: {{{o_len_m|}}} | ||
| + | |(originally {{convert|{{{o_len_m}}}|m|ftin|abbr=on|disp=or|sigfig=4}}) | ||
| + | |{{#if: {{{o_len_ft|{{{o_len|}}}}}} | ||
| + | |(originally {{convert|{{{o_len_ft|{{{o_len}}}}}}|ft|{{{o_len_in|0}}}|in|m|abbr=on|disp=or|sigfig=4}}) | ||
| + | }} }} | ||
| + | |3 = {{#if: {{{len_note|}}}|({{{len_note}}})}} | ||
}} | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
| label14 = [[Beam (nautical)|Maximum boat beam]] | | label14 = [[Beam (nautical)|Maximum boat beam]] | ||
| data14 = {{#if: {{{beam_ft|{{{beam|}}}}}}{{{beam_m|}}} | | data14 = {{#if: {{{beam_ft|{{{beam|}}}}}}{{{beam_m|}}} | ||
| − | |{{#if:{{{beam_m|}}} | + | |{{br separated entries |
| − | + | |1 = {{#if:{{{beam_m|}}} | |
| − | + | |{{convert|{{{beam_m}}}|m|ftin|abbr=on|sigfig=3}} | |
| − | + | |{{convert|{{{beam_ft|{{{beam}}}}}}|ft|{{{beam_in|0}}}|in|m|abbr=on|sigfig=3}} | |
| − | {{#if: {{{o_beam_m|}}} | + | }} |
| − | + | |2 = {{#if: {{{o_beam_m|}}} | |
| − | + | |(originally {{convert|{{{o_beam_m}}}|m|ftin|abbr=on|disp=or|sigfig=3}}) | |
| − | + | |{{#if: {{{o_beam_ft|{{{o_beam|}}}}}} | |
| + | |(originally {{convert|{{{o_beam_ft|{{{o_beam}}}}}}|ft|{{{o_beam_in|0}}}|in|m|abbr=on|disp=or|sigfig=3}}) | ||
| + | }} }} | ||
| + | |3 = {{#if: {{{beam_note|}}}|({{{beam_note}}})}} | ||
}} | }} | ||
| − | |||
}} | }} | ||
| label15 = Start point | | label15 = Start point | ||
| − | | data15 = {{#if: {{{start|}}}|{{{start | + | | data15 = {{#if: {{{start|}}} |
| − | {{#if: {{{o_start|}}}|(originally {{{o_start | + | |{{br separated entries |
| − | {{#if: {{{start_note|}}}| | + | |1 = {{{start}}} |
| + | |2 = {{#if: {{{o_start|}}}|(originally {{{o_start}}})}} | ||
| + | |3 = {{#if: {{{start_note|}}}|({{{start_note}}})}} | ||
| + | }} | ||
}} | }} | ||
| label16 = End point | | label16 = End point | ||
| − | | data16 = {{#if: {{{end|}}}|{{{end | + | | data16 = {{#if: {{{end|}}} |
| − | {{#if: {{{o_end|}}}|(originally {{{o_end | + | |{{br separated entries |
| − | {{#if: {{{end_note|}}}|<br>({{{end_note | + | |1 = {{{end}}} |
| + | |2 = {{#if: {{{o_end|}}}|(originally {{{o_end}}})}} | ||
| + | |3 = {{#if: {{{end_note|}}}|<br>({{{end_note}}})}} | ||
| + | }} | ||
}} | }} | ||
| Line 97: | Line 107: | ||
| label20 = Locks | | label20 = Locks | ||
| − | | data20 = {{#if: {{{locks|}}}|{{{locks | + | | data20 = {{#if: {{{locks|}}} |
| − | {{#if: {{{o_locks|}}}|(originally {{{o_locks | + | |{{br separated entries |
| − | {{#if: {{{lock_note|}}}| | + | |1 = {{{locks}}} |
| + | |2 = {{#if: {{{o_locks|}}}|(originally {{{o_locks}}})}} | ||
| + | |3 = {{#if: {{{lock_note|}}}|({{{lock_note}}})}} | ||
| + | }} | ||
}} | }} | ||
| label21 = Length | | label21 = Length | ||
| data21 = {{#if: {{{length_mi|{{{length|}}}}}}{{{length_km|}}} | | data21 = {{#if: {{{length_mi|{{{length|}}}}}}{{{length_km|}}} | ||
| − | |{{#if:{{{length_km|}}} | + | |{{br separated entries |
| − | + | |1 = {{#if:{{{length_km|}}} | |
| − | + | | {{convert|{{{length_km}}}|km|mi|abbr=in}} | |
| − | + | | {{convert|{{{length_mi|{{{length}}}}}}|mi|km}} | |
| − | {{#if: {{{o_length_km|}}} | + | }} |
| − | + | |2 = {{#if: {{{o_length_km|}}} | |
| − | + | |(originally {{convert|{{{o_length_km}}}|km|mi|abbr=on|disp=or}}) | |
| − | + | |{{#if: {{{o_length_mi|{{{o_length|}}}}}} | |
| − | + | |(originally {{convert|{{{o_length|{{{o_length_mi}}}}}}|mi|km|abbr=on|disp=or}}) | |
| − | + | }} }} | |
| + | |3 = {{#if: {{{length_note|}}}|({{{length_note}}})}} | ||
| + | }} | ||
}} | }} | ||
| label22 = Maximum height above sea level | | label22 = Maximum height above sea level | ||
| data22 = {{#if: {{{elev_ft|{{{elev|}}}}}}{{{elev_m|}}} | | data22 = {{#if: {{{elev_ft|{{{elev|}}}}}}{{{elev_m|}}} | ||
| − | |{{#if:{{{elev_m|}}} | + | |{{br separated entries |
| − | + | |1 = {{#if:{{{elev_m|}}} | |
| − | + | | {{convert|{{{elev_m}}}|m|ft|abbr=on}} | |
| − | + | | {{convert|{{{elev_ft|{{{elev}}}}}}|ft|m|abbr=on}} | |
| + | }} | ||
| + | |2 = {{#if: {{{elev_note|}}}|({{{elev_note}}})}} | ||
| + | }} | ||
}} | }} | ||
Revision as of 16:46, 21 May 2014
[[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. |