Template:FactionInfoBox: Difference between revisions

From Galactic Civilizations - Official Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(20 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>{{{leaderName|}}}
<div class="infobox-label-data custom-h4">Leader</div></div>
}}
<div class="infobox-leader">[[File:{{{leaderImage}}}|50px]]&nbsp;{{{leaderName|}}}</div>}}
<table class="infobox-table">{{#if:{{{factionName|}}}|<tr>
{{#if:{{{abilities1|}}}|<div class="infobox-label"><div class="infobox-label-data custom-h4">Abilities</div></div>
    <th>Faction</th>
<div class="infobox-data">
    <td>{{{factionName}}}</td>
{{#if:{{{abilities1|}}}|{{{abilities1}}}<br>}}
</tr>}}{{#if:{{{culturalFocus|}}}|<tr>
{{#if:{{{abilities2|}}}|{{{abilities2}}}<br>}}
    <th>Cultural Focus</th>
{{#if:{{{abilities3|}}}|{{{abilities3}}}<br>}}
    <td>{{{culturalFocus}}}</td>
{{#if:{{{abilities4|}}}|{{{abilities4}}}<br>}}
</tr>}}{{#if:{{{biology|}}}|<tr>
</div>}}
    <th>Biology</th>
{{#if:{{{culturalFocus|}}}|<div class="infobox-label"><div class="infobox-label-data custom-h4">Cultural Focus</div></div>
    <td>{{{biology}}}</td>
<div class="infobox-data">{{{culturalFocus}}}</div>}}
</tr>}}{{#if:{{{citizenType|}}}|<tr>
{{#if:{{{biology|}}}|<div class="infobox-label"><div class="infobox-label-data custom-h4">Biology</div></div>
    <th>Citizen Type</th>
<div class="infobox-data">{{{biology}}}</div>}}
    <td>{{{citizenType}}}</td>
</tr>}}{{#if:{{{planetType|}}}|<tr>
    <th>Planet Type</th>
    <td>{{{planetType}}}</td>
</tr>}}</table>
</div>
</div>

Latest revision as of 17:50, 12 March 2024

FactionInfoBox