Template:Ribbons: Difference between revisions
(added right aligned option) |
(added Frontier Day Ribbon switch for campaign ribbon display) |
||
(69 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#switch: {{{1}}} | ||
#switch: {{{ | |Prometheus Ribbon = {{CampaignRibbons|{{{1}}}|{{{2|200}}}|{{{3|}}}}} | ||
|War of Shadows Ribbon = {{CampaignRibbons|{{{1}}}|{{{2|200}}}|{{{3|}}}}} | |||
|Project Capstone Ribbon = {{CampaignRibbons|{{{1}}}|{{{2|200}}}|{{{3|}}}}} | |||
|Denali Invitational Ribbon = {{CampaignRibbons|{{{1}}}|{{{2|200}}}|{{{3|}}}}} | |||
|Frontier Day Ribbon = {{CampaignRibbons|{{{1}}}|{{{2|200}}}|{{{3|}}}}} | |||
|{{StandardRibbons|{{{1}}}|{{{2|200}}}|{{{3|}}}}} | |||
}}</includeonly> | |||
<noinclude>{{Quote box | |||
<noinclude> | |||
{{Quote box | |||
|title = Multiple Service Ribbons Policy | |title = Multiple Service Ribbons Policy | ||
|quote = Any | |quote = Any [[service ribbon]] may be awarded multiple times. A '''gold star''' represents each repeated citation, and a '''silver star''' represents five additional citations (and therefore five gold stars). For certain campaign ribbons awarded for participation in multi-phase campaigns, '''bronze stars''' represent the completion of a specific number of campaign phases. | ||
|source = -The [[Captains Council]] | |source = -The [[Captains Council]] | ||
|width = 50% | |width = 50% | ||
Line 69: | Line 15: | ||
|qalign = center | |qalign = center | ||
}} | }} | ||
:''To display all of your collected awards and service ribbons in a display case for your bio, use '''[[Template:Ribbons Display]]'''.'' | |||
This template lets you call up any award or service ribbon just using the name of the ribbon itself instead of finding the exact filename. It also allows you to display multiple citations of a service ribbon. | |||
'' | {{Bluebox| | ||
===For Staff: Adding new ribbons to this template=== | |||
New ribbons should be added to the wiki as PNGs and by their official name (i.e., what you want the user to enter in for their ribbons rack, etc.). | |||
*For example, Quark's Bar is added to the wiki as [[:File:Quark's Bar.png]] | |||
*Laudean Commendation would be added to the wiki as [[:File:Laudean Commendation.png]] | |||
Edit the following template to add the newly created ribbon to the list of ribbons: | |||
* [[Template:Ribbons List]] | |||
}} | |||
<nowiki>{{ | ==How to use this template:== | ||
<nowiki>{{</nowiki>Ribbons|'''''name of service ribbon'''''|'''''width''' in pixels''|'''''number of times awarded (optional)'''''<nowiki>}}</nowiki> | |||
:'' | :''See [[Awards]] and [[Service Ribbons]] for more details about each award and ribbon. | ||
So for instance, just type in | So for instance, just type in | ||
<pre>{{Ribbons|Legion of Merit|200}}</pre> | |||
and you will get the Legion of Merit service ribbon returned at a width of 200 pixels: | |||
{{Ribbons|Legion of Merit|200}} | |||
If you earned the Legion of Merit four times, you'd type in | |||
<pre>{{Ribbons|Legion of Merit|200|4}}</pre> | |||
and you'll get the appropriate arrangement of stars! If you put your cursor over the image, the name of the ribbon will be displayed. | |||
{{Ribbons|Legion of Merit|200|4}} | |||
{{Ribbons | {{Ribbons List}} | ||
Let's say you've been awarded the Silver Star 7 times (wow!) and you want to display the ribbon at a width of 100 pixels. You'd type in: | Let's say you've been awarded the Silver Star 7 times (wow!) and you want to display the ribbon at a width of 100 pixels. You'd type in: | ||
<pre>{{Ribbons| | <pre>{{Ribbons|Silver Star|100|7}}</pre> | ||
and get | and get | ||
{{Ribbons| | {{Ribbons|Silver Star|100|7}} | ||
{| cellspacing="3" width="70%" | |||
|- valign="top" | |||
|bgcolor="#F5FAFF" style="border:1px solid #CEDFF2; padding:1em; padding-top:0.5em; padding-bottom:0em; color: black;"| | |||
===Right-aligned single star=== | ===Right-aligned single star=== | ||
Some service ribbons such as the Explorer’s Ribbon and the Gold and Silver Lifesaving Ribbons have a special design in the center. If you don't want to block it with your star, use '''2r''' and '''6r''' to display a gold (2 citations) and silver star (6 citations) respectively, aligned to the right of the ribbon's center. | Some service ribbons such as the '''Explorer’s Ribbon''' and the '''Gold and Silver Lifesaving Ribbons''' have a special design in the center. | ||
<center> | |||
[[File:Awards ServiceRibbons Explorers 2011.jpg|100px]] [[File:Awards ServiceRibbons LifesavingGold 2011.jpg|100px]] [[File:Awards ServiceRibbons LifesavingSilver 2011.jpg|100px]] | |||
</center> | |||
If you don't want to block it with your star, use '''2r''' and '''6r''' to display a gold (2 citations) and silver star (6 citations) respectively, aligned to the right of the ribbon's center. | |||
For instance, | For instance, | ||
<pre>{{Ribbons| | <pre>{{Ribbons|Silver Lifesaving Ribbon|100|2r}}</pre> | ||
gives you | gives you | ||
{{Ribbons| | {{Ribbons|Silver Lifesaving Ribbon|100|2r}} | ||
|} | |||
The template currently supports up to 11 citations of the same service ribbon, and yes, you can use this template to also display a single citation of the ribbon as well by leaving off the last number or putting a 1. | The template currently supports up to 11 citations of the same service ribbon, and yes, you can use this template to also display a single citation of the ribbon as well by leaving off the last number or putting a 1. | ||
==Bronze Stars for Multi-Phase Campaigns== | |||
Beginning with the [[Prometheus Incident]] (2392) campaign, characters can earn multiple bronze stars when participating in a multi-phase campaign. Each bronze star corresponds to participating in a mission in one phase of a campaign. | |||
For example, the Prometheus Incident campaign is comprised of three phases: | |||
{|border='2' cellspacing='0' | |||
|- | |||
| | |||
{|border='0' cellspacing='0' cellpadding='10' | |||
!colspan=2 style="background:#343434; color:white"|Campaign Phases | |||
|- | |||
|colspan=2|'''PHASE I''' | |||
*Begins on: 1 February 2392 | |||
*Ends on: 30 April 2392 | |||
|- | |||
|colspan=2|'''PHASE II''' | |||
*Begins on: 1 May 2392 | |||
*Ends on: 31 July 2392 | |||
|- | |||
|colspan=2|'''PHASE III''' | |||
*Begins on: 1 August 2392 | |||
*Ends on: 30 November 2392 | |||
|- | |||
!style="background:#343434; color:white"|Phases<br>Completed | |||
!style="background:#343434; color:white"|Ribbon | |||
|- | |||
!style="background:#C0C0C0"|Any 1 of the 3 | |||
! style="background:#343434;"|{{Ribbons|Prometheus Ribbon|120|1}} | |||
|- | |||
!style="background:#C0C0C0"|Any 2 of the 3 | |||
! style="background:#343434;"|{{Ribbons|Prometheus Ribbon|120|2}} | |||
|- | |||
!style="background:#C0C0C0"|All 3 phases | |||
! style="background:#343434;" |{{Ribbons|Prometheus Ribbon|120|3}} | |||
|} | |||
|} | |||
For campaigns with more than four phases, a silver star corresponds to five phases completed. | |||
===Specify phases completed as you would number of citations=== | |||
Template:Ribbons and all templates incorporating Template:Ribbons such as '''[[Template:Ribbons Display]]''' and '''[[Template:Ribbons Rack]]''' will automatically display bronze stars for such campaign ribbons. | |||
Simply specify the number of phases completed as you would specify the number of citations for any other ribbon, and the correct number of campaign stars will be displayed, starting with one bronze on the first citation of the campaign ribbon (as opposed to the display of gold stars, which begins only on the second citation of a typical service ribbon). | |||
{| | <pre> | ||
{{Ribbons Rack | |||
|Silver Star|3 | |||
| | |Prometheus Ribbon|3 | ||
}} | |||
| {{Ribbons| | </pre> | ||
{|align=left | |||
|{{Ribbons Rack | |||
|Silver Star|3 | |||
|Prometheus Ribbon|3 | |||
}} | |||
|} | |||
<br clear=all> | |||
==Reference Table== | |||
Here's how they all look at a width of 120 pixels: | |||
{|border='2' cellspacing='0' | |||
|- | |- | ||
| | |||
| | {|border='0' cellspacing='0' cellpadding='10' | ||
!style="background:#343434; color:white"|Citations | |||
!style="background:#343434; color:white"|Ribbon | |||
!style="background:#343434; color:white"|Wikicode | |||
|- | |- | ||
! | !style="background:#C0C0C0"|1 | ||
| {{Ribbons| | ! style="background:#343434;"|{{Ribbons|Silver Star|120}} | ||
|<nowiki>{{Ribbons|Silver Star|120}}</nowiki> | |||
|- | |- | ||
! | !style="background:#C0C0C0"|2 | ||
| {{Ribbons| | ! style="background:#343434;"|{{Ribbons|Silver Star|120|2}} | ||
|<nowiki>{{Ribbons|Silver Star|120|2}}</nowiki> | |||
|- | |- | ||
! | !style="background:#C0C0C0"|2r | ||
| {{Ribbons| | ! style="background:#343434;" |{{Ribbons|Silver Lifesaving Ribbon|120|2r}} | ||
|<nowiki>{{Ribbons|Silver Lifesaving Ribbon|120|2r}}</nowiki> | |||
|- | |- | ||
! | !style="background:#C0C0C0"|3 | ||
| {{Ribbons| | ! style="background:#343434;"|{{Ribbons|Silver Star|120|3}} | ||
|<nowiki>{{Ribbons|Silver Star|120|3}}</nowiki> | |||
|- | |- | ||
! | !style="background:#C0C0C0"|4 | ||
| {{Ribbons| | ! style="background:#343434;"|{{Ribbons|Silver Star|120|4}} | ||
|<nowiki>{{Ribbons|Silver Star|120|4}}</nowiki> | |||
|- | |- | ||
! | !style="background:#C0C0C0"|5 | ||
| {{Ribbons| | ! style="background:#343434;"|{{Ribbons|Silver Star|120|5}} | ||
|<nowiki>{{Ribbons|Silver Star|120|5}}</nowiki> | |||
|- | |- | ||
! | !style="background:#C0C0C0"|6 | ||
| {{Ribbons| | ! style="background:#343434;"|{{Ribbons|Silver Star|120|6}} | ||
|<nowiki>{{Ribbons|Silver Star|120|6}}</nowiki> | |||
|- | |- | ||
! | !style="background:#C0C0C0"|6r | ||
| {{Ribbons| | ! style="background:#343434;"|{{Ribbons|Explorer's Ribbon|120|6r}} | ||
|<nowiki>{{Ribbons|Explorer's Ribbon|120|6r}}</nowiki> | |||
|- | |- | ||
! | !style="background:#C0C0C0"|7 | ||
| {{Ribbons| | ! style="background:#343434;"|{{Ribbons|Silver Star|120|7}} | ||
|<nowiki>{{Ribbons|Silver Star|120|7}}</nowiki> | |||
|- | |- | ||
! | !style="background:#C0C0C0"|8 | ||
| {{Ribbons| | ! style="background:#343434;"|{{Ribbons|Silver Star|120|8}} | ||
|<nowiki>{{Ribbons|Silver Star|120|8}}</nowiki> | |||
|- | |- | ||
!11 | !style="background:#C0C0C0"|9 | ||
| {{Ribbons| | ! style="background:#343434;"|{{Ribbons|Silver Star|120|9}} | ||
|<nowiki>{{Ribbons|Silver Star|120|9}}</nowiki> | |||
|- | |||
!style="background:#C0C0C0"|10 | |||
! style="background:#343434;"|{{Ribbons|Silver Star|120|10}} | |||
|<nowiki>{{Ribbons|Silver Star|120|10}}</nowiki> | |||
|- | |||
!style="background:#C0C0C0"|11 | |||
! style="background:#343434;"|{{Ribbons|Silver Star|120|11}} | |||
|<nowiki>{{Ribbons|Silver Star|120|11}}</nowiki> | |||
|} | |||
|} | |} | ||
==Displaying Ribbons in a Ribbons Rack== | |||
And here's how it looks in a ribbons rack you can put in your sidebar, using [[Template:Ribbons Rack]]. | |||
{{Ribbons Rack | |||
|TOSMA|1 | |||
{ | |Legion of Merit|4 | ||
| | |Silver Star|7 | ||
|Purple Heart|2 | |||
| | |Vaadwaur Invasion Campaign Ribbon|1 | ||
|Gold Lifesaving Ribbon|2r | |||
| | }} | ||
| | |||
| | |||
| | |||
The code used for that: | The code used for that: | ||
<pre> | <pre> | ||
{| | {{Ribbons Rack | ||
| | |TOSMA|1 | ||
| | |Legion of Merit|4 | ||
| | |Silver Star|7 | ||
|Purple Heart|2 | |||
|Vaadwaur Invasion Campaign Ribbon|1 | |||
| | |Gold Lifesaving Ribbon|2r | ||
}} | |||
| | |||
| | |||
</pre> | </pre> | ||
==Problems or Questions?== | |||
Let [[User:Rich|Rich]] know! | Let [[User:Rich|Rich]] know! | ||
__NOTOC__ | |||
[[Category:Templates]] | [[Category:Templates]] | ||
[[Category:Commendations]] | [[Category:Commendations]] | ||
</noinclude> | </noinclude> |
Latest revision as of 23:22, 7 July 2024
Any service ribbon may be awarded multiple times. A gold star represents each repeated citation, and a silver star represents five additional citations (and therefore five gold stars). For certain campaign ribbons awarded for participation in multi-phase campaigns, bronze stars represent the completion of a specific number of campaign phases.
- To display all of your collected awards and service ribbons in a display case for your bio, use Template:Ribbons Display.
This template lets you call up any award or service ribbon just using the name of the ribbon itself instead of finding the exact filename. It also allows you to display multiple citations of a service ribbon.
For Staff: Adding new ribbons to this templateNew ribbons should be added to the wiki as PNGs and by their official name (i.e., what you want the user to enter in for their ribbons rack, etc.).
Edit the following template to add the newly created ribbon to the list of ribbons: |
How to use this template:
{{Ribbons|name of service ribbon|width in pixels|number of times awarded (optional)}}
- See Awards and Service Ribbons for more details about each award and ribbon.
So for instance, just type in
{{Ribbons|Legion of Merit|200}}
and you will get the Legion of Merit service ribbon returned at a width of 200 pixels:
If you earned the Legion of Merit four times, you'd type in
{{Ribbons|Legion of Merit|200|4}}
and you'll get the appropriate arrangement of stars! If you put your cursor over the image, the name of the ribbon will be displayed.
Use the following formal names:
|
Let's say you've been awarded the Silver Star 7 times (wow!) and you want to display the ribbon at a width of 100 pixels. You'd type in:
{{Ribbons|Silver Star|100|7}}
and get
Right-aligned single starSome service ribbons such as the Explorer’s Ribbon and the Gold and Silver Lifesaving Ribbons have a special design in the center. If you don't want to block it with your star, use 2r and 6r to display a gold (2 citations) and silver star (6 citations) respectively, aligned to the right of the ribbon's center. For instance, {{Ribbons|Silver Lifesaving Ribbon|100|2r}} gives you
|
The template currently supports up to 11 citations of the same service ribbon, and yes, you can use this template to also display a single citation of the ribbon as well by leaving off the last number or putting a 1.
Bronze Stars for Multi-Phase Campaigns
Beginning with the Prometheus Incident (2392) campaign, characters can earn multiple bronze stars when participating in a multi-phase campaign. Each bronze star corresponds to participating in a mission in one phase of a campaign.
For example, the Prometheus Incident campaign is comprised of three phases:
|
For campaigns with more than four phases, a silver star corresponds to five phases completed.
Specify phases completed as you would number of citations
Template:Ribbons and all templates incorporating Template:Ribbons such as Template:Ribbons Display and Template:Ribbons Rack will automatically display bronze stars for such campaign ribbons.
Simply specify the number of phases completed as you would specify the number of citations for any other ribbon, and the correct number of campaign stars will be displayed, starting with one bronze on the first citation of the campaign ribbon (as opposed to the display of gold stars, which begins only on the second citation of a typical service ribbon).
{{Ribbons Rack |Silver Star|3 |Prometheus Ribbon|3 }}
|
Reference Table
Here's how they all look at a width of 120 pixels:
|
Displaying Ribbons in a Ribbons Rack
And here's how it looks in a ribbons rack you can put in your sidebar, using Template:Ribbons Rack.
| ||||||||
|
The code used for that:
{{Ribbons Rack |TOSMA|1 |Legion of Merit|4 |Silver Star|7 |Purple Heart|2 |Vaadwaur Invasion Campaign Ribbon|1 |Gold Lifesaving Ribbon|2r }}
Problems or Questions?
Let Rich know!