Difference between pages "Template:Infobox cemetery" and "Template:Infobox cemetery/sandbox"

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>Jonesey95
(Change span class=xxx to div to fix Linter div-span-flip error.)
 
imported>Frietjes
 
Line 3: Line 3:
 
| titleclass = fn org
 
| titleclass = fn org
 
| title      = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
 
| title      = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
| subheader  = {{#if:{{{native_name|}}}|<div class="nickname" {{#if:{{{native_name_lang|}}}| lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>}}
+
| subheader  = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}| lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}
 
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imagesize|}}}}}}|sizedefault=frameless|alt={{{alt|}}}}}
 
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imagesize|}}}}}}|sizedefault=frameless|alt={{{alt|}}}}}
 
| caption    = {{{caption|}}}
 
| caption    = {{{caption|}}}
 
| image2    = {{#if:{{{map_type|}}}|{{Location map|{{{map_type}}}
 
| image2    = {{#if:{{{map_type|}}}|{{Location map|{{{map_type}}}
 
  |coordinates = {{{coordinates|}}}
 
  |coordinates = {{{coordinates|}}}
  |width={{{map_size|220}}}|float=center|border=infobox|caption={{{map_caption|Shown within {{#invoke:Location map|data|{{{map_type}}}|name}}}}} }}
+
  |width={{{map_size|220}}}|float=center|border=none|caption= }}{{{map_caption|Shown within {{#invoke:Location map|data|{{{map_type}}}|name}}}}} }}
}}
 
  
 
| header1    = {{#if:{{{established|}}}{{{country|}}}{{{location|}}}{{{coordinates|}}}{{{type|}}}{{{owner|}}}{{{size||}}}{{{size_km2|}}}{{{size_sqmi|}}}{{{size_ha|}}}{{{size_acre|}}}{{{graves|}}}{{{website|}}}{{{findagraveid|}}}{{{findagrave1|}}}{{{politicalgeo|}}}|Details}}
 
| header1    = {{#if:{{{established|}}}{{{country|}}}{{{location|}}}{{{coordinates|}}}{{{type|}}}{{{owner|}}}{{{size||}}}{{{size_km2|}}}{{{size_sqmi|}}}{{{size_ha|}}}{{{size_acre|}}}{{{graves|}}}{{{website|}}}{{{findagraveid|}}}{{{findagrave1|}}}{{{politicalgeo|}}}|Details}}
Line 21: Line 20:
 
| label4    = Location
 
| label4    = Location
 
| class4    = adr
 
| class4    = adr
| data4      = {{#if:{{{location|}}}|<div class="locality">{{{location}}}</div>}}
+
| data4      = {{#if:{{{location|}}}|<span class="locality">{{{location}}}</span>}}
  
 
| label5    = Country
 
| label5    = Country
Line 41: Line 40:
 
| data10    = {{#if:{{{size|}}}{{{size_km2|}}}{{{size_sqmi|}}}{{{size_ha|}}}{{{size_acre|}}}|{{convinfobox|{{{size_km2|}}}|km2|{{{size_sqmi|}}}|sqmi}}{{convinfobox|{{{size_ha|}}}|ha|{{{size_acre|}}}|acre}}{{{size|}}}}}
 
| data10    = {{#if:{{{size|}}}{{{size_km2|}}}{{{size_sqmi|}}}{{{size_ha|}}}{{{size_acre|}}}|{{convinfobox|{{{size_km2|}}}|km2|{{{size_sqmi|}}}|sqmi}}{{convinfobox|{{{size_ha|}}}|ha|{{{size_acre|}}}|acre}}{{{size|}}}}}
  
| label11    = {{abbr|No.|Number}} of graves
+
| label11    = Number of graves
 
| data11    = {{{graves|}}}
 
| data11    = {{{graves|}}}
  
| label12    = {{abbr|No.|Number}} of interments
+
| label12    = Number of interments
 
| data12    = {{{interments|}}}
 
| data12    = {{{interments|}}}
  
| label13    = {{abbr|No.|Number}} of cremations
+
| label13    = Number of cremations
 
| data13    = {{{cremations|}}}
 
| data13    = {{{cremations|}}}
  
Line 57: Line 56:
  
 
| label17    = [[Find a Grave]]
 
| label17    = [[Find a Grave]]
| data17    = {{#if:{{{findagraveid|}}}|[https://www.findagrave.com/cemetery/{{{findagraveid|}}} {{#invoke:String|replace|{{{name|{{PAGENAMEBASE}}}}}|%s+%b()$||1|false}}]|{{comma separated entries
+
| data17    = {{#if:{{{findagraveid|}}}|[http://www.findagrave.com/cgi-bin/fg.cgi?page=cr&CRid={{{findagraveid|}}} {{#invoke:String|replace|{{{name|{{PAGENAMEBASE}}}}}|%s+%b()$||1|false}}]|{{comma separated entries
  |1={{#if:{{{findagrave1|}}}|[https://www.findagrave.com/cemetery/{{{findagrave1}}} {{{findagrave1_label|}}}]}}
+
  |1={{#if:{{{findagrave1|}}}|[http://www.findagrave.com/cgi-bin/fg.cgi?page=cr&CRid={{{findagrave1}}} {{{findagrave1_label|}}}]}}
  |2={{#if:{{{findagrave2|}}}|[https://www.findagrave.com/cemetery/{{{findagrave2}}} {{{findagrave2_label|}}}]}}
+
  |2={{#if:{{{findagrave2|}}}|[http://www.findagrave.com/cgi-bin/fg.cgi?page=cr&CRid={{{findagrave2}}} {{{findagrave2_label|}}}]}}
  |3={{#if:{{{findagrave3|}}}|[https://www.findagrave.com/cemetery/{{{findagrave3}}} {{{findagrave3_label|}}}]}}
+
  |3={{#if:{{{findagrave3|}}}|[http://www.findagrave.com/cgi-bin/fg.cgi?page=cr&CRid={{{findagrave3}}} {{{findagrave3_label|}}}]}}
  |4={{#if:{{{findagrave4|}}}|[https://www.findagrave.com/cemetery/{{{findagrave4}}} {{{findagrave4_label|}}}]}}
+
  |4={{#if:{{{findagrave4|}}}|[http://www.findagrave.com/cgi-bin/fg.cgi?page=cr&CRid={{{findagrave4}}} {{{findagrave4_label|}}}]}}
  |5={{#if:{{{findagrave5|}}}|[https://www.findagrave.com/cemetery/{{{findagrave5}}} {{{findagrave5_label|}}}]}}
+
  |5={{#if:{{{findagrave5|}}}|[http://www.findagrave.com/cgi-bin/fg.cgi?page=cr&CRid={{{findagrave5}}} {{{findagrave5_label|}}}]}}
 
  }}}}{{{findagrave|}}}
 
  }}}}{{{findagrave|}}}