Difference between revisions of "Template:Infobox ranks"

From 7th Cavalry Wiki
Jump to navigation Jump to search
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Category:Templates]]
+
<includeonly>[[Category:Unit Organisation]][[Category:Ranks]]</includeonly>
 +
<noinclude>[[Category:Templates]]</noinclude>
 +
 
 
{| cellpadding="4" width="17%" style="float:right; 1em auto 1em auto; border: 1px solid #aaaaaa; background:#f9f9f9; font-size:85%;"
 
{| cellpadding="4" width="17%" style="float:right; 1em auto 1em auto; border: 1px solid #aaaaaa; background:#f9f9f9; font-size:85%;"
 
|-
 
|-
Line 14: Line 16:
 
|'''NATO Code'''
 
|'''NATO Code'''
 
|''{{{NATOCode| OR-2}}}''
 
|''{{{NATOCode| OR-2}}}''
 +
|- {{#if: {{{NextHigher|}}} | | style="display: none;" }}
 +
! Next Rank
 +
|''{{{NextHigher|}}}''
 +
|- {{#if: {{{NextLower|}}} | | style="display: none;" }}
 +
! {Previous Rank
 +
|''{{{NextLower|}}}''
 
|}
 
|}
 +
 +
<noinclude>
 +
<!--        Template Documentation        -->
 +
 +
{| id="mp-left" style="width:50%; vertical-align:top; background:#f5fffa;"
 +
| style="padding:2px;" | <h2 id="mp-tfa-h2" style="margin:3px; background:#cef2e0; font-family:inherit; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;">Template Documentation</h2>
 +
|-
 +
| style="color:#000; padding: 2px 5px" |
 +
===Usage===
 +
The Infobox Rank is used to standardise any and all Rank related Unit Information Fields. It is created by Vermeulen.A and any questions can be send to the RPD Administrators.
 +
 +
===TemplateData===
 +
 +
{| class="wikitable"
 +
|-
 +
! scope="col"| ParameterName
 +
! scope="col"| Default Value
 +
! scope="col"| Visible?
 +
|-
 +
|RankName || Rank Name is put here
 +
|Always
 +
|-
 +
|RankIMG || Image for the Rank. Default is set to Private
 +
|Always
 +
|-
 +
|Abbrev || Abbreviation (Default is PVT)
 +
|Always
 +
|-
 +
|PayGrade || Paygrade (Default E-2)
 +
|Always
 +
|-
 +
|NATOCode || NATO code for the rank
 +
|Always
 +
|-
 +
|NextHigher || Following Rank (superior)
 +
|Only if set
 +
|-
 +
|NextLower || Previous Rank (lower)
 +
|Only if set
 +
|}
 +
 +
</noinclude>

Revision as of 17:40, 21 February 2017


Private
94px-Army-USA-OR-02.svg.png
Abbreviation PVT
Pay Grade E-2
NATO Code OR-2
Next Rank '
{Previous Rank '


Template Documentation

Usage

The Infobox Rank is used to standardise any and all Rank related Unit Information Fields. It is created by Vermeulen.A and any questions can be send to the RPD Administrators.

TemplateData

ParameterName Default Value Visible?
RankName Rank Name is put here Always
RankIMG Image for the Rank. Default is set to Private Always
Abbrev Abbreviation (Default is PVT) Always
PayGrade Paygrade (Default E-2) Always
NATOCode NATO code for the rank Always
NextHigher Following Rank (superior) Only if set
NextLower Previous Rank (lower) Only if set