Template:FactionInfoBox: Difference between revisions

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

Latest revision as of 17:50, 12 March 2024

FactionInfoBox