Difference between revisions of "Template:LeaderInfoBox"

From Alpha Centauri Wiki
Jump to: navigation, search
(Created page with "<table class="wikitable" style="float: right"> <th colspan="2">{{{Leader}}}</th> <td colspan="2"><center>'''AI'''</center></td> </tr> <tr> <td>{{tt|Social...")
 
m
Line 1: Line 1:
<table class="wikitable" style="float: right">
+
<includeonly><table class="wikitable" style="float: right">
   <th colspan="2">{{{Leader}}}</th>
+
   <th colspan="2">{{#ifexist:File:{{{text}}}_leaderhead.png|[[File:{{{text}}}_leaderhead.png]]|[[File:missing_leaderhead.png]][[Category:Factions missing leaderhead]]}}<br />
      <td colspan="2"><center>'''AI'''</center></td>
+
{{{name}}} of the [[{{{faction}}}]]</th>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
 +
      <td>{{tt|Leader's willingness to use force|Personality}}</td>
 +
      <td>{{#switch: {{{personality}}} | -1 = Pacifist | 0 = Erratic | 1 = Aggressive | {{{personality}}}}}</td>
 +
  </tr>
 +
  <tr>
 +
      <td>{{tt|Areas of innovation leader focuses on|Interests}}</center></td>
 +
      <td>{{#if: {{{power}}} | [[Conquer]]}} {{#if: {{{tech}}} | [[Discover]]}} {{#if: {{{wealth}}} | [[Build]]}} {{#if: {{{growth}}} | [[Explore]]}}</td>
 +
  </tr>  <tr>
 
       <td>{{tt|Social value the leader aims to maximize|Emphasis}}</td>
 
       <td>{{tt|Social value the leader aims to maximize|Emphasis}}</td>
       <td>{{{Emphasis|None}}}</td>
+
       <td>{{#if:{{{emphasis|}}}|[[{{{emphasis}}}]]|None}}</td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
 
       <td>Gender</td>
 
       <td>Gender</td>
       <td>{{{Gender|}}}</td>
+
       <td>{{{gender}}}</td>
  </tr>
+
  <tr>
+
      <td>{{tt|Leader's willingness to use force|Personality}}</td>
+
      <td>{{{Personality|Erratic}}}</td>
+
  </tr>
+
  <tr>
+
      <td>{{tt|Areas of innovation leader focuses on|Interests}}</td>
+
      <td>{{{Interests|None}}}</td>
+
 
   </tr>
 
   </tr>
</table><noinclude>[[Category:Infoboxes]]</noinclude>
+
</table></includeonly><noinclude>[[Category:Infoboxes]]</noinclude>

Revision as of 12:30, 22 February 2013