Difference between revisions of "Template:Infobox canal"
Jump to navigation
Jump to search
(Add optional metric (step 2)) |
(abbr=in) |
||
| Line 135: | Line 135: | ||
{{!}} '''Length''' | {{!}} '''Length''' | ||
{{!}} {{#if:{{{length_km|}}} | {{!}} {{#if:{{{length_km|}}} | ||
| − | | {{convert|{{{length_km|}}}|km|mi}} | + | | {{convert|{{{length_km|}}}|km|mi|abbr=in}} |
| {{convert|{{{length_mi|{{{length|}}}}}}|mi|km}} | | {{convert|{{{length_mi|{{{length|}}}}}}|mi|km}} | ||
}} | }} | ||
{{#if: {{{o_length_km|}}} | {{#if: {{{o_length_km|}}} | ||
| − | |(originally {{convert|{{{o_length_km|}}}|km|mi|disp=or}}) | + | |(originally {{convert|{{{o_length_km|}}}|km|mi|abbr=on|disp=or}}) |
|{{#if: {{{o_length_mi|{{{o_length|}}}}}} | |{{#if: {{{o_length_mi|{{{o_length|}}}}}} | ||
|(originally {{convert|{{{o_length|{{{o_length_mi|}}}}}}|mi|km|disp=or}}) | |(originally {{convert|{{{o_length|{{{o_length_mi|}}}}}}|mi|km|disp=or}}) | ||
Revision as of 00:07, 1 February 2014
| 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. |
eo:Ŝablono:Informkesto kanalo fr:Modèle:Infobox Canal nl:Sjabloon:Infobox kanaal no:Mal:Infoboks kanal