- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
Template:Ribbon devices
pee pee poo poo
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 ".png" suffix | |
ribbon | Any image, without the "Image:" prefix. Do not specify if Template:Para is also specified. | |
alt | Alt text for ribbon image. The default alt text is derived from Template:Para 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=Ribbon OPR.png|width=106}}
|
Subtemplates
This template makes use of three subtemplates, which are not intended to be used as standalone templates. They are: Template:Tl2, Template:Tl2, and Template:Tl2. To add a new other_device
, modify Template:Tl2. To add alt text for a new ribbon, modify Template:Tl2.