Difference between revisions of "FactionInfoBox"
(Fixed extra content) |
(Fixed maybe extra content) |
||
Line 6: | Line 6: | ||
|origins={{{origins|}}} | |origins={{{origins|}}} | ||
|foundedDate={{{foundedDate|}}} | |foundedDate={{{foundedDate|}}} | ||
− | | | + | |extraContent= |
{{#if: {{{civilianPopulation|}}}| | {{#if: {{{civilianPopulation|}}}| | ||
<tr> | <tr> | ||
Line 15: | Line 15: | ||
<tr> | <tr> | ||
<td class="infoboxtd1strow" style="padding: 10px;"><b>Military Population</b>:</td> | <td class="infoboxtd1strow" style="padding: 10px;"><b>Military Population</b>:</td> | ||
− | <td>{{#expr: {{{infantry}}} + {{{cavalry}}} + {{{ranged}}} + {{{support}}} + {{{ships}}} + {{{mages}}} }}</td> | + | <td>{{#expr: {{{infantry|0}}} + {{{cavalry|0}}} + {{{ranged|0}}} + {{{support|0}}} + {{{ships|0}}} + {{{mages|0}}} }}</td> |
</tr> | </tr> | ||
{{#if: {{{civilianPopulation|}}}| | {{#if: {{{civilianPopulation|}}}| |
Revision as of 19:19, 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 |
Civilian Population: | 1 |
Military Population: | 27 |
Total Population: | 28 |
Infantry: | 2 |
Cavalry: | 3 |
Ranged: | 4 |
Support: | 5 |
Ships: | 6 |
Mages: | 7 |
Power Status: | Major |
Leader(s): | David |
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 |