Template:FactionInfobox: Difference between revisions

From Beacon Space
Content deleted Content added
Created page with "<div class="infobox"> <templatestyles src="Infobox.css" /> <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| <div class="infobox-image">File:{{{im..."
 
imported>Turbo566
Turbo566 changed the content model of the page Template:FactionInfobox from "wikitext" to "CSS": bc
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<table>{{#if:{{{param1|}}}|<tr>
<table>{{#if:{{{motto|}}}|<tr>
<th>Parameter 1</th>
<th>Motto</th>
<td>{{{param1}}}</td>
<td>{{{motto}}}</td>
</tr>}}{{#if:{{{param2|}}}|<tr>
</tr>}}{{#if:{{{focus|}}}|<tr>
<th>Parameter 2</th>
<th>Focus</th>
<td>{{{param2}}}</td>
<td>{{{focus}}}</td>
</tr>}}{{#if:{{{param3|}}}|<tr>
</tr>}}{{#if:{{{homeworld|}}}|<tr>
<th>Parameter 3</th>
<th>Homeworld</th>
<td>{{{param3}}}</td>
<td>{{{homeworld}}}</td>
</tr>}}{{#if:{{{param4|}}}|<tr>
</tr>}}{{#if:{{{system|}}}|<tr>
<th>Parameter 4</th>
<th>System</th>
<td>{{{param4}}}</td>
<td>{{{system}}}</td>
</tr>}}{{#if:{{{param5|}}}|<tr>
</tr>}}{{#if:{{{factiontag|}}}|<tr>
<th>Parameter 5</th>
<th>Faction Tag</th>
<td>{{{param5}}}</td>
<td>{{{factiontag}}}</td>
</tr>}}{{#if:{{{conjugation|}}}|<tr>
<th>Conjugation</th>
<td>{{{conjugation}}}</td>
</tr>}}</table>
</tr>}}</table>
</div>
</div>

Latest revision as of 06:37, 11 December 2022

<div class="infobox">
<templatestyles src="Infobox.css" />
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<table>{{#if:{{{motto|}}}|<tr>
    <th>Motto</th>
    <td>{{{motto}}}</td>
</tr>}}{{#if:{{{focus|}}}|<tr>
    <th>Focus</th>
    <td>{{{focus}}}</td>
</tr>}}{{#if:{{{homeworld|}}}|<tr>
    <th>Homeworld</th>
    <td>{{{homeworld}}}</td>
</tr>}}{{#if:{{{system|}}}|<tr>
    <th>System</th>
    <td>{{{system}}}</td>
</tr>}}{{#if:{{{factiontag|}}}|<tr>
    <th>Faction Tag</th>
    <td>{{{factiontag}}}</td>
</tr>}}{{#if:{{{conjugation|}}}|<tr>
    <th>Conjugation</th>
    <td>{{{conjugation}}}</td>
</tr>}}</table>
</div>