Template:FactionInfoBox: Difference between revisions

From Galactic Civilizations - Official Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<div class="infobox">
<div class="infobox-title"><h3>{{{title|{{PAGENAME}}}}}</h3></div>{{#if:{{{image|}}}|
<div class="infobox-title custom-h3">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|150px]]</div>}}
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|150px]]</div>}}
{{#if:{{{leaderName|}}}|<div class="infobox-label">
{{#if:{{{leaderName|}}}|<div class="infobox-label">
<h4 class="infobox-label-data">Leader</h4></div>
<div class="infobox-label-data custom-h4">Leader</div></div>
<div class="infobox-leader">[[File:{{{leaderImage}}}|50px]]&nbsp;{{{leaderName|}}}</div>
<div class="infobox-leader">[[File:{{{leaderImage}}}|50px]]&nbsp;{{{leaderName|}}}</div>}}
}}
{{#if:{{{abilities1|}}}|<div class="infobox-label"><div class="infobox-label-data custom-h4">Abilities</div></div>
<table class="infobox-table">{{#if:{{{culturalFocus|}}}|<tr>
<div class="infobox-data">
    <th>Cultural Focus</th>
{{#if:{{{abilities1|}}}|{{{abilities1}}}<br>}}
    <td>{{{culturalFocus}}}</td>
{{#if:{{{abilities2|}}}|{{{abilities2}}}<br>}}
</tr>}}{{#if:{{{biology|}}}|<tr>
{{#if:{{{abilities3|}}}|{{{abilities3}}}<br>}}
    <th>Biology</th>
{{#if:{{{abilities4|}}}|{{{abilities4}}}<br>}}
    <td>{{{biology}}}</td>
</div>}}
</tr>}}{{#if:{{{citizenType|}}}|<tr>
{{#if:{{{culturalFocus|}}}|<div class="infobox-label"><div class="infobox-label-data custom-h4">Cultural Focus</div></div>
    <th>Citizen Type</th>
<div class="infobox-data">{{{culturalFocus}}}</div>}}
    <td>{{{citizenType}}}</td>
{{#if:{{{biology|}}}|<div class="infobox-label"><div class="infobox-label-data custom-h4">Biology</div></div>
</tr>}}{{#if:{{{planetType|}}}|<tr>
<div class="infobox-data">{{{biology}}}</div>}}
    <th>Planet Type</th>
    <td>{{{planetType}}}</td>
</tr>}}</table>
</div>
</div>

Latest revision as of 17:50, 12 March 2024

FactionInfoBox