Difference between revisions of "Template:Faction Xenotype Chance"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 47: | Line 47: | ||
}} | }} | ||
| civil outlander union | | civil outlander union | ||
− | | rough outlander union | + | | rough outlander union = {{#switch: {{lc:{{{2|}}}}} |
− | | rough pig union | + | | dirtmole = 0.05 |
+ | | genie = 0.025 | ||
+ | | highmate = 0 | ||
+ | | hussar = 0.05 | ||
+ | | impid = 0 | ||
+ | | neanderthal = 0.025 | ||
+ | | pigskin = 0 | ||
+ | | sanguophage = 0 | ||
+ | | waster = 0 | ||
+ | | yttakin = 0 | ||
+ | | baseliner = {{#expr: 1 - (0.05 + 0.025 + 0.05 + 0.025)}} | ||
+ | | #default = {{Error|Undefined Xenotype. See [[Template:Faction Xenotype Chance|Documentation]] for valid options.}} | ||
+ | }} | ||
+ | | rough pig union = {{#switch: {{lc:{{{2|}}}}} | ||
+ | | dirtmole = 0 | ||
+ | | genie = 0 | ||
+ | | highmate = 0 | ||
+ | | hussar = 0 | ||
+ | | impid = 0 | ||
+ | | neanderthal = 0 | ||
+ | | pigskin = 1 | ||
+ | | sanguophage = 0 | ||
+ | | waster = 0 | ||
+ | | yttakin = 0 | ||
+ | | baseliner = {{#expr: 1 - 1}} | ||
+ | | #default = {{Error|Undefined Xenotype. See [[Template:Faction Xenotype Chance|Documentation]] for valid options.}} | ||
+ | }} | ||
| pirates | | pirates | ||
− | | cannibal pirate gang | + | | pirate gang |
− | | yttakin pirates | + | | cannibal pirate gang = {{#switch: {{lc:{{{2|}}}}} |
− | | waster pirates | + | | dirtmole = 0.1 |
+ | | genie = 0.025 | ||
+ | | highmate = 0 | ||
+ | | hussar = 0.05 | ||
+ | | impid = 0.025 | ||
+ | | neanderthal = 0.025 | ||
+ | | pigskin = 0.025 | ||
+ | | sanguophage = 0 | ||
+ | | waster = 0.025 | ||
+ | | yttakin = 0.025 | ||
+ | | baseliner = {{#expr: 1 - (0.1 + 0.025 + 0.05 + 0.025 + 0.025 + 0.025 + 0.025 + 0.025)}} | ||
+ | | #default = {{Error|Undefined Xenotype. See [[Template:Faction Xenotype Chance|Documentation]] for valid options.}} | ||
+ | }} | ||
+ | | yttakin pirates = {{#switch: {{lc:{{{2|}}}}} | ||
+ | | dirtmole = 0 | ||
+ | | genie = 0 | ||
+ | | highmate = 0 | ||
+ | | hussar = 0 | ||
+ | | impid = 0 | ||
+ | | neanderthal = 0 | ||
+ | | pigskin = 0 | ||
+ | | sanguophage = 0 | ||
+ | | waster = 0 | ||
+ | | yttakin = 1 | ||
+ | | baseliner = {{#expr: 1 - 1}} | ||
+ | | #default = {{Error|Undefined Xenotype. See [[Template:Faction Xenotype Chance|Documentation]] for valid options.}} | ||
+ | }} | ||
+ | | waster pirates = {{#switch: {{lc:{{{2|}}}}} | ||
+ | | dirtmole = 0.05 | ||
+ | | genie = 0.025 | ||
+ | | highmate = 0 | ||
+ | | hussar = 0.05 | ||
+ | | impid = 0.025 | ||
+ | | neanderthal = 0.05 | ||
+ | | pigskin = 0.025 | ||
+ | | sanguophage = 0 | ||
+ | | waster = 0.725 | ||
+ | | yttakin = 0.025 | ||
+ | | baseliner = {{#expr: 1 - (0.05 + 0.025 + 0.05 + 0.025 + 0.05 + 0.025 + 0.725 + 0.025)}} | ||
+ | | #default = {{Error|Undefined Xenotype. See [[Template:Faction Xenotype Chance|Documentation]] for valid options.}} | ||
+ | }} | ||
| empire | | empire | ||
− | | shattered empire | + | | shattered empire = {{#switch: {{lc:{{{2|}}}}} |
− | | #default = | + | | dirtmole = 0 |
+ | | genie = 0.10 | ||
+ | | highmate = 0 | ||
+ | | hussar = 0.15 | ||
+ | | impid = 0 | ||
+ | | neanderthal = 0.05 | ||
+ | | pigskin = 0 | ||
+ | | sanguophage = 0 | ||
+ | | waster = 0 | ||
+ | | yttakin = 0 | ||
+ | | baseliner = {{#expr: 1 - (0.10 + 0.15 + 0.05)}} | ||
+ | | #default = {{Error|Undefined Xenotype. See [[Template:Faction Xenotype Chance|Documentation]] for valid options.}} | ||
+ | }} | ||
+ | | beggars = {{#switch: {{lc:{{{2|}}}}} | ||
+ | | dirtmole = 0.05 | ||
+ | | genie = 0.05 | ||
+ | | highmate = 0.025 | ||
+ | | hussar = 0.05 | ||
+ | | impid = 0 | ||
+ | | neanderthal = 0.05 | ||
+ | | pigskin = 0.05 | ||
+ | | sanguophage = 0 | ||
+ | | waster = 0 | ||
+ | | yttakin = 0.05 | ||
+ | | baseliner = {{#expr: 1 - (0.05 + 0.05 + 0.025 + 0.05 + 0.05 + 0.05 + 0.05)}} | ||
+ | | #default = {{Error|Undefined Xenotype. See [[Template:Faction Xenotype Chance|Documentation]] for valid options.}} | ||
+ | }} | ||
+ | | pilgrims = {{#switch: {{lc:{{{2|}}}}} | ||
+ | | dirtmole = 0.05 | ||
+ | | genie = 0.05 | ||
+ | | highmate = 0.025 | ||
+ | | hussar = 0.05 | ||
+ | | impid = 0 | ||
+ | | neanderthal = 0.05 | ||
+ | | pigskin = 0.05 | ||
+ | | sanguophage = 0 | ||
+ | | waster = 0 | ||
+ | | yttakin = 0.05 | ||
+ | | baseliner = {{#expr: 1 - (0.05 + 0.05 + 0.025 + 0.05 + 0.05 + 0.05 + 0.05)}} | ||
+ | | #default = {{Error|Undefined Xenotype. See [[Template:Faction Xenotype Chance|Documentation]] for valid options.}} | ||
+ | }} | ||
+ | | outlander refugee group = {{#switch: {{lc:{{{2|}}}}} | ||
+ | | dirtmole = 0.05 | ||
+ | | genie = 0.05 | ||
+ | | highmate = 0.025 | ||
+ | | hussar = 0.05 | ||
+ | | impid = 0 | ||
+ | | neanderthal = 0.05 | ||
+ | | pigskin = 0.05 | ||
+ | | sanguophage = 0 | ||
+ | | waster = 0 | ||
+ | | yttakin = 0.05 | ||
+ | | baseliner = {{#expr: 1 - (0.05 + 0.05 + 0.025 + 0.05 + 0.05 + 0.05 + 0.05)}} | ||
+ | | #default = {{Error|Undefined Xenotype. See [[Template:Faction Xenotype Chance|Documentation]] for valid options.}} | ||
+ | }} | ||
+ | | #default = {{Error|Undefined Faction. See [[Template:Faction Xenotype Chance|Documentation]] for valid options.}} | ||
}}</includeonly><noinclude>{{Documentation}}</noinclude> | }}</includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 02:33, 13 February 2023
Takes the Faction and the Xenotype and returns the pre-ideoligion, pre-pawnkind chance for that xenotype to occur in that xenotype.
Unless/Until we make the faction subtypes have their own pages, this is the closest we can get to keeping a central location for the data and updating them all from one place.
See also:
- Template: Faction Xenotype Table which displays xenotype percentages of a faction
- Template: Xenotype Faction Table which displays percentages of a xenotype in various factions.
Variables[edit]
First variable is the faction in question, second variable is the xenotype.
Faction[edit]
The faction name. Case doesn't matter but it must be the specific name of the faction type.
Supported Factions |
Faction Type | Alternate |
---|---|---|
Gentle tribe | Tribes | - |
Fierce tribe | Tribes | - |
Savage tribe | Tribes | - |
Cannibal tribe | Tribes | - |
Nudist tribe | Tribes | - |
Fierce neanderthal tribe | Tribes | - |
Savage impid tribe | Tribes | - |
Civil outlander union | Outlanders | - |
Rough outlander union | Outlanders | - |
Rough pig union | Outlanders | - |
Pirate gang | Pirates | Pirates |
Cannibal pirate gang | Pirates | - |
Yttakin pirates | Pirates | - |
Waster pirates | Pirates | - |
Shattered empire | Empire | Empire |
Beggars | Minor faction | - |
Pilgrims | Minor faction | - |
Outlander refugee group | Minor faction | - |
Xenotype[edit]
The xenotype name. Case doesn't matter but it must be the specific name of the xenotype.
Supported Xenotypes |
---|
Dirtmole |
Genie |
Highmate |
Hussar |
Impid |
Neanderthal |
Pigskin |
Sanguophage |
Waster |
Yttakin |
Baseliner |
Examples[edit]
{{Faction Xenotype Chance|Savage tribe|Baseliner}}
Results in: 1
{{%|{{Faction Xenotype Chance|Shattered EMPIRE|GeNiE}} }}
Results in: 10%
Impids make up {{%|{{Faction Xenotype Chance|Waster pirates|Impid}} }} of the population of Waster pirates.
Results in: Impids make up 2.5% of the population of Waster pirates.
The above documentation is transcluded from Template:Faction Xenotype Chance/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |