Difference between revisions of "Template:Infobox canal"
Jump to navigation
Jump to search
imported>Chris55 (add length units) |
imported>J Clear (fix o_length, clean up length convert) |
||
Line 128: | Line 128: | ||
{{#if: {{{length|}}}| | {{#if: {{{length|}}}| | ||
{{!}} '''Length''' | {{!}} '''Length''' | ||
− | {{!}} {{convert|{{{length}}}|mi}} | + | {{!}} {{convert|{{{length|}}}|mi|km}} |
− | {{#if: {{{o_length|}}}|(originally {{{o_length|}}}) | + | {{#if: {{{o_length|}}}|(originally {{convert|{{{o_length|}}}|mi|km}}) |
}} | }} | ||
{{#if: {{{length_note|}}}|<br>({{{length_note|}}}) | {{#if: {{{length_note|}}}|<br>({{{length_note|}}}) |
Revision as of 03:00, 13 January 2011
![]() | 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. |