Template:Ribbon devices/doc/sandbox
{{Documentation subpage}}
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, gold "V", Fleet Marine Force Combat Operation Insignia, and Operational Distinguishing Device. Variables are as follows:
class="wikitable" |
Variable
!Description ! style="width:17em;" | Values !Default value |
---|
{{mxt|number}}
|Number of multi-award devices to show (not including "other" devices). Use {{mxt|0}} to show just the ribbon, optionally with an "other device". |{{mxt|0}}–{{mxt|23}} |{{mxt|0}} |
{{mxt|type}}
|Type of multi-award device(s) to show. For any other or missing value, oak clusters are shown. |{{mxt|award-star, service-star}} | |
{{mxt|branch}}
|Service branch. If {{mxt|nmc}}, use Navy- / Marines-style arrangement of devices. For any other or missing value, Army- / Air Force-style arrangement is used. |{{mxt|nmc}} | |
{{mxt|other_device}}
|Other device to show (default is none) |{{mxt|arrowhead, v, nv, fmf, odd}} | |
{{mxt|name}}
|Name of ribbon image, without the {{mxt|Image:}} prefix or {{mxt|.svg}} suffix | | |
{{mxt|ribbon}}
|Any image, without the {{mxt|Image:}} prefix. Do not specify if {{para|name}} is also specified. | | |
{{mxt|alt}}
|Alt text for ribbon image. The default alt text is derived from {{para|name}} using the lookup table in {{tl|ribbon devices/alt}}. | | |
{{mxt|width}}
|Width of ribbon image to display, in pixels |{{mxt|106, 80, 60}} |{{mxt|106}} |
;Examples
{{ribbon devices/sandbox|number=6|type=oak|other_device=v|name=Bronze Star ribbon|width=106}}
| |
{{ribbon devices/sandbox|number=6|type=oak|branch=nmc|other_device=v|name=Bronze Star ribbon|width=106}}
| |
{{ribbon devices/sandbox|number=8|type=oak|other_device=v|name=Bronze Star ribbon|width=106}}
| |
{{ribbon devices/sandbox|number=6|type=award-star|name=Meritorious Service ribbon|width=106}}
| |
{{ribbon devices/sandbox|number=7|type=service-star|other_device=arrowhead|name=Asiatic-Pacific Campaign ribbon|width=106}}
| |
{{ribbon devices/sandbox|number=0|other_device=fmf|name=Global War on Terrorism Expeditionary ribbon|width=106}}
| |
{{ribbon devices/sandbox|number=0|other_device=nv|name=Global War on Terrorism Expeditionary ribbon|width=106}}
| |
{{ribbon devices/sandbox|number=0|other_device=odd|name=Global War on Terrorism Expeditionary ribbon|width=106}}
| |
= Subtemplates =
This template makes use of some subtemplates, which are not intended to be used as standalone templates. They are: {{tl2|RDDL/sandbox}}, {{tl2|RDDT/sandbox}}, {{tl2|ribbon devices/device}}, and {{tl2|ribbon devices/alt}}. To add a new other_device
, modify {{tl2|ribbon devices/device}}. To add alt text for a new ribbon, modify {{tl2|ribbon devices/alt}}.
Category:Military decorations and medals templates
Category:United States military templates
}}