Template:FactionInfoBox: Difference between revisions

From Galactic Civilizations - Official Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
<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>
<div class="infobox-label"><h4 class="infobox-label-data">Abilities</h4></div>
<div class="infobox-data">
<div class="infobox-data">
{{{abilities1}}}<br>
{{#if:{{{abilities1|}}}|{{{abilities1}}}<br>}}
{{{abilities2}}}<br>
{{#if:{{{abilities2|}}}|{{{abilities2}}}<br>}}
{{{abilities3}}}<br>
{{#if:{{{abilities3|}}}|{{{abilities3}}}<br>}}
{{{abilities4}}}<br>
{{#if:{{{abilities4|}}}|{{{abilities4}}}<br>}}
</div>}}
{{#if:{{{culturalFocus|}}}|<div class="infobox-label"><div class="infobox-label-data custom-h4">Cultural Focus</div></div>
<div class="infobox-data">{{{culturalFocus}}}</div>}}
{{#if:{{{biology|}}}|<div class="infobox-label"><div class="infobox-label-data custom-h4">Biology</div></div>
<div class="infobox-data">{{{biology}}}</div>}}
</div>
</div>
<div class="infobox-label"><h4 class="infobox-label-data">Cultural Focus</h4></div>
<div class="infobox-data">{{{culturalFocus}}}</div>
<div class="infobox-label"><h4 class="infobox-label-data">Biology</h4></div>
<div class="infobox-data">{{{biology}}}</div>

Latest revision as of 17:50, 12 March 2024

FactionInfoBox