====== Industry ======

<table ?icon@unique "" ?type ?zone@count [dot::g5] ?production@sum ?cat@unique "Category" ?group@unique>
?zone is a: developed
?zone Type [rule]: ?type

optional {
  ?type Output [wiki]: ?icon
  ?type Category: ?cat
  ?type Group: ?group
}

optional {
  ?zone Production [wiki]: ?production
}

group {
  ?type
}

ui {
  Category {
    filter:select
  }
  
  Group {
    filter:select
  }
  
  Type {
    filter:text
  }
}
</table>

===== Industry per Faction =====
<table ?icon@unique "" ?faction ?type ?zone@count [dot::g5] ?production@sum ?cat@unique "Category" ?group@unique>
?zone is a: developed
?zone Type [rule]: ?type
?zone Faction [ref]: ?faction

optional {
  ?type Output [wiki]: ?icon
  ?type Category: ?cat
  ?type Group: ?group
}

optional {
  ?zone Production [wiki]: ?production
}

group {
  ?type
  ?faction
}

ui {
  Category {
    filter:select
  }
  
  Group {
    filter:select
  }
  
  Type {
    filter:text
  }
  
  Faction {
    filter:select
  }
}
</table>