Difference between revisions of "Template:Infobox ranks"

From 7th Cavalry Wiki
Jump to navigation Jump to search
(Created page with "{| cellpadding="4" width="17%" style="float:right; 1em auto 1em auto; border: 1px solid #aaaaaa; background:#f9f9f9; font-size:85%;" |- | colspan="2" style="background:#0099ff...")
 
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
<includeonly>[[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%;"
 
|-
 
|-
| colspan="2" style="background:#0099ff; text-align:center" | '''{{{RankName}}}'''
+
| colspan="2" style="background:#0099ff; text-align:center" | '''{{{RankName| Private}}}'''
 
|-
 
|-
| colspan="2" style="border-bottom:1px solid #aaaaaa; text-align:center" | [[File:{{{RankImg}}}|100px]]
+
| colspan="2" style="border-bottom:1px solid #aaaaaa; text-align:center" | {{{RankIMG| https://upload.wikimedia.org/wikipedia/commons/thumb/9/91/Army-USA-OR-02.svg/94px-Army-USA-OR-02.svg.png}}}
 
|-
 
|-
 
|'''Abbreviation'''
 
|'''Abbreviation'''
|{{{Abbrev}}}
+
|{{{Abbrev| PVT}}}
 
|-
 
|-
 
|'''Pay Grade'''
 
|'''Pay Grade'''
|''{{{PayGrade}}}''
+
|''{{{PayGrade| E-2}}}''
 
|-
 
|-
 
|'''NATO Code'''
 
|'''NATO Code'''
|{{{NATOCode}}}
+
|''{{{NATOCode| OR-2}}}''
 +
|- {{#if: {{{NextLower|}}} | | style="display: none;" }}
 +
|'''Previous Rank'''
 +
|''{{{NextLower|}}}''
 +
|- {{#if: {{{NextHigher|}}} | | style="display: none;" }}
 +
|'''Next Rank'''
 +
|''{{{NextHigher|}}}''
 
|}
 
|}
 +
 +
<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>

Latest revision as of 10:23, 28 February 2017


Private
94px-Army-USA-OR-02.svg.png
Abbreviation PVT
Pay Grade E-2
NATO Code OR-2
Previous Rank '
Next 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