Template:Ribbon devices: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
Tags: Undo Reverted |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifexpr: {{{number|0}}} + {{#if:{{{other_device|}}}|1|0}} > 0 | <includeonly>{{#ifexpr: {{{number|0}}} + {{#if:{{{other_device|}}}|1|0}} > 0 | ||
|<div style="position:relative; width: | |<div style="position:relative; width:{{{width|106}}}px; border:none; line-height:1.5em; display:-moz-inline-stack; display:inline-block; zoom:1; *display:inline;"><!-- | ||
--><div style="position:relative; display:inline-block;"><!-- | --><div style="position:relative; display:inline-block;"><!-- | ||
Line 7: | Line 7: | ||
1 | 1 | ||
-->|1={{#if:{{{other_device|}}} | -->|1={{#if:{{{other_device|}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|2|{{{other_device}}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|1|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
}}<!-- | }}<!-- | ||
2 | 2 | ||
-->|2={{#if:{{{other_device|}}} | -->|2={{#if:{{{other_device|}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|3|{{{other_device}}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|2|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
}}<!-- | }}<!-- | ||
3 | 3 | ||
-->|3={{#if:{{{other_device|}}} | -->|3={{#if:{{{other_device|}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|4|{{{other_device}}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|3|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
}}<!-- | }}<!-- | ||
4 | 4 | ||
-->|4={{#if:{{{other_device|}}} | -->|4={{#if:{{{other_device|}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|5|{{{other_device}}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|4|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
}}<!-- | }}<!-- | ||
5 | 5 | ||
-->|5={{#if:{{{other_device|}}} | -->|5={{#if:{{{other_device|}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|2|{{{other_device}}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|1|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}}} | ||
}}<!-- | }}<!-- | ||
6 | 6 | ||
-->|6={{#if:{{{other_device|}}} | -->|6={{#if:{{{other_device|}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|3|{{{other_device}}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|2|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
}}<!-- | }}<!-- | ||
7 | 7 | ||
-->|7={{#if:{{{other_device|}}} | -->|7={{#if:{{{other_device|}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|4|{{{other_device}}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|3|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
}}<!-- | }}<!-- | ||
8 | 8 | ||
-->|8={{#if:{{{other_device|}}} | -->|8={{#if:{{{other_device|}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|5|{{{other_device}}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|4|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
}}<!-- | }}<!-- | ||
9 | 9 | ||
-->|9={{#if:{{{other_device|}}} | -->|9={{#if:{{{other_device|}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|6|{{{other_device}}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|5|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
}}<!-- | }}<!-- | ||
10 | 10 | ||
-->|10={{#if:{{{other_device|}}} | -->|10={{#if:{{{other_device|}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|3|{{{other_device}}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|2|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}}} | ||
}}<!-- | }}<!-- | ||
11 | 11 | ||
-->|11={{#if:{{{other_device|}}} | -->|11={{#if:{{{other_device|}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|4|{{{other_device}}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|3|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
}}<!-- | }}<!-- | ||
12 | 12 | ||
-->|12={{#if:{{{other_device|}}} | -->|12={{#if:{{{other_device|}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|5|{{{other_device}}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|4|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
}}<!-- | }}<!-- | ||
13 | 13 | ||
-->|13={{#if:{{{other_device|}}} | -->|13={{#if:{{{other_device|}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|6|{{{other_device}}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|5|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
}}<!-- | }}<!-- | ||
14 | 14 | ||
-->|14={{#if:{{{other_device|}}} | -->|14={{#if:{{{other_device|}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|7|{{{other_device}}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|6|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
}}<!-- | }}<!-- | ||
15 | 15 | ||
-->|15={{#if:{{{other_device|}}} | -->|15={{#if:{{{other_device|}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|4|{{{other_device}}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|3|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}}} | ||
}}<!-- | }}<!-- | ||
16 | 16 | ||
-->|16={{#if:{{{other_device|}}} | -->|16={{#if:{{{other_device|}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|5|{{{other_device}}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|4|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
}}<!-- | }}<!-- | ||
17 | 17 | ||
-->|17={{#if:{{{other_device|}}} | -->|17={{#if:{{{other_device|}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|6|{{{other_device}}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|5|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
}}<!-- | }}<!-- | ||
18 | 18 | ||
-->|18={{#if:{{{other_device|}}} | -->|18={{#if:{{{other_device|}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|7|{{{other_device}}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|6|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
}}<!-- | }}<!-- | ||
19 | 19 | ||
-->|19={{#if:{{{other_device|}}} | -->|19={{#if:{{{other_device|}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|8|{{{other_device}}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|7|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
}}<!-- | }}<!-- | ||
20 | 20 | ||
-->|20={{#if:{{{other_device|}}} | -->|20={{#if:{{{other_device|}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|5|{{{other_device}}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|4|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}}} | ||
}}<!-- | }}<!-- | ||
21 | 21 | ||
-->|21={{#if:{{{other_device|}}} | -->|21={{#if:{{{other_device|}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|6|{{{other_device}}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|5|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
}}<!-- | }}<!-- | ||
22 | 22 | ||
-->|22={{#if:{{{other_device|}}} | -->|22={{#if:{{{other_device|}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|7|{{{other_device}}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|6|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
}}<!-- | }}<!-- | ||
23 | 23 | ||
-->|23={{#if:{{{other_device|}}} | -->|23={{#if:{{{other_device|}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|8|{{{other_device}}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
|{{ribbon devices/device layout | |{{ribbon devices/device layout|{{{width|106}}}|7|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=so|award-star=sas|service-star=sss|so}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}|{{#switch:{{{type}}}|oak=bo|award-star=gas|service-star=bss|bo}}}} | ||
}}<!-- | }}<!-- | ||
0 (default) | 0 (default) | ||
-->|0 | -->|0 | ||
|#default={{#if:{{{other_device|}}}|{{ribbon devices/device layout | |#default={{#if:{{{other_device|}}}|{{ribbon devices/device layout|{{{width|106}}}|1|{{{other_device}}}}}}} | ||
<!-- /switch: {{number}} -->}}[[Image:{{{ribbon|{{{name}}}.svg}}} | <!-- /switch: {{number}} -->}}[[Image:{{{ribbon|{{{name}}}.svg}}}|{{{width|106}}}px|alt={{{alt|{{ribbon devices/alt|{{{name}}}}}}}}]]</div></div><!-- | ||
else | else | ||
-->|[[Image:{{{ribbon|{{{name}}}.svg}}} | -->|[[Image:{{{ribbon|{{{name}}}.svg}}}|{{{width|106}}}px|alt={{{alt|{{ribbon devices/alt|{{{name}}}}}}}}]]<!-- | ||
-->}}</includeonly><noinclude> | -->}}</includeonly><noinclude> | ||
{{ribbon devices|number=1|type=service star=bss|ribbon=Bosnian Campaign Medal.png|width=106}} | |||
{{Documentation}} | {{Documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here, except in certain cases.--> | <!-- Add categories and interwikis to the /doc subpage, not here, except in certain cases.--> | ||
</noinclude> | </noinclude> |
Revision as of 22:35, 1 January 2024
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
This template is used on approximately 4,600 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template will superimpose United States military award devices onto military award ribbons. It currently does oak leaf clusters, award stars, service stars (up to a numeric value of 24 total awards) as well as the Arrowhead device, Valor device, Combat V, Fleet Marine Force Combat Operations Insignia, and Operational Distinguishing Device. Variables are as follows:
Variable | Accepted values | Default value |
---|---|---|
number | 0–23 | 0 |
type | oak, award-star, service-star | oak |
other_device | arrowhead, v, nv, fmf, odd | |
name | Name of ribbon image, without the "Image:" prefix or ".svg" suffix | |
ribbon | Any image, without the "Image:" prefix. Do not specify if |name= is also specified.
|
|
alt | Alt text for ribbon image. The default alt text is derived from |name= using the lookup table in {{ribbon devices/alt}}.
|
|
width | 106, 80, 60 | 106 |
- Examples
{{ribbon devices|number=8|type=oak|other_device=v|name=Bronze Star ribbon|width=106}}
| |
{{ribbon devices|number=6|type=award-star|name=Meritorious Service ribbon|width=106}}
| |
{{ribbon devices|number=7|type=service-star|other_device=arrowhead|name=Asiatic-Pacific Campaign ribbon|width=106}}
| |
{{ribbon devices|number=0|other_device=fmf|name=Global War on Terrorism Expeditionary ribbon|width=106}}
|
Subtemplates
This template makes use of three subtemplates, which are not intended to be used as standalone templates. They are: {{ribbon devices/device layout}}
, {{ribbon devices/device}}
, and {{ribbon devices/alt}}
. To add a new other_device
, modify {{ribbon devices/device}}
. To add alt text for a new ribbon, modify {{ribbon devices/alt}}
.
See also
- {{Medal Display}}
- {{Ribbon}}