24,090
edits
No edit summary |
(restored back to last version) |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{(!}}align{{=}}center | <includeonly>{{#switch: {{{MAX|}}} | ||
|3={{Ribbons Rack-3|LABEL={{{LABEL|}}}|Color={{{Color|}}}|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|{{{11|}}}|{{{12|}}}|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}|{{{17|}}}|{{{18|}}}|{{{19|}}}|{{{20|}}}|{{{21|}}}|{{{22|}}}|{{{23|}}}|{{{24|}}}|{{{25|}}}|{{{26|}}}|{{{27|}}}|{{{28|}}}|{{{29|}}}|{{{30|}}}|{{{31|}}}|{{{32|}}}|{{{33|}}}|{{{34|}}}|{{{35|}}}|{{{36|}}}|{{{37|}}}|{{{38|}}}|{{{39|}}}|{{{40|}}}|{{{41|}}}|{{{42|}}}|{{{43|}}}|{{{44|}}}|{{{45|}}}|{{{46|}}}|{{{47|}}}|{{{48|}}}|{{{49|}}}|{{{50|}}}|{{{51|}}}|{{{52|}}}|{{{53|}}}|{{{54|}}}|{{{55|}}}|{{{56|}}}|{{{57|}}}|{{{58|}}}|{{{59|}}}|{{{60|}}}|{{{61|}}}|{{{62|}}}|{{{63|}}}|{{{64|}}}|{{{65|}}}|{{{66|}}}|{{{67|}}}|{{{68|}}}|{{{69|}}}|{{{70|}}}|{{{71|}}}|{{{72|}}}|{{{73|}}}|{{{74|}}}|{{{75|}}}|{{{76|}}}|{{{77|}}}|{{{78|}}}|{{{79|}}}|{{{80|}}}|{{{81|}}}|{{{82|}}}|{{{83|}}}|{{{84|}}}|{{{85|}}}|{{{86|}}}|{{{87|}}}|{{{88|}}}|{{{89|}}}|{{{90|}}}|{{{91|}}}|{{{92|}}}|{{{93|}}}|{{{94|}}}|{{{95|}}}|{{{96|}}}|{{{97|}}}|{{{98|}}}|{{{99|}}}|{{{100|}}}|{{{101|}}}|{{{102|}}}}} | |||
|{{(!}}align{{=}}center | |||
{{!}} | {{!}} | ||
{{(!}}align{{=}}center | {{(!}}align{{=}}center | ||
!colspan{{=}}2{{!}}{{#switch:{{{LABEL|}}}|off=|Awards=<small>[[Awards]]</small>|Service Ribbons=<small>[[Service Ribbons]]</small>|<small>[[Awards]] & [[Service Ribbons]]</small>}} | !colspan{{=}}2{{!}}{{#switch:{{{LABEL|}}}|off=|Awards=<small>[[Awards]]</small>|Service Ribbons=<small>[[Service Ribbons]]</small>|<small>[[Awards]] & [[Service Ribbons]]</small>}} | ||
{{#if: {{{Color|}}}|{{(!}}border{{=}}1 style{{=}}"border:thin white solid; background:#{{FCBGColor|{{{Color}}}}}"|{{!-}}}} | {{#if: {{{Color|}}}|{{(!}}border{{=}}1 align{{=}}center style{{=}}"border:thin white solid; background:#{{FCBGColor|{{{Color}}}}}"|{{!-}}}} | ||
{{Ribboncheck|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}}} | {{Ribboncheck|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}}} | ||
{{!-}} | {{!-}} | ||
Line 61: | Line 63: | ||
<br>{{#if:{{{1|}}}|{{{1|}}}|}}{{#if:{{{3|}}}|<br>{{{3|}}}|}}{{#if:{{{5|}}}|<br>{{{5|}}}|}}{{#if:{{{7|}}}|<br>{{{7|}}}|}}{{#if:{{{9|}}}|<br>{{{9|}}}|}}{{#if:{{{11|}}}|<br>{{{11|}}}|}}{{#if:{{{13|}}}|<br>{{{13|}}}|}}{{#if:{{{15|}}}|<br>{{{15|}}}|}}{{#if:{{{17|}}}|<br>{{{17|}}}|}}{{#if:{{{19|}}}|<br>{{{19|}}}|}}{{#if:{{{21|}}}|<br>{{{21|}}}|}}{{#if:{{{23|}}}|<br>{{{23|}}}|}}{{#if:{{{25|}}}|<br>{{{25|}}}|}}{{#if:{{{27|}}}|<br>{{{27|}}}|}}{{#if:{{{29|}}}|<br>{{{29|}}}|}}{{#if:{{{31|}}}|<br>{{{31|}}}|}}{{#if:{{{33|}}}|<br>{{{33|}}}|}}{{#if:{{{35|}}}|<br>{{{35|}}}|}}{{#if:{{{37|}}}|<br>{{{37|}}}|}}{{#if:{{{39|}}}|<br>{{{39|}}}|}}{{#if:{{{41|}}}|<br>{{{41|}}}|}}{{#if:{{{43|}}}|<br>{{{43|}}}|}}{{#if:{{{45|}}}|<br>{{{45|}}}|}}{{#if:{{{47|}}}|<br>{{{47|}}}|}}{{#if:{{{49|}}}|<br>{{{49|}}}|}}{{#if:{{{51|}}}|<br>{{{51|}}}|}}{{#if:{{{53|}}}|<br>{{{53|}}}|}}{{#if:{{{55|}}}|<br>{{{55|}}}|}}{{#if:{{{57|}}}|<br>{{{57|}}}|}}{{#if:{{{59|}}}|<br>{{{59|}}}|}}{{#if:{{{61|}}}|<br>{{{61|}}}|}}{{#if:{{{63|}}}|<br>{{{63|}}}|}}{{#if:{{{65|}}}|<br>{{{65|}}}|}}{{#if:{{{67|}}}|<br>{{{67|}}}|}}{{#if:{{{69|}}}|<br>{{{69|}}}|}}{{#if:{{{71|}}}|<br>{{{71|}}}|}}{{#if:{{{73|}}}|<br>{{{73|}}}|}}{{#if:{{{75|}}}|<br>{{{75|}}}|}}{{#if:{{{77|}}}|<br>{{{77|}}}|}}{{#if:{{{79|}}}|<br>{{{79|}}}|}}{{#if:{{{81|}}}|<br>{{{81|}}}|}}{{#if:{{{83|}}}|<br>{{{83|}}}|}}{{#if:{{{85|}}}|<br>{{{85|}}}|}}{{#if:{{{87|}}}|<br>{{{87|}}}|}}{{#if:{{{89|}}}|<br>{{{89|}}}|}}{{#if:{{{91|}}}|<br>{{{91|}}}|}}{{#if:{{{93|}}}|<br>{{{93|}}}|}}{{#if:{{{95|}}}|<br>{{{95|}}}|}}{{#if:{{{97|}}}|<br>{{{97|}}}|}}{{#if:{{{99|}}}|<br>{{{99|}}}|}} | <br>{{#if:{{{1|}}}|{{{1|}}}|}}{{#if:{{{3|}}}|<br>{{{3|}}}|}}{{#if:{{{5|}}}|<br>{{{5|}}}|}}{{#if:{{{7|}}}|<br>{{{7|}}}|}}{{#if:{{{9|}}}|<br>{{{9|}}}|}}{{#if:{{{11|}}}|<br>{{{11|}}}|}}{{#if:{{{13|}}}|<br>{{{13|}}}|}}{{#if:{{{15|}}}|<br>{{{15|}}}|}}{{#if:{{{17|}}}|<br>{{{17|}}}|}}{{#if:{{{19|}}}|<br>{{{19|}}}|}}{{#if:{{{21|}}}|<br>{{{21|}}}|}}{{#if:{{{23|}}}|<br>{{{23|}}}|}}{{#if:{{{25|}}}|<br>{{{25|}}}|}}{{#if:{{{27|}}}|<br>{{{27|}}}|}}{{#if:{{{29|}}}|<br>{{{29|}}}|}}{{#if:{{{31|}}}|<br>{{{31|}}}|}}{{#if:{{{33|}}}|<br>{{{33|}}}|}}{{#if:{{{35|}}}|<br>{{{35|}}}|}}{{#if:{{{37|}}}|<br>{{{37|}}}|}}{{#if:{{{39|}}}|<br>{{{39|}}}|}}{{#if:{{{41|}}}|<br>{{{41|}}}|}}{{#if:{{{43|}}}|<br>{{{43|}}}|}}{{#if:{{{45|}}}|<br>{{{45|}}}|}}{{#if:{{{47|}}}|<br>{{{47|}}}|}}{{#if:{{{49|}}}|<br>{{{49|}}}|}}{{#if:{{{51|}}}|<br>{{{51|}}}|}}{{#if:{{{53|}}}|<br>{{{53|}}}|}}{{#if:{{{55|}}}|<br>{{{55|}}}|}}{{#if:{{{57|}}}|<br>{{{57|}}}|}}{{#if:{{{59|}}}|<br>{{{59|}}}|}}{{#if:{{{61|}}}|<br>{{{61|}}}|}}{{#if:{{{63|}}}|<br>{{{63|}}}|}}{{#if:{{{65|}}}|<br>{{{65|}}}|}}{{#if:{{{67|}}}|<br>{{{67|}}}|}}{{#if:{{{69|}}}|<br>{{{69|}}}|}}{{#if:{{{71|}}}|<br>{{{71|}}}|}}{{#if:{{{73|}}}|<br>{{{73|}}}|}}{{#if:{{{75|}}}|<br>{{{75|}}}|}}{{#if:{{{77|}}}|<br>{{{77|}}}|}}{{#if:{{{79|}}}|<br>{{{79|}}}|}}{{#if:{{{81|}}}|<br>{{{81|}}}|}}{{#if:{{{83|}}}|<br>{{{83|}}}|}}{{#if:{{{85|}}}|<br>{{{85|}}}|}}{{#if:{{{87|}}}|<br>{{{87|}}}|}}{{#if:{{{89|}}}|<br>{{{89|}}}|}}{{#if:{{{91|}}}|<br>{{{91|}}}|}}{{#if:{{{93|}}}|<br>{{{93|}}}|}}{{#if:{{{95|}}}|<br>{{{95|}}}|}}{{#if:{{{97|}}}|<br>{{{97|}}}|}}{{#if:{{{99|}}}|<br>{{{99|}}}|}} | ||
{{!)}} | {{!)}} | ||
{{!)}}</includeonly><noinclude> | {{!)}} | ||
}}</includeonly><noinclude> | |||
{{Sidebar | {{Sidebar | ||
|NAME = Ayelet Kadosh | |NAME = Ayelet Kadosh | ||
Line 99: | Line 102: | ||
</pre> | </pre> | ||
==Examples== | |||
===Even number of ribbons=== | |||
<pre> | <pre> | ||
{{Ribbons Rack | {{Ribbons Rack | ||
Line 122: | Line 125: | ||
===Odd number of ribbons=== | |||
<pre> | <pre> | ||
{{Ribbons Rack | {{Ribbons Rack | ||
Line 140: | Line 143: | ||
|Picard Award|1 | |Picard Award|1 | ||
}} | }} | ||
==Custom label options== | |||
By default, the rack will display a label with links to both the awards and service ribbons pages. If you wish to separate your awards and service ribbons into two distinct racks, you can mark a specific rack as either for awards or service ribbons using the LABEL= option (LABEL=Awards or LABEL=Service Ribbons). You can also turn off the label by putting LABEL=off. | |||
<pre> | |||
{{Ribbons Rack|LABEL=Service Ribbons | |||
|Starfleet Academy Graduate Ribbon|1 | |||
|Prometheus Ribbon|1 | |||
|Diplomacy Ribbon|1 | |||
|Joint Meritorious Unit Award|2 | |||
|Purple Heart|1 | |||
|UFP Medal of Freedom|1 | |||
|Prisoner of War Ribbon|1 | |||
|Silver Star|1 | |||
}} | |||
{{Ribbons Rack|LABEL=Awards | |||
|Neelix Award|1 | |||
|TOSMA|1 | |||
|Silver Palm|1 | |||
|Nebula Bar|1 | |||
|B-Plot Award|2 | |||
|Sheathed Sword|1 | |||
|Order of the Valiant Heart|1 | |||
|Strange Medallion|1 | |||
|Rising Star Award|1 | |||
|Locutus Award|1 | |||
|3-year Member|1 | |||
}} | |||
</pre> | |||
{{Ribbons Rack|LABEL=Service Ribbons | |||
|Starfleet Academy Graduate Ribbon|1 | |||
|Prometheus Ribbon|1 | |||
|Diplomacy Ribbon|1 | |||
|Joint Meritorious Unit Award|2 | |||
|Purple Heart|1 | |||
|UFP Medal of Freedom|1 | |||
|Prisoner of War Ribbon|1 | |||
|Silver Star|1 | |||
}} | |||
{{Ribbons Rack|LABEL=Awards | |||
|Neelix Award|1 | |||
|TOSMA|1 | |||
|Silver Palm|1 | |||
|Nebula Bar|1 | |||
|B-Plot Award|2 | |||
|Sheathed Sword|1 | |||
|Order of the Valiant Heart|1 | |||
|Strange Medallion|1 | |||
|Rising Star Award|1 | |||
|Locutus Award|1 | |||
|3-year Member|1 | |||
}} | |||
<pre> | |||
{{Ribbons Rack|LABEL=off | |||
|TOSMA|1 | |||
|Legion of Merit|4 | |||
|Silver Star|7 | |||
|Purple Heart|2 | |||
|Vaadwaur Invasion Campaign Ribbon|1 | |||
|Gold Lifesaving Ribbon|2r | |||
}} | |||
</pre> | |||
{{Ribbons Rack|LABEL=off | |||
|TOSMA|1 | |||
|Legion of Merit|4 | |||
|Silver Star|7 | |||
|Purple Heart|2 | |||
|Vaadwaur Invasion Campaign Ribbon|1 | |||
|Gold Lifesaving Ribbon|2r | |||
}} | |||
==Changing from 2 ribbons per row to 3 ribbons per row== | |||
{{Sidebar | |||
|NAME = Lidia Ivanova | |||
|SHIP = Astrofori One | |||
|RANK = Lieutenant | |||
|PIPSTYLE = | |||
|POST = Security Officer | |||
|COLOR = Gold | |||
|SPECIES = Human | |||
|GENDER = Female | |||
|BIRTHMONTH = 10 | |||
|BIRTHDATE = 18 | |||
|BIRTHYEAR = 2359 | |||
|BIRTHPLACE = Saratov, Earth | |||
|IMAGE = Lidia ivanova.jpg | |||
|EXTRA = | |||
{{Ribbons Rack|LABEL=Service Ribbons|MAX=3 | |||
|Starfleet Academy Graduate Ribbon|1 | |||
|Prometheus Ribbon|1 | |||
|Diplomacy Ribbon|1 | |||
|Joint Meritorious Unit Award|2 | |||
|Purple Heart|1 | |||
|UFP Medal of Freedom|1 | |||
|Prisoner of War Ribbon|1 | |||
|Silver Star|1 | |||
}} | |||
{{Ribbons Rack|LABEL=Awards|MAX=3 | |||
|TOSMA|1 | |||
|Scotty Cross|1 | |||
|Sarpeidon Award|1 | |||
|Prantares Ribbon|1 | |||
|B-Plot Award|1 | |||
|Neelix Award|1 | |||
|3-year Member|1 | |||
}} | |||
}} | |||
By default, the template displays 2 ribbons per row, up to 50 ribbons. | |||
<pre style="white-space:pre-wrap"> | |||
{{Ribbons Rack | |||
|Starfleet Academy Graduate Ribbon|1 | |||
|Prometheus Ribbon|1 | |||
|Diplomacy Ribbon|1 | |||
|Joint Meritorious Unit Award|2 | |||
|Purple Heart|1 | |||
|UFP Medal of Freedom|1 | |||
|Prisoner of War Ribbon|1 | |||
|Silver Star|1 | |||
}}</pre> | |||
{{Ribbons Rack | |||
|Starfleet Academy Graduate Ribbon|1 | |||
|Prometheus Ribbon|1 | |||
|Diplomacy Ribbon|1 | |||
|Joint Meritorious Unit Award|2 | |||
|Purple Heart|1 | |||
|UFP Medal of Freedom|1 | |||
|Prisoner of War Ribbon|1 | |||
|Silver Star|1 | |||
}} | |||
You can change the display to a maximum of 3 ribbons per row, up to 51 ribbons, by specifying MAX=3. | |||
<pre style="white-space:pre-wrap"> | |||
{{Ribbons Rack|MAX=3 | |||
|Starfleet Academy Graduate Ribbon|1 | |||
|Prometheus Ribbon|1 | |||
|Diplomacy Ribbon|1 | |||
|Joint Meritorious Unit Award|2 | |||
|Purple Heart|1 | |||
|UFP Medal of Freedom|1 | |||
|Prisoner of War Ribbon|1 | |||
|Silver Star|1 | |||
}}</pre> | |||
{{Ribbons Rack|MAX=3 | |||
|Starfleet Academy Graduate Ribbon|1 | |||
|Prometheus Ribbon|1 | |||
|Diplomacy Ribbon|1 | |||
|Joint Meritorious Unit Award|2 | |||
|Purple Heart|1 | |||
|UFP Medal of Freedom|1 | |||
|Prisoner of War Ribbon|1 | |||
|Silver Star|1 | |||
}} | |||
==Questions/Comments== | |||
[[User:Rich|'''♫ Rich''']]▪ [[User talk:Rich|<small>Send Message</small>]] | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |