Difference between revisions of "FactionInfoBox"
m (Removed ships from population) |
(Removed individual military units) |
||
Line 13: | Line 13: | ||
</tr> | </tr> | ||
}} | }} | ||
+ | {{#if: {{{militaryPopulation|}}}}}| | ||
<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>{{ | + | <td>{{{miltaryPopulation}}}</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 | + | <td>{{#expr: {{{civilianPopulation|0}}} + {{{militaryPopulation|0}}} }}</td> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</tr> | </tr> | ||
}} | }} | ||
+ | |||
{{#if: {{{power|}}}| | {{#if: {{{power|}}}| | ||
<tr> | <tr> | ||
Line 81: | Line 47: | ||
|foundedDate=20/09/2020 | |foundedDate=20/09/2020 | ||
|civilianPopulation=1 | |civilianPopulation=1 | ||
− | | | + | |militaryPopulation=2 |
− | |||
− | |||
− | |||
− | |||
− | |||
|power=Major | |power=Major | ||
|leaders=[[User:DaiKnapz|David]] | |leaders=[[User:DaiKnapz|David]] | ||
Line 118: | Line 79: | ||
"required": true | "required": true | ||
}, | }, | ||
− | + | "militaryPopulation": { | |
− | "label": " | + | "label": "Military Population", |
− | "description": "The number of | + | "description": "The number of Military in the faction", |
− | "type": "number | + | "type": "number", |
− | + | "required": true | |
− | |||
− | |||
− | |||
− | " | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
"power": { | "power": { |
Revision as of 19:29, 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 |
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 |
Military Population | militaryPopulation | The number of Military in the faction | Number | required |
Power Status | power | How influential or powerful the faction is
| String | optional |
Leader(s) | leaders | The leader(s) of the faction | Page | optional |