Difference between revisions of "Template:Infobox referendum/map"

From blackwiki
Jump to navigation Jump to search
imported>PanchoS
(present simple yes/no legend inline, in a single row)
imported>Frietjes
(per talk page)
 
Line 24: Line 24:
 
     {{legend|#550000|No 72.5–75%}}
 
     {{legend|#550000|No 72.5–75%}}
 
     {{legend|#2B0000|No >75%}}
 
     {{legend|#2B0000|No >75%}}
   | {{center|{{legend inline|{{{legend_yes|#24B14C}}}|{{{yes_text|Yes}}}}} {{legend inline|{{{legend_no|#DF0A24}}}|{{{no_text|No}}}}}}}
+
   | {{center|{{legend inline|{{{legend_yes|#24B14C}}}|{{{yes_text|Yes}}}}}   {{legend inline|{{{legend_no|#DF0A24}}}|{{{no_text|No}}}}}}}
 
   }}
 
   }}
 
  }}
 
  }}

Latest revision as of 16:02, 30 May 2017

Template documentation

This subtemplate of {{Infobox referendum}} is used to generate the referendum results map with legend. It should not be used directly.

Examples

{{Infobox referendum/map|map=Missing map.svg|map_header=Results by county}}
Results by county
Missing map.svg
  Yes     No
{{Infobox referendum/map|map=Missing map.svg|map_header=Results by county|detailed_legend=yes}}
Results by county
Missing map.svg
  Yes 60–62.5%
  Yes 57.5–60%
  Yes 55–57.5%
  Yes 52.5–55%
  Yes 50–52.5%
  No 50–52.5%
  No 52.5–55%
  No 55–57.5%
  No 57.5–60%
  No 60–62.5%
  No 62.5–65%
  No 65–67.5%
  No 67.5–70%
  No 70–72.5%
  No 72.5–75%
  No >75%
{{Infobox referendum/map|map=Missing map.svg|map_header=Results by county|legend_yes=red|legend_no=blue}}
Results by county
Missing map.svg
  Yes     No
{{Infobox referendum/map|map=Missing map.svg|map_header=Results by county|map_caption=caption}}
Results by county
Missing map.svg
Caption