Template:Ribbon devices/device/doc
此頁面是Template:Ribbon devices/device的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
此頁面是Template:Ribbon devices/device的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
本模板含有複雜而精密的扩展语法。 編輯本模板前,建議您先熟悉解析器函數与本模板的设计思路、运作原理等。若您的編輯引發了意外的問題,請儘快撤銷編輯,因為本模板可能被大量頁面使用。 您所作的编辑可先在模板沙盒或您的个人页面中进行測試。 |
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 |