模板: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 |