Difference between revisions of "Template:Infobox canal"
Jump to navigation
Jump to search
(|abbr=on) |
imported>Frietjes (use infobox) |
||
| Line 1: | Line 1: | ||
| − | + | {{infobox | |
| − | | | + | |
| − | + | | bodyclass = vcard | |
| − | | | + | |
| − | {{ | + | | aboveclass = fn org |
| − | + | | abovestyle = font-size: larger; background-color: #CEDEFF | |
| − | + | | above = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}} | |
| − | + | ||
| − | + | | imagestyle = border-bottom: 1px solid #CEDEFF | |
| − | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=288px|alt={{{alt|}}}}} | |
| − | + | | caption = {{{caption|}}} | |
| − | | | + | |
| − | + | | label1 = Former names | |
| − | + | | data1 = {{{o_name|}}} | |
| − | + | ||
| − | + | | label2 = Modern name | |
| − | | | + | | data2 = {{{m_name|}}} |
| − | + | ||
| − | + | | label3 = Original owner | |
| − | + | | data3 = {{{company|}}} | |
| − | + | ||
| − | | | + | | label4 = Principal engineer |
| − | + | | data4 = {{{engineer|}}} | |
| − | + | ||
| − | + | | label5 = Other engineer(s) | |
| − | + | | data5 = {{{a_engineer|}}} | |
| − | | | + | |
| − | + | | label6 = Date of act | |
| − | + | | data6 = {{{date_act|}}} | |
| − | + | ||
| − | + | | label7 = Construction began | |
| − | + | | data7 = {{{date_const|}}} | |
| − | + | ||
| − | + | | label8 = Date of first use | |
| − | + | | data8 = {{{date_use|}}} | |
| − | + | ||
| − | | | + | | label9 = Date completed |
| − | + | | data9 = {{{date_comp|}}} | |
| − | + | ||
| − | + | | label10 = Date extended | |
| − | + | | data10 = {{{date_ext|}}} | |
| − | | | + | |
| − | + | | label11 = Date closed | |
| − | + | | data11 = {{{date_closed|}}} | |
| − | + | ||
| − | + | | label12 = Date restored | |
| − | | | + | | data12 = {{{date_rest|}}} |
| − | + | ||
| − | + | | label13 = Maximum boat length | |
| − | + | | data13 = {{#if: {{{len_ft|{{{len|}}}}}}{{{len_m|}}} | |
| − | + | |{{#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}} | |
| − | + | }} | |
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | {{#if: {{{len_ft|{{{len|}}}}}}{{{len_m|}}}| | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{{#if: {{{o_len_m|}}} | {{#if: {{{o_len_m|}}} | ||
|(originally {{convert|{{{o_len_m|}}}|m|ftin|abbr=on|disp=or|sigfig=4}}) | |(originally {{convert|{{{o_len_m|}}}|m|ftin|abbr=on|disp=or|sigfig=4}}) | ||
| Line 77: | Line 58: | ||
|(originally {{convert|{{{o_len_ft|{{{o_len|}}}}}}|ft|{{{o_len_in|0}}}|in|m|abbr=on|disp=or|sigfig=4}}) | |(originally {{convert|{{{o_len_ft|{{{o_len|}}}}}}|ft|{{{o_len_in|0}}}|in|m|abbr=on|disp=or|sigfig=4}}) | ||
}} | }} | ||
| − | }} | + | }}{{#if: {{{len_note|}}}|<br>({{{len_note|}}})}} |
| − | {{#if: {{{len_note|}}}|<br>({{{len_note|}}})}} | ||
}} | }} | ||
| − | | | + | |
| − | {{#if: {{{beam_ft|{{{beam|}}}}}}{{{beam_m|}}} | + | | label14 = [[Beam (nautical)|Maximum boat beam]] |
| − | + | | data14 = {{#if: {{{beam_ft|{{{beam|}}}}}}{{{beam_m|}}} | |
| − | + | |{{#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|}}} | {{#if: {{{o_beam_m|}}} | ||
|(originally {{convert|{{{o_beam_m|}}}|m|ftin|abbr=on|disp=or|sigfig=3}}) | |(originally {{convert|{{{o_beam_m|}}}|m|ftin|abbr=on|disp=or|sigfig=3}}) | ||
| Line 92: | Line 72: | ||
|(originally {{convert|{{{o_beam_ft|{{{o_beam|}}}}}}|ft|{{{o_beam_in|0}}}|in|m|abbr=on|disp=or|sigfig=3}}) | |(originally {{convert|{{{o_beam_ft|{{{o_beam|}}}}}}|ft|{{{o_beam_in|0}}}|in|m|abbr=on|disp=or|sigfig=3}}) | ||
}} | }} | ||
| − | }} | + | }}{{#if: {{{beam_note|}}}|<br>({{{beam_note|}}})}} |
| − | {{#if: {{{beam_note|}}}|<br>({{{beam_note|}}})}} | ||
}} | }} | ||
| − | | | + | |
| − | {{#if: {{{start|}}}| | + | | label15 = Start point |
| − | + | | data15 = {{#if: {{{start|}}}|{{{start|}}} | |
| − | |||
{{#if: {{{o_start|}}}|(originally {{{o_start|}}})}} | {{#if: {{{o_start|}}}|(originally {{{o_start|}}})}} | ||
{{#if: {{{start_note|}}}|<br>({{{start_note|}}})}} | {{#if: {{{start_note|}}}|<br>({{{start_note|}}})}} | ||
}} | }} | ||
| − | | | + | |
| − | {{#if: {{{end|}}}| | + | | label16 = End point |
| − | + | | data16 = {{#if: {{{end|}}}|{{{end|}}} | |
| − | |||
{{#if: {{{o_end|}}}|(originally {{{o_end|}}})}} | {{#if: {{{o_end|}}}|(originally {{{o_end|}}})}} | ||
{{#if: {{{end_note|}}}|<br>({{{end_note|}}})}} | {{#if: {{{end_note|}}}|<br>({{{end_note|}}})}} | ||
}} | }} | ||
| − | + | ||
| − | + | | label17 = Branch(es) | |
| − | + | | data17 = {{{branch|}}} | |
| − | + | ||
| − | + | | label18 = Branch of | |
| − | + | | data18 = {{{branch_of|}}} | |
| − | + | ||
| − | + | | label19 = Connects to | |
| − | + | | data19 = {{{join|}}} | |
| − | + | ||
| − | + | | label20 = Locks | |
| − | + | | data20 = {{#if: {{{locks|}}}|{{{locks|}}} | |
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | {{#if: {{{locks|}}}| | ||
| − | |||
| − | |||
{{#if: {{{o_locks|}}}|(originally {{{o_locks|}}})}} | {{#if: {{{o_locks|}}}|(originally {{{o_locks|}}})}} | ||
{{#if: {{{lock_note|}}}|<br>({{{lock_note|}}})}} | {{#if: {{{lock_note|}}}|<br>({{{lock_note|}}})}} | ||
}} | }} | ||
| − | | | + | |
| − | {{#if: {{{length_mi|{{{length|}}}}}}{{{length_km|}}}| | + | | label21 = Length |
| − | + | | data21 = {{#if: {{{length_mi|{{{length|}}}}}}{{{length_km|}}} | |
| − | + | |{{#if:{{{length_km|}}} | |
| {{convert|{{{length_km|}}}|km|mi|abbr=in}} | | {{convert|{{{length_km|}}}|km|mi|abbr=in}} | ||
| {{convert|{{{length_mi|{{{length|}}}}}}|mi|km}} | | {{convert|{{{length_mi|{{{length|}}}}}}|mi|km}} | ||
| Line 143: | Line 113: | ||
|(originally {{convert|{{{o_length|{{{o_length_mi|}}}}}}|mi|km|abbr=on|disp=or}}) | |(originally {{convert|{{{o_length|{{{o_length_mi|}}}}}}|mi|km|abbr=on|disp=or}}) | ||
}} | }} | ||
| − | }} | + | }}{{#if: {{{length_note|}}}|<br>({{{length_note|}}})}} |
| − | {{#if: {{{length_note|}}}|<br>({{{length_note|}}})}} | ||
}} | }} | ||
| − | | | + | |
| − | {{#if: {{{elev_ft|{{{elev|}}}}}}{{{elev_m|}}}| | + | | label22 = Maximum height above sea level |
| − | + | | data22 = {{#if: {{{elev_ft|{{{elev|}}}}}}{{{elev_m|}}} | |
| − | + | |{{#if:{{{elev_m|}}} | |
| {{convert|{{{elev_m|}}}|m|ft|abbr=on}} | | {{convert|{{{elev_m|}}}|m|ft|abbr=on}} | ||
| {{convert|{{{elev_ft|{{{elev|}}}}}}|ft|m|abbr=on}} | | {{convert|{{{elev_ft|{{{elev|}}}}}}|ft|m|abbr=on}} | ||
| − | }} | + | }}{{#if: {{{elev_note|}}}|<br>({{{elev_note|}}})}} |
| − | {{#if: {{{elev_note|}}}|<br>({{{elev_note|}}}) | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
| − | |} | + | |
| + | | label23 = Status | ||
| + | | data23 = {{{status|}}} | ||
| + | |||
| + | | label24 = Navigation authority | ||
| + | | data24 = {{{nav|}}} | ||
| + | |||
| + | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
</noinclude> | </noinclude> | ||
Revision as of 16:37, 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. |