Difference between pages "Template:Infobox Switzerland municipality" and "Template:Infobox Switzerland municipality/sandbox"

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>Frietjes
 
imported>Frietjes
 
Line 1: Line 1:
 
{{Infobox settlement
 
{{Infobox settlement
 
| name = {{{subject_name}}}
 
| name = {{{subject_name}}}
| settlement_type = {{#ifeq:{{{municipality_type|}}} | former | [[List of former municipalities of Switzerland|Former municipality]] of [[Switzerland]] | [[municipalities of Switzerland|Municipality]] in [[Switzerland]] }}
+
| settlement_type = {{#ifeq:{{{municipality_type|}}} | former | [[List of former municipalities of Switzerland|Former municipality]] of [[Switzerland]] | [[municipalities of Switzerland|Municipality]] of [[Switzerland]] }}
 
| image_skyline = {{#ifexpr:{{#time:n}}<5
 
| image_skyline = {{#ifexpr:{{#time:n}}<5
 
   |{{#if:{{{snow_image|}}}
 
   |{{#if:{{{snow_image|}}}
Line 93: Line 93:
  
 
| population_footnotes    = {{#if: <!-- wikidata pop as of 31.12.18 is set --> {{wikidata|property|raw|P1082|P585=2018-12-31}} | {{wikidata|reference|P1082|P585=2018-12-31}} | {{#if: <!-- a different wikidata pop is present --> {{wikidata|property|raw|P1082}} | {{wikidata|reference|P1082}} | <!-- no data from WD, use template paramenter --> }} }}
 
| population_footnotes    = {{#if: <!-- wikidata pop as of 31.12.18 is set --> {{wikidata|property|raw|P1082|P585=2018-12-31}} | {{wikidata|reference|P1082|P585=2018-12-31}} | {{#if: <!-- a different wikidata pop is present --> {{wikidata|property|raw|P1082}} | {{wikidata|reference|P1082}} | <!-- no data from WD, use template paramenter --> }} }}
| population_total        = {{#if: <!-- wikidata pop as of 31.12.18 is set --> {{wikidata|property|raw|P1082|P585=2018-12-31}} | {{wikidata|property|raw|P1082|P585=2018-12-31}} | {{#if: <!-- a different wikidata pop is present --> {{wikidata|property|raw|P1082}} | {{wikidata|property|raw|P1082}} | <!-- no data from WD, use template paramenter --> {{{population|}}} }} }}
+
| population_total        = {{#if:{{{population|}}} | {{{population|}}} | {{#if: <!-- wikidata pop as of 31.12.18 is set --> {{wikidata|property|raw|P1082|P585=2018-12-31}} | {{wikidata|property|raw|P1082|P585=2018-12-31}} | <!-- a different wikidata pop is present --> {{wikidata|property|raw|P1082}} }} }}
| population_as_of        = {{#if: <!-- wikidata pop as of 31.12.18 is set --> {{wikidata|property|raw|P1082|P585=2018-12-31}} | 2018-12-31 | {{#if: <!-- a different wikidata pop is present --> {{wikidata|property|raw|P1082}} | {{wikidata|qualifier|single|raw|P1082|P585}} | <!-- no data from WD, use template paramenter --> {{{populationof|}}} }} }}
+
| population_as_of        = {{#if:{{{population|}}} | {{{populationof|}}} | {{#if: <!-- wikidata pop as of 31.12.18 is set --> {{wikidata|property|raw|P1082|P585=2018-12-31}} | 2018-12-31 | {{#if: <!-- a different wikidata pop is present --> {{wikidata|property|raw|P1082}} | {{wikidata|qualifier|single|raw|P1082|P585}} }} }} }}
  
 
| population_density_km2  = auto
 
| population_density_km2  = auto