Jump to content

Template:Infobox cave and Template:Infobox cave/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
add name to OS grid ref
 
enlarge default image sizes, set line height=1.5
 
Line 1: Line 1:
{{Infobox
{{Infobox
|bodyclass = vcard
|bodyclass = vcard
|bodystyle = line-height:1.5em;
|child = {{if empty|{{{embed|}}}|{{{child|}}}}}
|child = {{if empty|{{{embed|}}}|{{{child|}}}}}


Line 10: Line 11:
|subheader = {{if empty|{{{other_name|}}}|{{{alt_name|}}}}}
|subheader = {{if empty|{{{other_name|}}}|{{{alt_name|}}}}}


|image1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{photo|}}}|size={{{photo_width|}}}|alt={{{photo_alt|}}}|upright={{{upright|1.15}}}}}
|image1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{photo|}}}|size={{{photo_width|}}}|alt={{{photo_alt|}}}|defaultsize=272px|maxsize=288px|upright={{{upright|}}}}}
|caption1 = {{if empty|{{{caption|}}}|{{{photo_caption|}}}}}
|caption1 = {{if empty|{{{caption|}}}|{{{photo_caption|}}}}}


Line 16: Line 17:
| border = infobox | float = center
| border = infobox | float = center
| width = {{if empty|{{{map_size|}}}|{{{mapsize|}}}|{{{map_width|}}} }}
| width = {{if empty|{{{map_size|}}}|{{{mapsize|}}}|{{{map_width|}}} }}
| default_width = 220
| default_width = 272
| max_width = 256
| max_width = 288
| relief = {{{relief|}}}
| relief = {{{relief|}}}
| label = {{if empty|{{{label|}}}|{{{name|}}} }}
| label = {{if empty|{{{label|}}}|{{{name|}}} }}
Line 26: Line 27:
| marksize = {{if empty|{{{mark_width|}}}|{{{mark_size|}}}}}
| marksize = {{if empty|{{{mark_width|}}}|{{{mark_size|}}}}}
| coordinates = {{if empty|{{{coordinates|}}}|{{{coords|}}}}} }}
| coordinates = {{if empty|{{{coordinates|}}}|{{{coords|}}}}} }}
| {{#invoke:InfoboxImage|InfoboxImage|image={{{map_image|{{{image_map|}}}}}}|size={{if empty|{{{map_size|}}}|{{{mapsize|}}}|{{{map_width|}}} }}|maxsize=256px|alt={{{map_alt|}}}}}
| {{#invoke:InfoboxImage|InfoboxImage|image={{{map_image|{{{image_map|}}}}}}|size={{if empty|{{{map_size|}}}|{{{mapsize|}}}|{{{map_width|}}} }}|defaultsize=272px|maxsize=288px|alt={{{map_alt|}}}}}
}}
}}
|caption2 = {{#if:{{{map|}}} || {{{map_caption|}}} }}
|caption2 = {{#if:{{{map|}}} || {{{map_caption|}}} }}
Line 37: Line 38:


|label2 = [[Ordnance Survey National Grid|OS grid]]
|label2 = [[Ordnance Survey National Grid|OS grid]]
|data2 = {{#if:{{{grid_ref_UK|}}}|{{gbm4ibx|{{{grid_ref_UK|}}}|name={{{name|}}} }}{{{grid_ref|}}}}}
|data2 = {{#if:{{{grid_ref_UK|}}}|{{gbm4ibx|{{{grid_ref_UK|}}}}}{{{grid_ref|}}}}}


|label3 = [[Irish grid reference system|OSI/OSNI grid]]
|label3 = [[Irish grid reference system|OSI/OSNI grid]]
|data3 = {{#if:{{{grid_ref_Ireland|}}}|{{iem4ibx|{{{grid_ref_Ireland|}}}|name={{{name|}}} }}{{{grid_ref|}}}}}
|data3 = {{#if:{{{grid_ref_Ireland|}}}|{{iem4ibx|{{{grid_ref_Ireland|}}}}}{{{grid_ref|}}}}}


|label4 = Coordinates
|label4 = Coordinates