Difference between revisions of "Template:Fibtest"

From Alpha Centauri Wiki
Jump to: navigation, search
m
m (Blanked the page)
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
<includeonly><table class="wikitable" style="float: right;max-width:15pc">
 
  <th colspan="2"><center>[[File:{{{Text|}}}_logo.png|caption={{{Faction|{{PAGENAME}}}}} logo]]<br />
 
{{{Faction|{{PAGENAME}}}}}</center></th>
 
  <tr>
 
      <td colspan="2"><center>Text: [[{{PAGENAME}}/{{{Text|unadded}}}.txt|{{{Text|unadded}}}.txt]]</center></td>
 
  </tr>
 
  <tr>
 
      <td colspan="2"><center>'''Social Effects'''</center></td>
 
  </tr>{{#if:{{{Economy|}}}{{{Interest|}}}{{{Commerce|}}}|{{#if:{{{Economy|}}}|[[Category:Factions with {{{Economy|}}} Economy]]}}{{#if:{{{Interest|}}}|[[Category:Factions with energy interest]]}}
 
  <tr>
 
      <td>[[Economy]]</td>
 
      <td>{{{Economy|0}}} {{#if:{{{Interest|}}}|({{tt|Per turn bonus as a percentage of current reserves|Interest}} {{{Interest|0%}}})}} {{#if:{{{Commerce|}}}|(+{{{Commerce|0}}} [[Commerce]])}}</td>
 
  </tr>}}{{#if:{{{Efficiency|}}} |[[Category:Factions with {{{Efficiency|}}} Efficiency]]
 
  <tr>
 
      <td>[[Efficiency]]</td>
 
      <td>{{{Efficiency|0}}}</td>
 
  </tr>}}{{#if:{{{Support|}}} |[[Category:Factions with {{{Support|}}} Support]]
 
  <tr>
 
      <td>[[Support]]</td>
 
      <td>{{{Support|0}}}</td>
 
  </tr>}}{{#if:{{{Talent|}}} |[[Category:Factions with {{{Talent|}}} Talent]]
 
  <tr>
 
      <td>[[Talent]]</td>
 
      <td>{{{Talent|0}}}</td>
 
  </tr>}}{{#if:{{{Morale|}}}{{{MoraleModifier|}}} |{{#if:{{{Morale|}}}|[[Category:Factions with {{{Morale|}}} Morale]]}}{{#if:{{{MoraleModifier|}}}|[[Category:Factions with {{{MoraleModifier|}}} Morale Modifier]]}}
 
  <tr>
 
      <td>[[Morale]]</td>
 
      <td>{{{Morale|0}}} {{#if:{{{MoraleModifier|}}}|({{tt|Morale modifier on unit creation|Morale modifier}} {{{MoraleModifier|0}}})}}</td>
 
  </tr>}}{{#if:{{{Police|}}} |[[Category:Factions with {{{Police|}}} Police]]
 
  <tr>
 
      <td>[[Police]]</td>
 
      <td>{{{Police|0}}}</td>
 
  </tr>}}{{#if:{{{Growth|}}} |[[Category:Factions with {{{Growth|}}} Growth]]
 
  <tr>
 
      <td>[[Growth]]</td>
 
      <td>{{{Growth|0}}}</td>
 
  </tr>}}{{#if:{{{Planet|}}} |[[Category:Factions with {{{Planet|}}} Planet]]
 
  <tr>
 
      <td>[[Planet]]</td>
 
      <td>{{{Planet|0}}}</td>
 
  </tr>}}{{#if:{{{Probe|}}}{{{ProbeCost|}}} |{{#if:{{{Probe|}}}|[[Category:Factions with {{{Probe|}}} Probe]]}}{{#if:{{{ProbeCost|}}}|[[Category:Factions with {{{ProbeCost|}}} ProbeCost]]}}
 
  <tr>
 
      <td>[[Probe]]</td>
 
      <td>{{{Probe|0}}} {{#if:{{{ProbeCost|}}}|(Probe Cost {{{Probe Cost|100%}}})}}</td>
 
  </tr>}}{{#if:{{{Industry|}}} |[[Category:Factions with {{{Industry|}}} Industry]]
 
  <tr>
 
      <td>[[Industry]]</td>
 
      <td>{{{Industry|0}}}</td>
 
  </tr>}}{{#if:{{{Research|}}}{{{TechCost|}}}{{{ResearchBonus|}}} |{{#if:{{{Research|}}}|[[Category:Factions with {{{Research|}}} Research]]}}{{#if:{{{TechCost|}}}|[[Category:Factions with {{{TechCost|}}} TechCost]]}}{{#if:{{{ResearchBonus|}}}|[[Category:Factions with {{{ResearchBonus|}}} ResearchBonus]]}}
 
  <tr>
 
      <td>[[Research]]</td>
 
      <td>{{{Research|0}}} {{#if:{{{TechCost|}}}|(Tech Cost {{{TechCost|100%}}})}} {{#if:{{{{{{ResearchBonus|}}}|}}}|({{tt|Extra research points generated per base per turn|Research Bonus}} {{{{{{ResearchBonus|}}}|0}}})}}</td>
 
  </tr>}}{{#if:{{{Immunity|}}} |[[Category:Factions with immunity to {{{Immunity|}}}]]
 
  <tr>
 
      <td>{{tt|Brings negative rating to zero|Immunity}}</td>
 
      <td>[[{{{Immunity|None}}}]]</td>
 
  </tr>}}{{#if:{{{Robust|}}} |[[Category:Factions with robust {{{Immunity|}}}]]
 
  <tr>
 
      <td>{{tt|Halves negative rating|Robust}}</td>
 
      <td>[[{{{Robust|None}}}]]</td>
 
  </tr>}}{{#if:{{{Offense|}}}{{{Defense|}}}{{{Psi|}}} |[[Category:Factions with combat bonuses]]
 
  <tr>
 
      <td colspan="2"><center>'''Combat'''</center></td>
 
  </tr>{{#if:{{{Offense|}}} |
 
  <tr>
 
      <td>[[Offense]]</td>
 
      <td>{{{Offense|100%}}}</td>
 
  </tr>}}{{#if:{{{Defense|}}} |
 
  <tr>
 
      <td>[[Defense]]</td>
 
      <td>{{{Defense|100%}}}</td>
 
  </tr>}}{{#if:{{{Psi|}}} |
 
  <tr>
 
      <td>[[Psi Combat]]</td>
 
      <td>{{{Psi|100%}}}</td>
 
  </tr>}}}}
 
  <tr>
 
      <td colspan="2"><center>'''Politics'''</center></td>
 
  </tr>
 
  <tr>
 
      <td>{{tt|Social choice that faction may not take|Anti-Ideology}}</td>
 
      <td>{{#if:{{{AntiIdeology|}}}|[[{{{AntiIdeology}}}]]|None}}</td>[[Category:Factions opposed to {{{AntiIdeology|nothing}}}]]
 
  </tr>
 
  <tr>
 
      <td>{{tt|Preferred social choice|Ideology}}</td>[[Category:Factions supporting {{{Ideology|nothing}}}]]
 
      <td>{{#if:{{{Ideology|}}}|[[{{{Ideology}}}]]|None}}</td>
 
  </tr>{{#if:{{{Impunity|}}}|[[Category:Factions with impunity to social engineering choice(s)]]
 
  <tr>
 
      <td>{{tt|Social choice that may be made without the normally associated penalty|Impunity}}</td>
 
      <td>[[{{{Impunity|None}}}]]{{#if:{{{Impunity2|}}}|, [[{{{Impunity2|}}}]]}}{{#if:{{{Impunity3|}}}|, [[{{{Impunity3|}}}]]}}</td>
 
  </tr>}}{{#if:{{{Penalty|}}}|[[Category:Factions with penalty to social engineering parameter(s)]]
 
  <tr>
 
      <td>{{tt|Negative values for social engineering parameter doubled|Penalty}}</td>
 
      <td>[[{{{Penalty|None}}}]]{{#if:{{{Penalty2|}}}|, [[{{{Penalty2|}}}]]}}{{#if:{{{Penalty3|}}}|, [[{{{Penalty3|}}}]]}}</td>
 
  </tr>}}
 
  <tr>
 
      <td colspan="2"><center>'''Bonuses'''</center></td>
 
  </tr>{{#if:{{{BonusTechs|}}} |[[Category:Factions with selectable starting technology]]
 
  <tr>
 
      <td>{{tt|Number of selectable tech advances at start of game|Starting [[tech]]s}}</td>
 
      <td>{{{BonusTechs|0}}}</td>
 
  </tr>}}{{#if:{{{StartingEnergy|}}} |
 
  <tr>
 
      <td>{{tt|Energy at start of game (default 10)|Starting [[Energy]]}}</td>
 
      <td>{{#expr:{{{StartingEnergy|0}}}+10}}</td>
 
  </tr>}}{{#if:{{{FreeTech|}}}|[[Category:Factions with starting technology]]
 
  <tr>
 
      <td>Starting [[tech]]</td>
 
      <td>[[{{tlong|{{{FreeTech|}}}}}]]{{#if:{{{FreeTech2|}}}|, [[{{tlong|{{{FreeTech2|}}}}}]]}}{{#if:{{{FreeTech3|}}}|, [[{{tlong|{{{FreeTech3|}}}}}]]}}{{#if:{{{FreeTech4|}}}|, [[{{tlong|{{{FreeTech4|}}}}}]]}}{{#if:{{{FreeTech5|}}}|, [[{{tlong|{{{FreeTech5|}}}}}]]}}{{#if:{{{FreeTech6|}}}|, [[{{tlong|{{{FreeTech6|}}}}}]]}}{{#if:{{{FreeTech7|}}}|, [[{{tlong|{{{FreeTech7|}}}}}]]}}{{#if:{{{FreeTech8|}}}|, [[{{tlong|{{{FreeTech8|}}}}}]]}}</td>
 
  </tr>}}{{#if:{{{FreeFacility|}}}|[[Category:Factions with free facility]]
 
  <tr>
 
      <td>{{tt|Facility automatically constructed at all bases and requires no upkeep|[[Facility]]}}</td>
 
      <td>[[{{{FreeFacility}}}]]{{#if:{{{FreeFacility2|}}}|, [[{{{FreeFacility2|}}}]]}}{{#if:{{{FreeFacility3|}}}|, [[{{{FreeFacility3|}}}]]}}{{#if:{{{FreeFacility4|}}}|, [[{{{FreeFacility4|}}}]]}}{{#if:{{{FreeFacility5|}}}|, [[{{{FreeFacility5|}}}]]}}{{#if:{{{FreeFacility6|}}}|, [[{{{FreeFacility6|}}}]]}}{{#if:{{{FreeFacility7|}}}|, [[{{{FreeFacility7|}}}]]}}{{#if:{{{FreeFacility8|}}}|, [[{{{FreeFacility8|}}}]]}}</td>
 
  </tr>}}{{#if:{{{PreqFreeFacility|}}}|[[Category:Factions with free facility (tech required)]]
 
  <tr>
 
      <td>{{tt|Facility automatically constructed at all bases one the required technology is discovered and requires no upkeep|Free [[Facility]]}}</td>
 
      <td>[[{{{PreqFreeFacility}}}]]{{#if:{{{PreqFreeFacility2|}}}|, [[{{{PreqFreeFacility2|}}}]]}}{{#if:{{{PreqFreeFacility3|}}}|, [[{{{PreqFreeFacility3|}}}]]}}{{#if:{{{PreqFreeFacility4|}}}|, [[{{{PreqFreeFacility4|}}}]]}}{{#if:{{{PreqFreeFacility5|}}}|, [[{{{PreqFreeFacility5|}}}]]}}{{#if:{{{PreqFreeFacility6|}}}|, [[{{{PreqFreeFacility6|}}}]]}}{{#if:{{{PreqFreeFacility7|}}}|, [[{{{PreqFreeFacility7|}}}]]}}{{#if:{{{PreqFreeFacility8|}}}|, [[{{{PreqFreeFacility8|}}}]]}}</td>
 
  </tr>}}{{#if:{{{FreeUnit|}}}|[[Category:Factions with free starting unit]]
 
  <tr>
 
      <td>Starting [[Unit]]</td>
 
      <td>[[{{{FreeUnit|}}}]]{{#if:{{{FreeUnit2|}}}|, [[{{{FreeUnit2|}}}]]}}{{#if:{{{FreeUnit3|}}}|, [[{{{FreeUnit3|}}}]]}}{{#if:{{{FreeUnit4|}}}|, [[{{{FreeUnit4|}}}]]}}{{#if:{{{FreeUnit5|}}}|, [[{{{FreeUnit5|}}}]]}}{{#if:{{{FreeUnit6|}}}|, [[{{{FreeUnit6|}}}]]}}{{#if:{{{FreeUnit7|}}}|, [[{{{FreeUnit7|}}}]]}}{{#if:{{{FreeUnit8|}}}|, [[{{{FreeUnit8|}}}]]}}</td>
 
  </tr>}}{{#if:{{{FreeAbility|}}}|[[Category:Factions with free abilities]]
 
  <tr>
 
      <td>{{tt|Ability applied to every compatible unit when required tech is discovered|Free [[Ability]]}}</td>
 
      <td>[[{{{FreeAbility}}}]]{{#if:{{{FreeAbility2|}}}|, [[{{{FreeAbility2|}}}]]}}{{#if:{{{FreeAbility3|}}}|, [[{{{FreeAbility3|}}}]]}}{{#if:{{{FreeAbility4|}}}|, [[{{{FreeAbility4|}}}]]}}{{#if:{{{FreeAbility5|}}}|, [[{{{FreeAbility5|}}}]]}}{{#if:{{{FreeAbility6|}}}|, [[{{{FreeAbility6|}}}]]}}{{#if:{{{FreeAbility7|}}}|, [[{{{FreeAbility7|}}}]]}}{{#if:{{{FreeAbility8|}}}|, [[{{{FreeAbility8|}}}]]}}</td>
 
  </tr>}}{{#if:{{{FungNutrients|}}}{{{FungMinerals|}}}{{{FungEnergy|}}} |[[Category:Factions with fungal resource bonuses]]
 
  <tr>
 
      <td>[[Fungus]]</td>
 
      <td>{{#if:{{{FungNutrients|}}}|+{{{FungNutrients|0}}} Nutrient|}} {{#if:{{{FungMinerals|}}}|+{{{FungMinerals|0}}} Mineral|}} {{#if:{{{FungEnergy|}}}|+{{{FungEnergy|0}}} Energy|}}</td>
 
  </tr>}}{{#if:{{{Votes|}}} |[[Category:Factions with ×{{{Votes|1}}} votes]]
 
  <tr>
 
      <td>{{tt|Multiplier for Planetary Governor and Supreme Leader elections.|[[Council]] votes}}</td>
 
      <td>×{{{Votes|1}}}</td>
 
  </tr>}}{{#if:{{{NoDrone|}}} |
 
  <tr>
 
      <td>[[Drone]] reduction</td>
 
      <td>{{{NoDrone|1}}}</td>
 
  </tr>}}{{#if:{{{Revolt|}}} |
 
  <tr>
 
      <td>[[Revolt]]</td>
 
      <td>{{{Revolt|10%}}}</td>
 
  </tr>}}{{#if:{{{Hurry|}}} |[[Category:Factions with {{{Hurry|}}} hurry cost]]
 
  <tr>
 
      <td>[[Hurry]] cost</td>
 
      <td>{{{Hurry|100%}}}</td>
 
  </tr>}}{{#if:{{{ShareTech|}}} |
 
  <tr>
 
      <td>[[ShareTech]] {{#if:{{{Infiltrator|}}} |(with infiltrator)}}</td>
 
      <td>{{{ShareTech|0}}}</td>
 
  </tr>}}{{#if:{{{PopulationBonus|}}} |[[Category:Factions with {{#ifexpr: {{{PopulationBonus|}}} > 0 | {{#expr:-{{{PopulationBonus|}}}}}|+{{#expr:-{{{PopulationBonus|}}}}}}} max base size]]
 
  <tr>
 
      <td>{{tt|Note: in text files/templates, this number is reversed, so minus anywhere but displayed here means larger bases.|Max base size modifier}}</td>
 
      <td>{{#ifexpr: {{{PopulationBonus|}}} > 0 | {{#expr:-{{{PopulationBonus|}}}}}|+{{#expr:-{{{PopulationBonus|}}}}}}}</td>
 
  </tr>}}{{#if:{{{ExtraDrone|}}} |[[Category:Factions with +1 drone per {{{ExtraDrone|4}}} population]]
 
  <tr>
 
      <td colspan="2">Extra [[Drone]] per {{{ExtraDrone|4}}} population</td>
 
  </tr>}}{{#if:{{{ExtraTalent|}}} |[[Category:Factions with +1 talent per {{{ExtraTalent|4}}} population]]
 
  <tr>
 
      <td colspan="2">Extra [[Talent]] per {{{ExtraTalent|4}}} population</td>
 
  </tr>}}{{#if:{{{Terraform|}}} |[[Category:Factions with terraform bonus]]
 
  <tr>
 
      <td colspan="2">Double [[Terraform]] rate</td>
 
  </tr>}}{{#if:{{{Comm|}}} |[[Category:Factions with bonus commlink]]
 
  <tr>
 
      <td colspan="2">Bonus [[Commlink Frequency]]</td>
 
  </tr>}}{{#if:{{{MindControl|}}} |[[Category:Factions with mind control immunity]]
 
  <tr>
 
      <td colspan="2">Immune to [[Mind Control]]</td>
 
  </tr>}}{{#if:{{{Prototype|}}} |[[Category:Factions with free prototypes]]
 
  <tr>
 
      <td colspan="2">Free [[Prototypes]]</td>
 
  </tr>}}{{#if:{{{Progenitor|}}} |[[Category:Progenitor factions]]
 
  <tr>
 
      <td colspan="2">[[Progenitor]] faction</td>
 
  </tr>}}{{#if:{{{Aquatic|}}} |[[Category:Aquatic factions]]
 
  <tr>
 
      <td colspan="2">[[Aquatic]] faction</td>
 
  </tr>}}{{#if:{{{Fanatic|}}} |[[Category:Factions with fanatic bonus]]
 
  <tr>
 
      <td colspan="2">25% attack bonus</td>
 
  </tr>}}{{#if:{{{WormPolice|}}} |[[Category:Factions with double native life police]]
 
  <tr>
 
      <td colspan="2">Double [[native life]] [[police]] effect</td>
 
  </tr>}}{{#if:{{{StealTech|}}} |[[Category:Factions which steal tech on base capture]]
 
  <tr>
 
      <td colspan="2">Steals tech on base capture</td>
 
  </tr>}}
 
  <tr>
 
</table>{{#if:{{{Official|}}}|[[Category:Official factions]]|[[Category:Custom factions]]{{#ifexist: File:{{{Text}}}.png |
 
  
[[File:{{{Text}}}.png]] | [[Category:Factions missing graphics]] }}{{#if:{{{ccfb|}}}|[[Category:Community balanced factions]]|[[Category:Unchecked factions]]}}}}</includeonly><noinclude>
 
 
{{#ifexist: File:{{{Text}}}.png | [[File:{{{Text}}}.png]] | [[Category:Factions missing graphics]] }}
 
=== Use ===
 
{{fib can replace {{FactionInfoBox. Faction= defaults to pagename, so is not required.
 
Copyable/blank:
 
<pre>{{FactionInfoBox
 
|Text=
 
|Economy=
 
|Interest=
 
|Commerce=
 
|Efficiency=
 
|Support=
 
|Talent=
 
|Morale=
 
|MoraleModifier=
 
|Police=
 
|Growth=
 
|Planet=
 
|Probe=
 
|ProbeCost=
 
|Industry=
 
|Research=
 
|TechCost=
 
|ResearchBonus=
 
|Immunity=
 
|Penalty=
 
|Robust=
 
|AntiIdeology=
 
|Ideology=
 
|Impunity=
 
|FreeTech=
 
|FreeTech2=
 
|FreeUnit=
 
|FreeFacility=
 
|PreqFreeFacility=
 
|FreeAbility=
 
|Offense=
 
|Defense=
 
|Psi=
 
|PopulationBonus=
 
|ExtraDrone=
 
|ExtraTalent=
 
|BonusTechs=
 
|StartingEnergy=
 
|FungNutrients=
 
|FungMinerals=
 
|FungEnergy=
 
|Hurry=
 
|Votes=
 
|NoDrone=
 
|Revolt=
 
|ShareTech=
 
|Infiltrator=
 
|Terraform=
 
|Comm=
 
|MindControl=
 
|Prototype=
 
|Progenitor=
 
|Aquatic=
 
|Fanatic=
 
|WormPolice=
 
|StealTech=
 
}}</pre>
 
 
Filled in example:
 
<pre>{{FactionInfoBox
 
|Faction=ete's esps (not required, defaults to pagename)
 
|Text=ETE (name of faction's text file)
 
|Economy=-4
 
|Interest=10%
 
|Commerce=1
 
|Efficiency=+3
 
|Support=+1
 
|Talent=+1
 
|Morale=-2
 
|MoraleModifier=+1
 
|Police=-2
 
|Growth=+1
 
|Planet=+2
 
|Probe=+1
 
|ProbeCost=85%
 
|Industry=-2
 
|Research=+1
 
|TechCost=80%
 
|ResearchBonus=2
 
|Immunity=Planet
 
|Penalty=Growth
 
|Robust=Morale
 
|Offense=80%
 
|Defense=90%
 
|Psi=130%
 
|AntiIdeology=Police State
 
|Ideology=Knowledge
 
|Impunity=Eudiamonic
 
|ExtraDrone=5
 
|ExtraTalent=3
 
|BonusTechs=2
 
|StartingEnergy=42
 
|FreeTech=Centuri Campfires (accepts short tech names)
 
|FreeTech2=Doctrine: Doctrines
 
|FreeUnit=Colony Pod
 
|FreeFacility=Network Node
 
|PreqFreeFacility=Hab Complex
 
|FreeAbility=Clean Reactor
 
|FungNutrients=+2
 
|FungMinerals=+1
 
|FungEnergy=+2
 
|Votes=3
 
|NoDrone=1
 
|Revolt=25%
 
|Hurry=90%
 
|ShareTech=4
 
|Infiltrator=yes
 
|PopulationBonus=4
 
|Terraform=y
 
|Comm=1
 
|MindControl=anything can go in binary things, it just means yes if there's something
 
|Prototype=cats
 
|Progenitor=yes
 
|Aquatic=yes
 
|Fanatic=yes
 
|WormPolice=yes
 
|StealTech=yes
 
}}</pre>
 
[[Category:Infoboxes]]</noinclude>
 

Latest revision as of 10:03, 23 February 2013