Difference between revisions of "Template:FactionInfoBox"

From Alpha Centauri Wiki
Jump to: navigation, search
m
m (Reverted edits by Ariete (talk) to last revision by Ete)
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly><table class="wikitable" style="float: right;max-width:15pc">
 
<includeonly><table class="wikitable" style="float: right;max-width:15pc">
 
   <th colspan="2"><center>{{#ifexist:File:{{{Text}}}_logo.png|[[File:{{{Text}}}_logo.png]]|[[File:missing_logo.png]][[Category:Factions missing logo]]}}<br />
 
   <th colspan="2"><center>{{#ifexist:File:{{{Text}}}_logo.png|[[File:{{{Text}}}_logo.png]]|[[File:missing_logo.png]][[Category:Factions missing logo]]}}<br />
{{{Faction|{{PAGENAME}}}}}{{#if:{{{Creator|}}}|<small> by {{{Creator|}}}[[Category:{{{Creator|}}}'s factions]]</small>}}</center></th>
+
{{{Faction|{{PAGENAME}}}}}{{#if:{{{Creator|}}}|<small> by {{{Creator|}}}[[Category:{{{Creator|}}}'s factions]]</small>}}{{#if:{{{Artist|}}}|<small> art by {{{Artist|}}}[[Category:Factions with graphics by {{{Artist|}}}]]</small>}}{{#if:{{{Thread|}}}|<br />
 +
[{{{Thread}}} Discussion thread]}}</center></th>
 
   <tr>
 
   <tr>
       <td colspan="2"><center>Text: [[{{PAGENAME}}/{{{Text|unadded}}}.txt|{{{Text|unadded}}}.txt]]</center></td>
+
       <td colspan="2"><center>Text: {{#ifexist:{{PAGENAME}}/{{{Text}}}.txt|[[{{PAGENAME}}/{{{Text}}}.txt|{{{Text}}}.txt]]|[[{{PAGENAME}}/{{{Text}}}.txt|Text missing]][[Category:Factions missing text files]]}}
 +
</center></td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
Line 39: Line 41:
 
       <td>[[Planet]]</td>
 
       <td>[[Planet]]</td>
 
       <td>{{{Planet|0}}}</td>
 
       <td>{{{Planet|0}}}</td>
   </tr>}}{{#if:{{{Probe|}}}{{{ProbeCost|}}} |{{#if:{{{Probe|}}}|[[Category:Factions with {{{Probe|}}} Probe]]}}{{#if:{{{ProbeCost|}}}|[[Category:Factions with {{{ProbeCost|}}} ProbeCost]]}}
+
   </tr>}}{{#if:{{{Probe|}}}{{{ProbeCost|}}} |{{#if:{{{Probe|}}}|[[Category:Factions with {{{Probe|}}} Probe]]}}{{#if:{{{ProbeCost|}}}|[[Category:Factions with {{{ProbeCost|}}} probe action cost]]}}
 
   <tr>
 
   <tr>
 
       <td>[[Probe]]</td>
 
       <td>[[Probe]]</td>
Line 47: Line 49:
 
       <td>[[Industry]]</td>
 
       <td>[[Industry]]</td>
 
       <td>{{{Industry|0}}}</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>}}{{#if:{{{Research|}}}{{{TechCost|}}}{{{ResearchBonus|}}} |{{#if:{{{Research|}}}|[[Category:Factions with {{{Research|}}} Research]]}}{{#if:{{{TechCost|}}}|[[Category:Factions with {{{TechCost|}}} technology cost]]}}{{#if:{{{ResearchBonus|}}}|[[Category:Factions with {{{ResearchBonus|}}} research bonus]]}}
 
   <tr>
 
   <tr>
 
       <td>[[Research]]</td>
 
       <td>[[Research]]</td>
Line 58: Line 60:
 
   <tr>
 
   <tr>
 
       <td>{{tt|Halves negative rating|Robust}}</td>
 
       <td>{{tt|Halves negative rating|Robust}}</td>
       <td>[[{{{Robust|None}}}]]</td>
+
       <td>[[{{{Robust|}}}]]{{#if:{{{Robust2|}}}|, [[{{{Robust2|}}}]][[Category:Factions with robust {{{Robust2|}}}]]}}</td>
 
   </tr>}}{{#if:{{{Offense|}}}{{{Defense|}}}{{{Psi|}}} |[[Category:Factions with combat bonuses]]
 
   </tr>}}{{#if:{{{Offense|}}}{{{Defense|}}}{{{Psi|}}} |[[Category:Factions with combat bonuses]]
 
   <tr>
 
   <tr>
Line 85: Line 87:
 
       <td>{{tt|Preferred social choice|Ideology}}</td>[[Category:Factions supporting {{{Ideology|nothing}}}]]
 
       <td>{{tt|Preferred social choice|Ideology}}</td>[[Category:Factions supporting {{{Ideology|nothing}}}]]
 
       <td>{{#if:{{{Ideology|}}}|[[{{{Ideology}}}]]|None}}</td>
 
       <td>{{#if:{{{Ideology|}}}|[[{{{Ideology}}}]]|None}}</td>
   </tr>{{#if:{{{Impunity|}}}|[[Category:Factions with an impunity to {{{Impunity|}}}]]
+
   </tr>{{#if:{{{Impunity|}}}|[[Category:Factions with impunity to {{{Impunity|}}}]]
 
   <tr>
 
   <tr>
 
       <td>{{tt|Social choice that may be made without the normally associated penalty|Impunity}}</td>
 
       <td>{{tt|Social choice that may be made without the normally associated penalty|Impunity}}</td>
       <td>[[{{{Impunity|None}}}]]{{#if:{{{Impunity2|}}}|, [[{{{Impunity2|}}}]][[Category:Factions with an impunity to {{{Impunity2|}}}]]}}{{#if:{{{Impunity3|}}}|, [[{{{Impunity3|}}}]][[Category:Factions with an impunity to {{{Impunity3|}}}]]}}</td>
+
       <td>[[{{{Impunity|None}}}]]{{#if:{{{Impunity2|}}}|, [[{{{Impunity2|}}}]][[Category:Factions with impunity to {{{Impunity2|}}}]]}}{{#if:{{{Impunity3|}}}|, [[{{{Impunity3|}}}]][[Category:Factions with impunity to {{{Impunity3|}}}]]}}</td>
   </tr>}}{{#if:{{{Penalty|}}}|[[Category:Factions with penalty to {{{Penalty|}}}]]
+
   </tr>}}{{#if:{{{Penalty|}}}|[[Category:Factions with a penalty to {{{Penalty|}}}]]
 
   <tr>
 
   <tr>
 
       <td>{{tt|Negative values for social engineering parameter doubled|Penalty}}</td>
 
       <td>{{tt|Negative values for social engineering parameter doubled|Penalty}}</td>
       <td>[[{{{Penalty|None}}}]]{{#if:{{{Penalty2|}}}|, [[{{{Penalty2|}}}]][[Category:Factions with penalty to {{{Penalty2|}}}]]}}{{#if:{{{Penalty3|}}}|, [[{{{Penalty3|}}}]][[Category:Factions with penalty to {{{Penalty3|}}}]]}}</td>
+
       <td>[[{{{Penalty|None}}}]]{{#if:{{{Penalty2|}}}|, [[{{{Penalty2|}}}]][[Category:Factions with a penalty to {{{Penalty2|}}}]]}}{{#if:{{{Penalty3|}}}|, [[{{{Penalty3|}}}]][[Category:Factions with a penalty to {{{Penalty3|}}}]]}}</td>
 
   </tr>}}
 
   </tr>}}
 
   <tr>
 
   <tr>
Line 104: Line 106:
 
       <td>{{tt|Energy at start of game (default 10)|Starting [[energy]]}}</td>
 
       <td>{{tt|Energy at start of game (default 10)|Starting [[energy]]}}</td>
 
       <td>{{#expr:{{{StartingEnergy|0}}}+10}}</td>
 
       <td>{{#expr:{{{StartingEnergy|0}}}+10}}</td>
   </tr>}}{{#if:{{{FreeTech|}}}|[[Category:Factions with starting technology]]
+
   </tr>}}{{#if:{{{FreeTech|}}}|[[Category:Factions with {{tlong|{{{FreeTech|}}}}} starting technology]]
 
   <tr>
 
   <tr>
 
       <td>Starting [[Technology|tech]]</td>
 
       <td>Starting [[Technology|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>
+
       <td>[[{{tlong|{{{FreeTech|}}}}}]]{{#if:{{{FreeTech2|}}}|, [[{{tlong|{{{FreeTech2|}}}}}]][[Category:Factions with {{tlong|{{{FreeTech2|}}}}} starting technology]]}}{{#if:{{{FreeTech3|}}}|, [[{{tlong|{{{FreeTech3|}}}}}]][[Category:Factions with {{tlong|{{{FreeTech3|}}}}} starting technology]]}}{{#if:{{{FreeTech4|}}}|, [[{{tlong|{{{FreeTech4|}}}}}]][[Category:Factions with {{tlong|{{{FreeTech4|}}}}} starting technology]]}}{{#if:{{{FreeTech5|}}}|, [[{{tlong|{{{FreeTech5|}}}}}]][[Category:Factions with {{tlong|{{{FreeTech5|}}}}} starting technology]]}}{{#if:{{{FreeTech6|}}}|, [[{{tlong|{{{FreeTech6|}}}}}]][[Category:Factions with {{tlong|{{{FreeTech6|}}}}} starting technology]]}}{{#if:{{{FreeTech7|}}}|, [[{{tlong|{{{FreeTech7|}}}}}]][[Category:Factions with {{tlong|{{{FreeTech7|}}}}} starting technology]]}}{{#if:{{{FreeTech8|}}}|, [[{{tlong|{{{FreeTech8|}}}}}]][[Category:Factions with {{tlong|{{{FreeTech8|}}}}} starting technology]]}}</td>
   </tr>}}{{#if:{{{FreeFacility|}}}|[[Category:Factions with free {{{FreeFacility|}}}]]
+
   </tr>|[[Category:Factions without starting technology]]}}{{#if:{{{FreeFacility|}}}|[[Category:Factions with free {{{FreeFacility|}}}]]
 
   <tr>
 
   <tr>
 
       <td>{{tt|Facility automatically constructed at all bases and requires no upkeep|[[Facility]]}}</td>
 
       <td>{{tt|Facility automatically constructed at all bases and requires no upkeep|[[Facility]]}}</td>
Line 152: Line 154:
 
       <td>{{tt|Max base size modifier. in text files/templates, this number is reversed, so minus anywhere but displayed here means larger bases.|Max base size}}</td>
 
       <td>{{tt|Max base size modifier. in text files/templates, this number is reversed, so minus anywhere but displayed here means larger bases.|Max base size}}</td>
 
       <td>{{#ifexpr: {{{PopulationBonus|}}} > 0 | {{#expr:-{{{PopulationBonus|}}}}}|+{{#expr:-{{{PopulationBonus|}}}}}}}</td>
 
       <td>{{#ifexpr: {{{PopulationBonus|}}} > 0 | {{#expr:-{{{PopulationBonus|}}}}}|+{{#expr:-{{{PopulationBonus|}}}}}}}</td>
   </tr>}}{{#if:{{{ExtraDrone|}}} |[[Category:Factions with +1 drone per {{{ExtraDrone|4}}} population]]
+
   </tr>}}{{#if:{{{ExtraDrone|}}} |[[Category:Factions with +1 Drone per {{{ExtraDrone|4}}} population]]
 
   <tr>
 
   <tr>
 
       <td colspan="2">Extra [[drone]] per {{{ExtraDrone|4}}} population</td>
 
       <td colspan="2">Extra [[drone]] per {{{ExtraDrone|4}}} population</td>
   </tr>}}{{#if:{{{ExtraTalent|}}} |[[Category:Factions with +1 talent per {{{ExtraTalent|4}}} population]]
+
   </tr>}}{{#if:{{{ExtraTalent|}}} |[[Category:Factions with +1 Talent per {{{ExtraTalent|4}}} population]]
 
   <tr>
 
   <tr>
 
       <td colspan="2">Extra [[talent]] per {{{ExtraTalent|4}}} population</td>
 
       <td colspan="2">Extra [[talent]] per {{{ExtraTalent|4}}} population</td>
Line 189: Line 191:
 
</table>{{#if:{{{Official|}}}|[[Category:Official factions]]|[[Category:Custom factions]]{{#ifexist: File:{{{Text}}}.png |  
 
</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>
+
[[File:{{{Text}}}.png]] | [[Category:Factions missing graphics]] }}}}</includeonly><noinclude>{{#if:{{{ccfb|}}}|[[Category:Community balanced factions]]|<nowiki>[[Category:Unchecked factions]]</nowiki>}}
  
 
=== Use ===
 
=== Use ===
Line 197: Line 199:
 
|Text=
 
|Text=
 
|Creator=
 
|Creator=
 +
|Thread=
 +
|Artist=
 
|Economy=
 
|Economy=
 
|Interest=
 
|Interest=
Line 259: Line 263:
 
|Text=ETE (name of faction's text file)
 
|Text=ETE (name of faction's text file)
 
|Creator=ete
 
|Creator=ete
 +
|Artist=BU
 
|Economy=-4
 
|Economy=-4
 
|Interest=10%
 
|Interest=10%

Latest revision as of 17:05, 22 September 2013

[[Category:Unchecked factions]]

Use

{{fib can replace {{FactionInfoBox. Faction= defaults to pagename, so is not required. Copyable/blank:

{{FactionInfoBox
|Text=
|Creator=
|Thread=
|Artist=
|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=
}}

Filled in example:

{{FactionInfoBox
|Faction=ete's esps (not required, defaults to pagename)
|Text=ETE (name of faction's text file)
|Creator=ete
|Artist=BU
|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
}}