Difference between revisions of "FactionInfoBox"
(Fixed extra content) |
(Fixed extra content) |
||
Line 7: | Line 7: | ||
|foundedDate={{{foundedDate|}}} | |foundedDate={{{foundedDate|}}} | ||
|extraContnet= | |extraContnet= | ||
− | {{#if: {{{civilianPopulation}}}| | + | {{#if: {{{civilianPopulation|}}}| |
<tr> | <tr> | ||
<td class="infoboxtd1strow" style="padding: 10px;"><b>Civilian Population</b>:</td> | <td class="infoboxtd1strow" style="padding: 10px;"><b>Civilian Population</b>:</td> | ||
Line 17: | Line 17: | ||
<td>{{#expr: {{{infantry}}} + {{{cavalry}}} + {{{ranged}}} + {{{support}}} + {{{ships}}} + {{{mages}}} }}</td> | <td>{{#expr: {{{infantry}}} + {{{cavalry}}} + {{{ranged}}} + {{{support}}} + {{{ships}}} + {{{mages}}} }}</td> | ||
</tr> | </tr> | ||
− | {{#if: civilianPopulation| | + | {{#if: {{{civilianPopulation|}}}| |
<tr> | <tr> | ||
<td class="infoboxtd1strow" style="padding: 10px;"><b>Total Population</b>:</td> | <td class="infoboxtd1strow" style="padding: 10px;"><b>Total Population</b>:</td> | ||
− | <td>{{#expr: {{{civilianPopulation}}} + {{{infantry}}} + {{{cavalry}}} + {{{ranged}}} + {{{support}}} + {{{ships}}} + {{{mages}}} }}</td> | + | <td>{{#expr: {{{civilianPopulation}}} + {{{infantry|0}}} + {{{cavalry|0}}} + {{{ranged|0}}} + {{{support|0}}} + {{{ships|0}}} + {{{mages|0}}} }}</td> |
</tr> | </tr> | ||
}} | }} | ||
− | {{#if: infantry| | + | {{#if: {{{infantry|}}}| |
<tr> | <tr> | ||
<td class="infoboxtd1strow" style="padding: 10px;"><b>Infantry</b>:</td> | <td class="infoboxtd1strow" style="padding: 10px;"><b>Infantry</b>:</td> | ||
− | <td>{{{infantry | + | <td>{{{infantry}}}</td> |
</tr> | </tr> | ||
}} | }} | ||
− | {{#if: cavalry| | + | {{#if: {{{cavalry|}}}| |
<tr> | <tr> | ||
<td class="infoboxtd1strow" style="padding: 10px;"><b>Cavalry</b>:</td> | <td class="infoboxtd1strow" style="padding: 10px;"><b>Cavalry</b>:</td> | ||
− | <td>{{{cavalry | + | <td>{{{cavalry}}}</td> |
</tr> | </tr> | ||
}} | }} | ||
− | {{#if: ranged| | + | {{#if: {{{ranged|}}}| |
<tr> | <tr> | ||
<td class="infoboxtd1strow" style="padding: 10px;"><b>Ranged</b>:</td> | <td class="infoboxtd1strow" style="padding: 10px;"><b>Ranged</b>:</td> | ||
− | <td>{{{ranged | + | <td>{{{ranged}}}</td> |
</tr> | </tr> | ||
}} | }} | ||
− | {{#if: support| | + | {{#if: {{{support|}}}| |
<tr> | <tr> | ||
<td class="infoboxtd1strow" style="padding: 10px;"><b>Support</b>:</td> | <td class="infoboxtd1strow" style="padding: 10px;"><b>Support</b>:</td> | ||
− | <td>{{{ | + | <td>{{{support}}}</td> |
</tr> | </tr> | ||
}} | }} | ||
− | {{#if: ships| | + | {{#if: {{{ships|}}}| |
<tr> | <tr> | ||
<td class="infoboxtd1strow" style="padding: 10px;"><b>Ships</b>:</td> | <td class="infoboxtd1strow" style="padding: 10px;"><b>Ships</b>:</td> | ||
− | <td>{{{ships | + | <td>{{{ships}}}</td> |
</tr> | </tr> | ||
}} | }} | ||
− | {{#if: mages| | + | {{#if: {{{mages|}}}| |
<tr> | <tr> | ||
<td class="infoboxtd1strow" style="padding: 10px;"><b>Mages</b>:</td> | <td class="infoboxtd1strow" style="padding: 10px;"><b>Mages</b>:</td> | ||
− | <td>{{{mages | + | <td>{{{mages}}}</td> |
</tr> | </tr> | ||
}} | }} | ||
− | {{#if: | + | {{#if: {{{power|}}}| |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<tr> | <tr> | ||
<td class="infoboxtd1strow" style="padding: 10px;"><b>Power Status</b>:</td> | <td class="infoboxtd1strow" style="padding: 10px;"><b>Power Status</b>:</td> | ||
− | <td>{{{power | + | <td>{{{power}}}</td> |
</tr> | </tr> | ||
}} | }} | ||
− | {{#if: leaders| | + | {{#if: {{{leaders|}}}| |
<tr> | <tr> | ||
<td class="infoboxtd1strow" style="padding: 10px;"><b>Leader(s)</b>:</td> | <td class="infoboxtd1strow" style="padding: 10px;"><b>Leader(s)</b>:</td> | ||
− | <td>{{{leaders | + | <td>{{{leaders}}}</td> |
</tr> | </tr> | ||
}} | }} |
Revision as of 19:08, 20 September 2020
Test Faction | |
---|---|
Current Members: | Sub Group A, Sub Group B |
Origins: | This faction was founded by David as he memed on discord |
Founded date: | 20/09/2020 |
This is how Faction infoboxes should look
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | The name of the faction | Unknown | optional |
Members | members | If the faction is made up of subgroups | String | optional |
Origins | origins | A brief description of how the faction was founded | String | optional |
Founded Date | foundedDate | When the faction was founded | String | optional |
Civilian Population | civilianPopulation | The number of civilians in the faction | Number | required |
Infantry | infantry | The number of infantry units | Number | optional |
Cavalry | cavalry | The number of cavalry units | Unknown | suggested |
Ranged | ranged | The number of ranged units | Number | optional |
Support | support | The number of support units | Number | optional |
Ships | ships | The number of Ships | Number | optional |
Mages | mages | The number of mage units | Number | optional |
Power Status | power | How influential or powerful the faction is
| String | optional |
Leader(s) | leaders | The leader(s) of the faction | Page | optional |