Template:Number of soldiers/doc: Difference between revisions

From IxWiki
Jump to navigation Jump to search
Created page with "{{documentation subpage}} A template for creating a table row describing the number of troops in a country's armed forces. ===Usage=== <pre>{{Number of soldiers | country= | military= | active= | reserve= | paramilitary= | population= | references= }}</pre> ===Parameters=== All numeric parameters accept a number or empty string. Giving a numeric parameter a non-numeric input will produce an error. ;Country : The name of the country. ;Military : The name of the country'..."
 
 
Line 38: Line 38:
<!-- Table rows -->
<!-- Table rows -->
{{Number of soldiers
{{Number of soldiers
| country=Albania
| country=Urcea
| military=Military of Albania
| military=Armed Forces of the Apostolic Kingdom of Urcea
| active=20000
| active=12181375
| reserve=
| reserve=7096474
| paramilitary=5000
| paramilitary=0
| population=3170000
| population=1674278075
| references=<sup>[[Military of Albania|[1]]]</sup>
| references=<sup>[[Armed Forces of the Apostolic Kingdom of Urcea|[1]]]</sup>
}}
}}


{{Number of soldiers
{{Number of soldiers
| total=yes
| country=Caphiria
| country=NATO
| military=Imperial Armed Forces of Caphiria
| military=NATO
| active=12904200
| active=20000
| reserve=11273140
| reserve=
| paramilitary=3000000
| paramilitary=5000
| population=805011365
| population=3170000
| references=<sup>[[Imperial Armed Forces of Caphiria|[2]]]</sup>
}}
}}



Latest revision as of 16:44, 20 September 2022

A template for creating a table row describing the number of troops in a country's armed forces.

Usage

{{Number of soldiers
| country=
| military=
| active=
| reserve=
| paramilitary=
| population=
| references=
}}

Parameters

All numeric parameters accept a number or empty string. Giving a numeric parameter a non-numeric input will produce an error.

Country
The name of the country.
Military
The name of the country's military.
Active
Number of active troops. (numeric)
Reserve
Number of reserve force. (numeric)
Paramilitary
Number of paramilitary troops. (numeric)
Population
Population of the country. Used to calculate total and active troops per 1000 citizens. (numeric)
References
References to sources.

Example

Code
<!-- Table columns -->
{|class="wikitable" style="font-size:95%;"
!Flag
!State
!Active
!Reserve
!Paramilitary
!Total
!Total/1000
!Active/1000
<!-- Table rows -->
{{Number of soldiers
| country=Urcea
| military=Armed Forces of the Apostolic Kingdom of Urcea
| active=12181375
| reserve=7096474
| paramilitary=0
| population=1674278075
| references=<sup>[[Armed Forces of the Apostolic Kingdom of Urcea|[1]]]</sup>
}}

{{Number of soldiers
| country=Caphiria
| military=Imperial Armed Forces of Caphiria
| active=12904200
| reserve=11273140
| paramilitary=3000000
| population=805011365
| references=<sup>[[Imperial Armed Forces of Caphiria|[2]]]</sup>
}}

<!-- Table end -->
|}
Resulting table
Flag State Active Reserve Paramilitary Total Total/1000 Active/1000
Urcea Urcea[1] 12,181,375 7,096,474 0 19,277,849 11.5 7.3
Caphiria Caphiria[2] 12,904,200 11,273,140 3,000,000 27,177,340 33.8 16