Difference between revisions of "Template:FactionInfoBox"
(H:title -> tt) |
(testing with workaround template) |
||
Line 3: | Line 3: | ||
! colspan="2" | {{{Faction|{{PAGENAME}}}}} | ! colspan="2" | {{{Faction|{{PAGENAME}}}}} | ||
|- | |- | ||
− | | colspan="2" | <center>'''Social Effects'''</center>{{ | + | | colspan="2" | <center>'''Social Effects'''</center>{{ifnotempty|{{{Economy|}}}{{{Interest|}}}{{{Commerce|}}}|{{!}}- |
− | + | {{!}}[[Economy]] {{!}}{{!}} {{{Economy|0}}} {{#if: {{{Interest|}}}|({{tt|Per turn bonus as a percentage of current reserves|Energy interest}} {{{Interest|0%}}})}} {{#if: {{{Commerce|}}}|([[Commerce]] bonus {{{Commerce|0}}})}}|}} | |
− | {{!}} [[Economy]] {{!}}{{!}} {{{Economy|0}}} {{#if: {{{Interest|}}}|({{tt|Per turn bonus as a percentage of current reserves|Energy interest}} {{{Interest|0%}}})}} {{#if: {{{Commerce|}}}|([[Commerce]] bonus {{{Commerce|0}}})}}|}}{{ | + | }}{{ifnotempty|{{{Efficiency|}}}|{{!}}- |
− | + | {{!}} [[Efficiency]] {{!}}{{!}} {{{Efficiency|0}}}| | |
− | {{!}} [[Efficiency]] {{!}}{{!}} {{{Efficiency|0}}}|}}{{ | + | }}{{ifnotempty|{{{Support|}}}|{{!}}- |
− | + | {{!}} [[Support]] {{!}}{{!}} {{{Support|0}}}| | |
− | {{!}} [[Support]] {{!}}{{!}} {{{Support|0}}}|}}{{ | + | }}{{ifnotempty|{{{Talent|}}}|{{!}}- |
− | + | {{!}} [[Talent]] {{!}}{{!}} {{{Talent|0}}}| | |
− | {{!}} [[Talent]] {{!}}{{!}} {{{Talent|0}}}|}}{{ | + | }}{{ifnotempty|{{{Morale|}}}{{{MoraleModifier|}}}|{{!}}- |
− | + | {{!}} [[Morale]] {{!}}{{!}} {{{Morale|0}}} {{ifnotempty|{{{MoraleModifier|}}}|({{tt|Morale modifier on unit creation|Morale modifier}} {{{MoraleModifier|0}}})}}|}}{{#if: {{{Police|}}}|{{!}}- | |
− | {{!}} [[Morale]] {{!}}{{!}} {{{Morale|0}}} {{ | + | {{!}} [[Police]] {{!}}{{!}} {{{Police|0}}}| |
− | + | }}{{ifnotempty|{{{Growth|}}}|{{!}}- | |
− | {{!}} [[Police]] {{!}}{{!}} {{{Police|0}}}|}}{{ | + | {{!}} [[Growth]] {{!}}{{!}} {{{Growth|0}}}| |
− | + | }}{{ifnotempty|{{{Planet|}}}|{{!}}- | |
− | {{!}} [[Growth]] {{!}}{{!}} {{{Growth|0}}}|}}{{ | + | {{!}} [[Planet]] {{!}}{{!}} {{{Planet|0}}}| |
− | + | }}{{ifnotempty|{{{Probe|}}}{{{ProbeCost|}}}|{{!}}- | |
− | {{!}} [[Planet]] {{!}}{{!}} {{{Planet|0}}}|}}{{ | + | {{!}} [[Probe]] {{!}}{{!}} {{{Probe|0}}} {{ifnotempty|{{{ProbeCost|}}}|(Probe Cost {{{Probe Cost|100%}}})}}|}}{{#if: {{{Industry|}}}|{{!}}- |
− | + | {{!}} [[Industry]] {{!}}{{!}} {{{Industry|0}}}| | |
− | {{!}} [[Probe]] {{!}}{{!}} {{{Probe|0}}} {{ | + | }}{{ifnotempty|{{{Research|}}}{{{TechCost|}}}{{{ResearchBonus|}}}|{{!}}- |
− | + | {{!}} [[Research]] {{!}}{{!}} {{{Research|0}}} {{ifnotempty|{{{TechCost|}}}|(Tech Cost {{{Tech Cost|100%}}})}} {{#if: {{{{{{ResearchBonus|}}}|}}}|({{tt|Extra research points generated per base per turn|Research Bonus}} {{{{{{ResearchBonus|}}}|0}}})}}| | |
− | {{!}} [[Industry]] {{!}}{{!}} {{{Industry|0}}}|}}{{ | + | }}{{ifnotempty|{{{Immunity|}}}|{{!}}- |
− | + | {{!}} {{tt|Brings negative rating to zero|Immunity}} {{!}}{{!}} {{{Immunity|None}}}| | |
− | {{!}} [[Research]] {{!}}{{!}} {{{Research|0}}} {{ | + | }}{{ifnotempty|{{{Robust|}}}|{{!}}- |
− | + | {{!}} {{tt|Halves negative rating|Robust}} {{!}}{{!}} {{{Robust|None}}}| | |
− | {{!}} {{tt|Brings negative rating to zero|Immunity}} {{!}}{{!}} {{{Immunity|None}}}|}}{{ | + | }}{{ifnotempty|{{{Offense|}}}{{{Defense|}}}{{{Psi|}}}|{{!}}- |
− | + | {{!}} colspan="2" {{!}} <center>'''Combat'''</center>{{ifnotempty|{{{Offense|}}}|{{!}}- | |
− | {{!}} {{tt|Halves negative rating|Robust}} {{!}}{{!}} {{{Robust|None}}}|}}{{ | + | {{!}} [[Offense]] {{!}}{{!}} {{{Offense|100%}}}| |
− | + | }}{{ifnotempty|{{{Defense|}}}|{{!}}- | |
− | {{!}} colspan="2" {{!}} <center>'''Combat'''</center>{{ | + | {{!}} [[Defense]] {{!}}{{!}} {{{Defense|100%}}}| |
− | + | }}{{ifnotempty|{{{Psi|}}}|{{!}}- | |
− | {{!}} [[Offense]] {{!}}{{!}} {{{Offense|100%}}}|}}{{ | + | |
− | + | ||
− | {{!}} [[Defense]] {{!}}{{!}} {{{Defense|100%}}}|}}{{ | + | |
− | + | ||
{{!}} [[Psi Combat]] {{!}}{{!}} {{{Psi|100%}}}|}}|}} | {{!}} [[Psi Combat]] {{!}}{{!}} {{{Psi|100%}}}|}}|}} | ||
|- | |- | ||
Line 43: | Line 39: | ||
| {{tt|Social choice that faction may not take|Anti-Ideology}} || {{{AntiIdeology|None}}} | | {{tt|Social choice that faction may not take|Anti-Ideology}} || {{{AntiIdeology|None}}} | ||
|- | |- | ||
− | | {{tt|Preferred social choice|Ideology}} || {{{Ideology|None}}}{{ | + | | {{tt|Preferred social choice|Ideology}} || {{{Ideology|None} |
− | + | }}{{ifnotempty|{{{Impunity|}}}|{{!}}- | |
{{!}} {{tt|Social choice that may be made without the normally associated penalty|Impunity}} {{!}}{{!}} [[{{{Impunity|None}}}]]}}{{#if:{{{Impunity2|}}}|, [[{{{Impunity2|}}}]]}}{{#if:{{{Impunity3|}}}|, [[{{{Impunity3|}}}]]}} | {{!}} {{tt|Social choice that may be made without the normally associated penalty|Impunity}} {{!}}{{!}} [[{{{Impunity|None}}}]]}}{{#if:{{{Impunity2|}}}|, [[{{{Impunity2|}}}]]}}{{#if:{{{Impunity3|}}}|, [[{{{Impunity3|}}}]]}} | ||
|- | |- | ||
− | | colspan="2" | <center>'''Bonuses'''</center>{{ | + | | colspan="2" | <center>'''Bonuses'''</center>{{ifnotempty|{{{BonusTechs|}}}|{{!}}- |
− | + | {{!}} [[BonusTechs]] {{!}}{{!}} {{{BonusTechs|0}}}| | |
− | {{!}} [[BonusTechs]] {{!}}{{!}} {{{BonusTechs|0}}}|}}{{ | + | }}{{ifnotempty|{{{StartingEnergy|}}}|{{!}}- |
− | + | {{!}} [[Starting Energy]] {{!}}{{!}} {{{StartingEnergy|50}}}| | |
− | {{!}} [[Starting Energy]] {{!}}{{!}} {{{StartingEnergy|50}}}|}}{{ | + | }}{{ifnotempty|{{{FreeTech|}}}|{{!}}- |
− | + | {{!}} Free Tech {{!}}{{!}} [[{{{FreeTech|}}}]]{{#if:{{{FreeTech2|}}}|, [[{{{FreeTech2|}}}]]}}{{#if:{{{FreeTech3|}}}|, [[{{{FreeTech3|}}}]]}}{{#if:{{{FreeTech4|}}}|, [[{{{FreeTech4|}}}]]}}{{#if:{{{FreeTech5|}}}|, [[{{{FreeTech5|}}}]]}}{{#if:{{{FreeTech6|}}}|, [[{{{FreeTech6|}}}]]}}{{#if:{{{FreeTech7|}}}|, [[{{{FreeTech7|}}}]]}}{{#if:{{{FreeTech8|}}}|, [[{{{FreeTech8|}}}]]}} | |
− | {{!}} Free Tech {{!}}{{!}} [[{{{FreeTech|}}}]]{{#if:{{{FreeTech2|}}}|, [[{{{FreeTech2|}}}]]}}{{#if:{{{FreeTech3|}}}|, [[{{{FreeTech3|}}}]]}}{{#if:{{{FreeTech4|}}}|, [[{{{FreeTech4|}}}]]}}{{#if:{{{FreeTech5|}}}|, [[{{{FreeTech5|}}}]]}}{{#if:{{{FreeTech6|}}}|, [[{{{FreeTech6|}}}]]}}{{#if:{{{FreeTech7|}}}|, [[{{{FreeTech7|}}}]]}}{{#if:{{{FreeTech8|}}}|, [[{{{FreeTech8|}}}]]}}}}{{ | + | }}{{ifnotempty|{{{FreeFacility|}}}|{{!}}- |
− | + | {{!}} Free Facility {{!}}{{!}} [[{{{FreeFacility}}}]]{{#if:{{{FreeFacility2|}}}|, [[{{{FreeFacility2|}}}]]}}{{#if:{{{FreeFacility3|}}}|, [[{{{FreeFacility3|}}}]]}}{{#if:{{{FreeFacility4|}}}|, [[{{{FreeFacility4|}}}]]}}{{#if:{{{FreeFacility5|}}}|, [[{{{FreeFacility5|}}}]]}}{{#if:{{{FreeFacility6|}}}|, [[{{{FreeFacility6|}}}]]}}{{#if:{{{FreeFacility7|}}}|, [[{{{FreeFacility7|}}}]]}}{{#if:{{{FreeFacility8|}}}|, [[{{{FreeFacility8|}}}]]}} | |
− | {{!}} Free Facility {{!}}{{!}} [[{{{FreeFacility}}}]]{{#if:{{{FreeFacility2|}}}|, [[{{{FreeFacility2|}}}]]}}{{#if:{{{FreeFacility3|}}}|, [[{{{FreeFacility3|}}}]]}}{{#if:{{{FreeFacility4|}}}|, [[{{{FreeFacility4|}}}]]}}{{#if:{{{FreeFacility5|}}}|, [[{{{FreeFacility5|}}}]]}}{{#if:{{{FreeFacility6|}}}|, [[{{{FreeFacility6|}}}]]}}{{#if:{{{FreeFacility7|}}}|, [[{{{FreeFacility7|}}}]]}}{{#if:{{{FreeFacility8|}}}|, [[{{{FreeFacility8|}}}]]}}}}{{ | + | }}{{ifnotempty|{{{PreqFreeFacility|}}}|{{!}}- |
− | + | {{!}} Free Facility (Preq required) {{!}}{{!}} [[{{{PreqFreeFacility}}}]]{{#if:{{{PreqFreeFacility2|}}}|, [[{{{PreqFreeFacility2|}}}]]}}{{#if:{{{PreqFreeFacility3|}}}|, [[{{{PreqFreeFacility3|}}}]]}}{{#if:{{{PreqFreeFacility4|}}}|, [[{{{PreqFreeFacility4|}}}]]}}{{#if:{{{PreqFreeFacility5|}}}|, [[{{{PreqFreeFacility5|}}}]]}}{{#if:{{{PreqFreeFacility6|}}}|, [[{{{PreqFreeFacility6|}}}]]}}{{#if:{{{PreqFreeFacility7|}}}|, [[{{{PreqFreeFacility7|}}}]]}}{{#if:{{{PreqFreeFacility8|}}}|, [[{{{PreqFreeFacility8|}}}]]}} | |
− | {{!}} Free Facility (Preq required) {{!}}{{!}} [[{{{PreqFreeFacility}}}]]{{#if:{{{PreqFreeFacility2|}}}|, [[{{{PreqFreeFacility2|}}}]]}}{{#if:{{{PreqFreeFacility3|}}}|, [[{{{PreqFreeFacility3|}}}]]}}{{#if:{{{PreqFreeFacility4|}}}|, [[{{{PreqFreeFacility4|}}}]]}}{{#if:{{{PreqFreeFacility5|}}}|, [[{{{PreqFreeFacility5|}}}]]}}{{#if:{{{PreqFreeFacility6|}}}|, [[{{{PreqFreeFacility6|}}}]]}}{{#if:{{{PreqFreeFacility7|}}}|, [[{{{PreqFreeFacility7|}}}]]}}{{#if:{{{PreqFreeFacility8|}}}|, [[{{{PreqFreeFacility8|}}}]]}}}}{{ | + | }}{{ifnotempty|{{{FreeUnit|}}}|{{!}}- |
− | + | {{!}} Free Unit {{!}}{{!}} [[{{{FreeUnit|}}}]]{{#if:{{{FreeUnit2|}}}|, [[{{{FreeUnit2|}}}]]}}{{#if:{{{FreeUnit3|}}}|, [[{{{FreeUnit3|}}}]]}}{{#if:{{{FreeUnit4|}}}|, [[{{{FreeUnit4|}}}]]}}{{#if:{{{FreeUnit5|}}}|, [[{{{FreeUnit5|}}}]]}}{{#if:{{{FreeUnit6|}}}|, [[{{{FreeUnit6|}}}]]}}{{#if:{{{FreeUnit7|}}}|, [[{{{FreeUnit7|}}}]]}}{{#if:{{{FreeUnit8|}}}|, [[{{{FreeUnit8|}}}]]}} | |
− | {{!}} Free Unit {{!}}{{!}} [[{{{FreeUnit|}}}]]{{#if:{{{FreeUnit2|}}}|, [[{{{FreeUnit2|}}}]]}}{{#if:{{{FreeUnit3|}}}|, [[{{{FreeUnit3|}}}]]}}{{#if:{{{FreeUnit4|}}}|, [[{{{FreeUnit4|}}}]]}}{{#if:{{{FreeUnit5|}}}|, [[{{{FreeUnit5|}}}]]}}{{#if:{{{FreeUnit6|}}}|, [[{{{FreeUnit6|}}}]]}}{{#if:{{{FreeUnit7|}}}|, [[{{{FreeUnit7|}}}]]}}{{#if:{{{FreeUnit8|}}}|, [[{{{FreeUnit8|}}}]]}}}}{{ | + | }}{{ifnotempty|{{{FreeAbility|}}}|{{!}}- |
− | + | {{!}} Free Ability (Preq required) {{!}}{{!}} [[{{{FreeAbility}}}]]{{#if:{{{FreeAbility2|}}}|, [[{{{FreeAbility2|}}}]]}}{{#if:{{{FreeAbility3|}}}|, [[{{{FreeAbility3|}}}]]}}{{#if:{{{FreeAbility4|}}}|, [[{{{FreeAbility4|}}}]]}}{{#if:{{{FreeAbility5|}}}|, [[{{{FreeAbility5|}}}]]}}{{#if:{{{FreeAbility6|}}}|, [[{{{FreeAbility6|}}}]]}}{{#if:{{{FreeAbility7|}}}|, [[{{{FreeAbility7|}}}]]}}{{#if:{{{FreeAbility8|}}}|, [[{{{FreeAbility8|}}}]]}} | |
− | {{!}} Free Ability (Preq required) {{!}}{{!}} [[{{{FreeAbility}}}]]{{#if:{{{FreeAbility2|}}}|, [[{{{FreeAbility2|}}}]]}}{{#if:{{{FreeAbility3|}}}|, [[{{{FreeAbility3|}}}]]}}{{#if:{{{FreeAbility4|}}}|, [[{{{FreeAbility4|}}}]]}}{{#if:{{{FreeAbility5|}}}|, [[{{{FreeAbility5|}}}]]}}{{#if:{{{FreeAbility6|}}}|, [[{{{FreeAbility6|}}}]]}}{{#if:{{{FreeAbility7|}}}|, [[{{{FreeAbility7|}}}]]}}{{#if:{{{FreeAbility8|}}}|, [[{{{FreeAbility8|}}}]]}}}}{{ | + | }}{{ifnotempty|{{{FungNutrients|}}}{{{FungMinerals|}}}{{{FungEnergy|}}}|{{!}}- |
− | + | {{!}} [[Fungus]] {{!}}{{!}} {{#if: {{{FungNutrients|}}}|{{{FungNutrients|0}}} Nutrient|}} {{#if: {{{FungMinerals|}}}|{{{FungMinerals|0}}} Mineral|}} {{#if: {{{FungEnergy|}}}|{{{FungEnergy|0}}} Energy|}} | |
− | {{!}} [[Fungus]] {{!}}{{!}} {{#if: {{{FungNutrients|}}}|{{{FungNutrients|0}}} Nutrient|}} {{#if: {{{FungMinerals|}}}|{{{FungMinerals|0}}} Mineral|}} {{#if: {{{FungEnergy|}}}|{{{FungEnergy|0}}} Energy|}}}}{{ | + | }}{{ifnotempty|{{{Votes|}}}|{{!}}- |
− | + | {{!}} [[Council]] Votes {{!}}{{!}} ×{{{Votes|1}}}| | |
− | {{!}} [[Council]] Votes {{!}}{{!}} ×{{{Votes|1}}}|}}{{ | + | }}{{ifnotempty|{{{NoDrone|}}}|{{!}}- |
− | + | {{!}} [[Drone]] reduction {{!}}{{!}} {{{NoDrone|1}}}| | |
− | {{!}} [[Drone]] reduction {{!}}{{!}} {{{NoDrone|1}}}|}}{{ | + | }}{{ifnotempty|{{{Revolt|}}}|{{!}}- |
− | + | {{!}} [[Revolt]] {{!}}{{!}} {{{Revolt|10%}}}| | |
− | {{!}} [[Revolt]] {{!}}{{!}} {{{Revolt|10%}}}|}}{{ | + | }}{{ifnotempty|{{{Hurry|}}}|{{!}}- |
− | + | {{!}} [[Hurry]] {{!}}{{!}} {{{Hurry|100%}}}| | |
− | {{!}} [[Hurry]] {{!}}{{!}} {{{Hurry|100%}}}|}}{{ | + | }}{{ifnotempty|{{{ShareTech|}}}|{{!}}- |
− | + | {{!}} [[ShareTech]] {{#if: {{{Infiltrator|}}} |(with infiltrator)}} {{!}}{{!}} {{{ShareTech|0}}}| | |
− | {{!}} [[ShareTech]] {{#if: {{{Infiltrator|}}} |(with infiltrator)}} {{!}}{{!}} {{{ShareTech|0}}}|}}{{ | + | }}{{ifnotempty|{{{PopulationBonus|}}}|{{!}}- |
− | + | {{!}} [[PopulationBonus]] {{!}}{{!}} {{{PopulationBonus|0}}}| | |
− | {{!}} [[PopulationBonus]] {{!}}{{!}} {{{PopulationBonus|0}}}|}}{{ | + | }}{{ifnotempty|{{{ExtraDrone|}}}|{{!}}- |
− | + | {{!}} colspan="2" {{!}} Extra [[Drone]] per {{{ExtraDrone|4}}} population| | |
− | {{!}} colspan="2" {{!}} Extra [[Drone]] per {{{ExtraDrone|4}}} population|}}{{ | + | }}{{ifnotempty|{{{ExtraTalent|}}}|{{!}}- |
− | + | {{!}} colspan="2" {{!}} Extra [[Talent]] per {{{ExtraTalent|4}}} population| | |
− | {{!}} colspan="2" {{!}} Extra [[Talent]] per {{{ExtraTalent|4}}} population|}}{{ | + | }}{{ifnotempty|{{{Terraform|}}}|{{!}}- |
− | + | {{!}} colspan="2" {{!}} Double [[Terraform]] rate| | |
− | {{!}} colspan="2" {{!}} Double [[Terraform]] rate|}}{{ | + | }}{{ifnotempty|{{{Comm|}}}|{{!}}- |
− | + | {{!}} colspan="2" {{!}} Bonus [[Commlink Frequency]]| | |
− | {{!}} colspan="2" {{!}} Bonus [[Commlink Frequency]]|}}{{ | + | }}{{ifnotempty|{{{MindControl|}}}|{{!}}- |
− | + | {{!}} colspan="2" {{!}} Immune to [[Mind Control]]| | |
− | {{!}} colspan="2" {{!}} Immune to [[Mind Control]]|}}{{ | + | }}{{ifnotempty|{{{Prototype|}}}|{{!}}- |
− | + | {{!}} colspan="2" {{!}} Free [[Prototypes]]| | |
− | {{!}} colspan="2" {{!}} Free [[Prototypes]]|}}{{ | + | }}{{ifnotempty|{{{Alien|}}}|{{!}}- |
− | + | {{!}} colspan="2" {{!}} [[Alien]] faction| | |
− | {{!}} colspan="2" {{!}} [[Alien]] faction|}}{{ | + | }}{{ifnotempty|{{{Aquatic|}}}|{{!}}- |
− | + | {{!}} colspan="2" {{!}} [[Aquatic]] faction| | |
− | {{!}} colspan="2" {{!}} [[Aquatic]] faction|}}{{ | + | }}{{ifnotempty|{{{Fanatic|}}}|{{!}}- |
− | + | {{!}} colspan="2" {{!}} 25% attack bonus| | |
− | {{!}} colspan="2" {{!}} 25% attack bonus|}}{{ | + | }}{{ifnotempty|{{{WormPolice|}}}|{{!}}- |
− | + | {{!}} colspan="2" {{!}} Double [[native life]] [[police]] effect| | |
− | {{!}} colspan="2" {{!}} Double [[native life]] [[police]] effect|}}{{ | + | }}{{ifnotempty|{{{StealTech|}}}|{{!}}- |
− | + | ||
{{!}} colspan="2" {{!}} Steals tech on base capture|}} | {{!}} colspan="2" {{!}} Steals tech on base capture|}} | ||
|- | |- |