Template:Ribbon devices/device/doc
This is a documentation subpage for Template:Ribbon devices/device. It contains usage information, categories and other content that is not part of the original template page. |
This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
This is a subtemplate of {{ribbon devices}} and is not intended to be used as a standalone template. It renders an individual ribbon device inside a <div>
with the given top and left positions, sized properly for a ribbon of the specified width.
Usage
{{ribbon devices/device|left_pos_in_px|top_pos_in_px|device_id|ribbon_width}}
Supported devices
device_id
|
Description | |
---|---|---|
bo
|
Bronze oak leaf cluster | |
so
|
Silver oak leaf cluster | |
go
|
Gold oak leaf cluster | |
bss
|
Bronze service star | |
sss
|
Silver service star | |
gas
|
Gold award star | |
sas
|
Silver award star | |
v
|
Valor device | |
nv
|
Combat Distinguishing Device for the Naval Service | |
arrowhead
|
Arrowhead device | |
fmf
|
Fleet Marine Force Combat Operations Insignia | |
odd
|
Operational Distinguishing Device | |
a
|
"A" Device | |
expert
|
Marksmanship Device | |
1
|
||
2
|
||
3
|
||
4
|
||
default | Transparent device – invalid or no input |