====== Races ======

An overview of races.

===== Race Distribution =====

<table ?number@sum ?race@unique ?world@unique [ref]>
?p is a: population
?p Number: ?number
?p On [ref]: ?world
?p Race [ref]: ?race

group {
  ?race
}
ui {
  filter: none
  Race {
    filter: text
  }
  World{
    filter: select
  }
}
</table>

===== Racial Characteristics  =====

==== By count of races ====
<table ?rc [imagelink] "" ?rc [ref] "Characteristics" ?r@count [text] "Count" ?r [ref] "Races">
?rc is a: racialCharacteristic

?r is a: race
?r Racial Characteristics [rule]: ?rc

group {
  ?rc
}
ui {
  filter: none
  Races {
    filter: select
  }
}
</table>

==== By population mass ====
<table ?rc [imagelink] "" ?rc [ref] "Characteristics" ?pn@sum "Number" ?r@unique [ref] "Races">
?rc is a: racialCharacteristic

?r is a: race
?r Racial Characteristics [rule]: ?rc

?p is a: population
?p Number: ?pn
?p Race: ?r

group {
  ?rc
}
ui {
  filter: none
  Races {
    filter: select
  }
}
</table>

==== By population mass (PCs only) ====

<table ?rc [imagelink] "" ?rc [ref] "Characteristics" ?pn@sum "Number" ?r@count [dot] "Count" ?r@unique [ref] "Races">
?rc is a: racialCharacteristic

?r is a: race
?r Racial Characteristics [rule]: ?rc

?p is a: population
?p Number: ?pn
?p Race: ?r
?p On [ref]: ?world
?world Faction [ref]: ?faction
?faction Type [rule]: PC

group {
  ?rc
}
ui {
  filter: none
  Races {
    filter: select
  }
}
</table>