Difference between revisions of "Template:LeaderInfoBox"
m |
m |
||
(7 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><table class="wikitable" style="float: right"> | <includeonly><table class="wikitable" style="float: right"> | ||
<th colspan="2">{{#ifexist:File:{{{text}}}_leaderhead.png|[[File:{{{text}}}_leaderhead.png]]|[[File:missing_leaderhead.png]][[Category:Factions missing leaderhead]]}}<br /> | <th colspan="2">{{#ifexist:File:{{{text}}}_leaderhead.png|[[File:{{{text}}}_leaderhead.png]]|[[File:missing_leaderhead.png]][[Category:Factions missing leaderhead]]}}<br /> | ||
− | {{{name}}} | + | {{{name}}}</th> |
− | + | ||
<tr> | <tr> | ||
<td>{{tt|Leader's willingness to use force|Personality}}</td> | <td>{{tt|Leader's willingness to use force|Personality}}</td> | ||
− | <td>{{#switch: {{{personality}}} | -1 = Pacifist | 0 = Erratic | 1 = Aggressive | {{{personality}}}}}</td> | + | <td>{{#switch: {{{personality}}} | -1 = Pacifist | 0 = Erratic | 1 = Aggressive | {{{personality|unadded}}}}}</td> |
+ | </tr> | ||
+ | <tr> | ||
+ | <td>{{tt|Areas of innovation leader focuses on|Interests}}</td> | ||
+ | <td>{{#if: {{{power|}}} | [[Conquer]]}} {{#if: {{{tech|}}} | [[Discover]]}} {{#if: {{{wealth|}}} | [[Build]]}} {{#if: {{{growth|}}} | [[Explore]]}}</td> | ||
</tr> | </tr> | ||
<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>{{#if:{{{emphasis|}}}|[[{{{emphasis}}}]]|None}}</td> | <td>{{#if:{{{emphasis|}}}|[[{{{emphasis}}}]]|None}}</td> | ||
Line 16: | Line 16: | ||
<tr> | <tr> | ||
<td>Gender</td> | <td>Gender</td> | ||
− | <td>{{{gender}}}</td> | + | <td>{{{gender|unadded}}}</td> |
</tr> | </tr> | ||
− | </table></includeonly><noinclude>[[Category:Infoboxes]]</noinclude> | + | </table></includeonly><noinclude> |
+ | === Use === | ||
+ | Personality can be -1, 0, 1, or named personality (Pacifist, Erratic, Aggressive). Text is faction text file name (for picture). Leave power/tech/wealth/growth blank or remove line if leader is not interested in them, or =yes if they are (do not put =0, this will display the same as =1). Numbers for these can be found in the faction text file (order is personality, power, tech, wealth, growth). Emphasis should be social parameter, leave blank/remove if none. | ||
+ | <pre>{{LeaderInfoBox | ||
+ | |name= | ||
+ | |gender= | ||
+ | |text= | ||
+ | |personality= | ||
+ | |power= | ||
+ | |tech= | ||
+ | |wealth= | ||
+ | |growth= | ||
+ | |emphasis= | ||
+ | }}</pre> | ||
+ | [[Category:Infoboxes]]</noinclude> |
Latest revision as of 13:31, 5 March 2013
Use
Personality can be -1, 0, 1, or named personality (Pacifist, Erratic, Aggressive). Text is faction text file name (for picture). Leave power/tech/wealth/growth blank or remove line if leader is not interested in them, or =yes if they are (do not put =0, this will display the same as =1). Numbers for these can be found in the faction text file (order is personality, power, tech, wealth, growth). Emphasis should be social parameter, leave blank/remove if none.
{{LeaderInfoBox |name= |gender= |text= |personality= |power= |tech= |wealth= |growth= |emphasis= }}