Difference between revisions of "Template:FactionInfoBox"
m (adding starting energy to use case) |
m (swapped used example for blank copyable, added/changed some links.) |
||
Line 76: | Line 76: | ||
<tr> | <tr> | ||
<td>{{tt|Social choice that faction may not take|Anti-Ideology}}</td> | <td>{{tt|Social choice that faction may not take|Anti-Ideology}}</td> | ||
− | <td>{{{AntiIdeology|None}}}</td>[[Category:Factions opposed to {{{AntiIdeology|nothing}}}]] | + | <td>{{#if:{{{AntiIdeology|}}}|[[{{{AntiIdeology}}}]]|None}}}</td>[[Category:Factions opposed to {{{AntiIdeology|nothing}}}]] |
</tr> | </tr> | ||
<tr> | <tr> | ||
<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>{{{Ideology|None}}}</td> | + | <td>{{#if:{{{Ideology|}}}|[[{{{Ideology}}}]]|None}}}</td> |
</tr>{{#if:{{{Impunity|}}}|[[Category:Factions with impunity to social engineering choice(s)]] | </tr>{{#if:{{{Impunity|}}}|[[Category:Factions with impunity to social engineering choice(s)]] | ||
<tr> | <tr> | ||
Line 94: | Line 94: | ||
</tr>}}{{#if:{{{StartingEnergy|}}} | | </tr>}}{{#if:{{{StartingEnergy|}}} | | ||
<tr> | <tr> | ||
− | <td>[[ | + | <td>Starting [[Energy]]</td> |
<td>{{{StartingEnergy|50}}}</td> | <td>{{{StartingEnergy|50}}}</td> | ||
</tr>}}{{#if:{{{FreeTech|}}}|[[Category:Factions with starting technology]] | </tr>}}{{#if:{{{FreeTech|}}}|[[Category:Factions with starting technology]] | ||
<tr> | <tr> | ||
− | <td>Free Tech</td> | + | <td>Free [[Tech]]</td> |
<td>[[{{{FreeTech|}}}]]{{#if:{{{FreeTech2|}}}|, [[{{{FreeTech2|}}}]]}}{{#if:{{{FreeTech3|}}}|, [[{{{FreeTech3|}}}]]}}{{#if:{{{FreeTech4|}}}|, [[{{{FreeTech4|}}}]]}}{{#if:{{{FreeTech5|}}}|, [[{{{FreeTech5|}}}]]}}{{#if:{{{FreeTech6|}}}|, [[{{{FreeTech6|}}}]]}}{{#if:{{{FreeTech7|}}}|, [[{{{FreeTech7|}}}]]}}{{#if:{{{FreeTech8|}}}|, [[{{{FreeTech8|}}}]]}}</td> | <td>[[{{{FreeTech|}}}]]{{#if:{{{FreeTech2|}}}|, [[{{{FreeTech2|}}}]]}}{{#if:{{{FreeTech3|}}}|, [[{{{FreeTech3|}}}]]}}{{#if:{{{FreeTech4|}}}|, [[{{{FreeTech4|}}}]]}}{{#if:{{{FreeTech5|}}}|, [[{{{FreeTech5|}}}]]}}{{#if:{{{FreeTech6|}}}|, [[{{{FreeTech6|}}}]]}}{{#if:{{{FreeTech7|}}}|, [[{{{FreeTech7|}}}]]}}{{#if:{{{FreeTech8|}}}|, [[{{{FreeTech8|}}}]]}}</td> | ||
</tr>}}{{#if:{{{FreeFacility|}}}|[[Category:Factions with free facility]] | </tr>}}{{#if:{{{FreeFacility|}}}|[[Category:Factions with free facility]] | ||
<tr> | <tr> | ||
− | <td>Free Facility</td> | + | <td>Free [[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> | <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>}}{{#if:{{{PreqFreeFacility|}}}|[[Category:Factions with free facility (tech required)]] | ||
<tr> | <tr> | ||
− | <td>Free Facility (Preq required)</td> | + | <td>Free [[Facility]] (Preq required)</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> | <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>}}{{#if:{{{FreeUnit|}}}|[[Category:Factions with free starting unit]] | ||
<tr> | <tr> | ||
− | <td>Free Unit</td> | + | <td>Free [[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> | <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>}}{{#if:{{{FreeAbility|}}}|[[Category:Factions with free abilities]] | ||
<tr> | <tr> | ||
− | <td>Free Ability (Preq required)</td> | + | <td>Free [[Ability]] (Preq required)</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> | <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>}}{{#if:{{{FungNutrients|}}}{{{FungMinerals|}}}{{{FungEnergy|}}} |[[Category:Factions with fungal resource bonuses]] | ||
Line 182: | Line 182: | ||
=== Use === | === Use === | ||
− | {{fib can replace {{FactionInfoBox | + | {{fib can replace {{FactionInfoBox. Faction= defaults to pagename, so is not required. |
+ | Copyable/blank: | ||
+ | <pre>{{FactionInfoBox | ||
+ | |Faction= | ||
+ | |Economy= | ||
+ | |Interest= | ||
+ | |Commerce= | ||
+ | |Efficiency= | ||
+ | |Support= | ||
+ | |Talent= | ||
+ | |Morale= | ||
+ | |MoraleModifier= | ||
+ | |Police= | ||
+ | |Growth= | ||
+ | |Planet= | ||
+ | |Probe= | ||
+ | |ProbeCost= | ||
+ | |Industry= | ||
+ | |Research= | ||
+ | |TechCost= | ||
+ | |ResearchBonus= | ||
+ | |Immunity= | ||
+ | |Robust= | ||
+ | |Offense= | ||
+ | |Defense= | ||
+ | |Psi= | ||
+ | |AntiIdeology= | ||
+ | |Ideology= | ||
+ | |Impunity= | ||
+ | |BonusTechs= | ||
+ | |StartingEnergy= | ||
+ | |FreeTech= | ||
+ | |FreeTech2= | ||
+ | |Talent= | ||
+ | |FreeUnit= | ||
+ | |FreeFacility= | ||
+ | |FreeAbility= | ||
+ | |FungNutrients= | ||
+ | |FungMinerals= | ||
+ | |FungEnergy= | ||
+ | |Votes= | ||
+ | |NoDrone= | ||
+ | |Revolt= | ||
+ | |Hurry= | ||
+ | |ShareTech= | ||
+ | |Infiltrator= | ||
+ | |PopulationBonus= | ||
+ | |Terraform= | ||
+ | |Comm= | ||
+ | |MindControl= | ||
+ | |Prototype= | ||
+ | |Alien= | ||
+ | |Aquatic= | ||
+ | |Fanatic= | ||
+ | |WormPolice= | ||
+ | |StealTech= | ||
+ | |ExtraDrone= | ||
+ | |ExtraTalent= | ||
+ | |}}</pre> | ||
+ | Filled in example: | ||
<pre>{{FactionInfoBox | <pre>{{FactionInfoBox | ||
|Faction=ete's esps | |Faction=ete's esps | ||
Line 241: | Line 300: | ||
|ExtraTalent=3 | |ExtraTalent=3 | ||
|}}</pre> | |}}</pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Infoboxes]]</noinclude> | [[Category:Infoboxes]]</noinclude> |
Revision as of 19:47, 31 January 2013
Use
{{fib can replace {{FactionInfoBox. Faction= defaults to pagename, so is not required. Copyable/blank:
{{FactionInfoBox |Faction= |Economy= |Interest= |Commerce= |Efficiency= |Support= |Talent= |Morale= |MoraleModifier= |Police= |Growth= |Planet= |Probe= |ProbeCost= |Industry= |Research= |TechCost= |ResearchBonus= |Immunity= |Robust= |Offense= |Defense= |Psi= |AntiIdeology= |Ideology= |Impunity= |BonusTechs= |StartingEnergy= |FreeTech= |FreeTech2= |Talent= |FreeUnit= |FreeFacility= |FreeAbility= |FungNutrients= |FungMinerals= |FungEnergy= |Votes= |NoDrone= |Revolt= |Hurry= |ShareTech= |Infiltrator= |PopulationBonus= |Terraform= |Comm= |MindControl= |Prototype= |Alien= |Aquatic= |Fanatic= |WormPolice= |StealTech= |ExtraDrone= |ExtraTalent= |}}
Filled in example:
{{FactionInfoBox |Faction=ete's esps |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 |Robust=Morale |Offense=80% |Defense=90% |Psi=130% |AntiIdeology=Police State |Ideology=Knowledge |Impunity=Eudiamonic |BonusTechs=2 |StartingEnergy=42 |FreeTech=Centuri Campfires |FreeTech2=Doctrine: Doctrines |Talent=+1 every 4 population |FreeUnit=Colony Pod |FreeFacility=Network Node |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 |Alien=yes |Aquatic=yes |Fanatic=yes |WormPolice=yes |StealTech=yes |ExtraDrone=5 |ExtraTalent=3 |}}