Difference between revisions of "Template:InfoBoxConflict"
m (Getting the Text to line up better) |
m (Centering headings in the infobox (Because infobox rows are set to left align for some reason)) |
||
Line 1: | Line 1: | ||
{{#if:{{{campaignbox|}}} | {{#if:{{{campaignbox|}}} | ||
− | |<table style="float:right; clear:right; background: transparent; margin: 0; padding: 0 | + | |<table style="float:right; clear:right; background: transparent; margin: 0; padding: 0;"> |
<tr><td> | <tr><td> | ||
}} | }} | ||
− | <table class="infobox" > | + | <table class="infobox"> |
<tr class="infoboxrow"> | <tr class="infoboxrow"> | ||
− | <th class="summary" colspan="{{#if:{{{faction3|}}}|3|2}}" class="infoboxheading" >{{{conflict|{{PAGENAME}}}}}</th> | + | <th style="text-align: center;" class="summary" colspan="{{#if:{{{faction3|}}}|3|2}}" class="infoboxheading" >{{{conflict|{{PAGENAME}}}}}</th> |
</tr> | </tr> | ||
{{#if:{{{partof|}}} | {{#if:{{{partof|}}} | ||
|<tr> | |<tr> | ||
− | <td | + | <td style="text-align: center;" colspan="{{#if:{{{faction3|}}}|3|2}}" >Part of {{{partof}}}</td> |
</tr> | </tr> | ||
}} | }} | ||
<!--{{#if:{{{image|}}} | <!--{{#if:{{{image|}}} | ||
|<tr> | |<tr> | ||
− | <td colspan="{{#if:{{{faction3|}}}|3|2}}" > [[Image:{{{image}}}|280px]]{{#if:{{{caption|}}}|<br />{{{caption}}}}}</td> | + | <td style="text-align: center;" colspan="{{#if:{{{faction3|}}}|3|2}}" > [[Image:{{{image}}}|280px]]{{#if:{{{caption|}}}|<br />{{{caption}}}}}</td> |
</tr> | </tr> | ||
}}--> | }}--> | ||
Line 59: | Line 59: | ||
{{#if:{{{faction1|}}}{{{faction2|}}}{{{faction3|}}} | {{#if:{{{faction1|}}}{{{faction2|}}}{{{faction3|}}} | ||
|<tr class="infoboxrow"> | |<tr class="infoboxrow"> | ||
− | <th colspan="{{#if:{{{faction3|}}}|3|2}}" class="infoboxheading">Factions</th> | + | <th style="text-align: center;" colspan="{{#if:{{{faction3|}}}|3|2}}" class="infoboxheading">Factions</th> |
</tr> | </tr> | ||
<tr class="infoboxrow"> | <tr class="infoboxrow"> | ||
Line 84: | Line 84: | ||
{{#if:{{{commander1|}}}{{{commander2|}}}{{{commander3|}}} | {{#if:{{{commander1|}}}{{{commander2|}}}{{{commander3|}}} | ||
|<tr class="infoboxrow"> | |<tr class="infoboxrow"> | ||
− | <th colspan="{{#if:{{{faction3|}}}|3|2}}" class="infoboxheading">Commanders and leaders</th> | + | <th style="text-align: center;" colspan="{{#if:{{{faction3|}}}|3|2}}" class="infoboxheading">Commanders and leaders</th> |
</tr> | </tr> | ||
<tr class="infoboxrow"> | <tr class="infoboxrow"> | ||
Line 96: | Line 96: | ||
{{#if:{{{forces1|}}}{{{forces2|}}}{{{forces3|}}} | {{#if:{{{forces1|}}}{{{forces2|}}}{{{forces3|}}} | ||
|<tr class="infoboxrow"> | |<tr class="infoboxrow"> | ||
− | <th colspan="{{#if:{{{faction3|}}}|3|2}}" class="infoboxheading">Forces involved</th> | + | <th style="text-align: center;" colspan="{{#if:{{{faction3|}}}|3|2}}" class="infoboxheading">Forces involved</th> |
</tr> | </tr> | ||
<tr class="infoboxrow"> | <tr class="infoboxrow"> | ||
Line 108: | Line 108: | ||
{{#if:{{{environment|}}}| | {{#if:{{{environment|}}}| | ||
<tr class="infoboxrow"> | <tr class="infoboxrow"> | ||
− | <th | + | <th style="text-align: center;" colspan="{{#if:{{{faction3|}}}|3|2}}" style="border:1px solid #A1AFBF;" class="infoboxheading"> Environment </th> |
</tr> | </tr> | ||
<tr class="infoboxrow"> | <tr class="infoboxrow"> | ||
− | <td | + | <td colspan="{{#if:{{{faction3|}}}|3|2}}"> {{{environment|}}}</td> |
</tr> | </tr> | ||
}} | }} | ||
Line 117: | Line 117: | ||
{{#if:{{{conditions|}}}| | {{#if:{{{conditions|}}}| | ||
<tr class="infoboxrow"> | <tr class="infoboxrow"> | ||
− | <th | + | <th style="text-align: center;" colspan="{{#if:{{{faction3|}}}|3|2}}" style="border:1px solid #A1AFBF;" class="infoboxheading"> Conditions </th> |
</tr> | </tr> | ||
<tr class="infoboxrow"> | <tr class="infoboxrow"> | ||
− | <td | + | <td colspan="{{#if:{{{faction3|}}}|3|2}}"> {{{conditions|}}}</td> |
</tr> | </tr> | ||
}} | }} |
Revision as of 20:36, 3 January 2018
InfoBoxConflict | |||
---|---|---|---|
|