模板:Ribbon devices/device
本模板含有複雜而精密的擴展語法。 編輯本模板前,建議您先熟悉解析器函數與本模板的設計思路、運作原理等。若您的編輯引發了意外的問題,請儘快撤銷編輯,因為本模板可能被大量頁面使用。 您所作的編輯可先在模板沙盒或您的個人頁面中進行測試。 |
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 |