24,090
edits
No edit summary |
(restored back to last version) |
||
(40 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{(!}} | <includeonly>{{#switch: {{{MAX|}}} | ||
!colspan{{=}}2{{!}}<small>[[ | |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 | |||
!colspan{{=}}2{{!}}{{#switch:{{{LABEL|}}}|off=|Awards=<small>[[Awards]]</small>|Service Ribbons=<small>[[Service Ribbons]]</small>|<small>[[Awards]] & [[Service Ribbons]]</small>}} | |||
{{#if: {{{Color|}}}|{{(!}}border{{=}}1 align{{=}}center style{{=}}"border:thin white solid; background:#{{FCBGColor|{{{Color}}}}}"|{{!-}}}} | |||
{{Ribboncheck|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}}} | |||
{{!-}} | {{!-}} | ||
{{Ribboncheck|{{{ | {{Ribboncheck|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}}} | ||
{{!-}} | {{!-}} | ||
{{Ribboncheck|{{{ | {{Ribboncheck|{{{9|}}}|{{{10|}}}|{{{11|}}}|{{{12|}}}}} | ||
{{!-}} | {{!-}} | ||
{{Ribboncheck|{{{ | {{Ribboncheck|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}}} | ||
{{!-}} | {{!-}} | ||
{{Ribboncheck|{{{ | {{Ribboncheck|{{{17|}}}|{{{18|}}}|{{{19|}}}|{{{20|}}}}} | ||
{{!-}} | {{!-}} | ||
{{Ribboncheck|{{{ | {{Ribboncheck|{{{21|}}}|{{{22|}}}|{{{23|}}}|{{{24|}}}}} | ||
{{!-}} | {{!-}} | ||
{{Ribboncheck|{{{ | {{Ribboncheck|{{{25|}}}|{{{26|}}}|{{{27|}}}|{{{28|}}}}} | ||
{{!-}} | {{!-}} | ||
{{Ribboncheck|{{{ | {{Ribboncheck|{{{29|}}}|{{{30|}}}|{{{31|}}}|{{{32|}}}}} | ||
{{!-}} | {{!-}} | ||
{{Ribboncheck|{{{ | {{Ribboncheck|{{{33|}}}|{{{34|}}}|{{{35|}}}|{{{36|}}}}} | ||
{{!-}} | {{!-}} | ||
{{Ribboncheck|{{{ | {{Ribboncheck|{{{37|}}}|{{{38|}}}|{{{39|}}}|{{{40|}}}}} | ||
{{!-}} | {{!-}} | ||
{{Ribboncheck|{{{ | {{Ribboncheck|{{{41|}}}|{{{42|}}}|{{{43|}}}|{{{44|}}}}} | ||
{{Ribboncheck|{{{39|}}}|{{{ | {{!-}} | ||
{{!)}}</includeonly><noinclude>Creates a rack of ribbons for display in a sidebar. Use ribbon names as outlined in [[Template:Ribbons]] | {{Ribboncheck|{{{45|}}}|{{{46|}}}|{{{47|}}}|{{{48|}}}}} | ||
{{!-}} | |||
{{Ribboncheck|{{{49|}}}|{{{50|}}}|{{{51|}}}|{{{52|}}}}} | |||
{{!-}} | |||
{{Ribboncheck|{{{53|}}}|{{{54|}}}|{{{55|}}}|{{{56|}}}}} | |||
{{!-}} | |||
{{Ribboncheck|{{{57|}}}|{{{58|}}}|{{{59|}}}|{{{60|}}}}} | |||
{{!-}} | |||
{{Ribboncheck|{{{61|}}}|{{{62|}}}|{{{63|}}}|{{{64|}}}}} | |||
{{!-}} | |||
{{Ribboncheck|{{{65|}}}|{{{66|}}}|{{{67|}}}|{{{68|}}}}} | |||
{{!-}} | |||
{{Ribboncheck|{{{69|}}}|{{{70|}}}|{{{71|}}}|{{{72|}}}}} | |||
{{!-}} | |||
{{Ribboncheck|{{{73|}}}|{{{74|}}}|{{{75|}}}|{{{76|}}}}} | |||
{{!-}} | |||
{{Ribboncheck|{{{77|}}}|{{{78|}}}|{{{79|}}}|{{{80|}}}}} | |||
{{!-}} | |||
{{Ribboncheck|{{{81|}}}|{{{82|}}}|{{{83|}}}|{{{84|}}}}} | |||
{{!-}} | |||
{{Ribboncheck|{{{85|}}}|{{{86|}}}|{{{87|}}}|{{{88|}}}}} | |||
{{!-}} | |||
{{Ribboncheck|{{{89|}}}|{{{90|}}}|{{{91|}}}|{{{92|}}}}} | |||
{{!-}} | |||
{{Ribboncheck|{{{93|}}}|{{{94|}}}|{{{95|}}}|{{{96|}}}}} | |||
{{!-}} | |||
{{Ribboncheck|{{{97|}}}|{{{98|}}}|{{{99|}}}|{{{100|}}}}} | |||
{{#if: {{{Color|}}}|{{!)}}|}} | |||
{{!)}} | |||
{{!-}} | |||
{{!}} | |||
{{{!}}align{{=}}center | |||
{{!}}class{{=}}"mw-collapsible mw-collapsed" data-expandtext{{=}}"Click to see full ribbons list." data-collapsetext{{=}}"Hide list" style{{=}}"font-size:x-small"{{!}} | |||
<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> | |||
{{Sidebar | |||
|NAME = Ayelet Kadosh | |||
|SHIP = Deep Space 17 | |||
|RANK = Lieutenant JG | |||
|PIPSTYLE = DS9 | |||
|POST = Nurse | |||
|COLOR = Teal | |||
|SPECIES = Human | |||
|GENDER = Female | |||
|BIRTHMONTH = 08 | |||
|BIRTHDATE = 18 | |||
|BIRTHYEAR = 2353 | |||
|BIRTHPLACE = Haifa, Earth | |||
|IMAGE = Ayelet kadosh.jpg | |||
|EXTRA = | |||
{{Ribbons Rack | |||
|TOSMA|1 | |||
|Legion of Merit|4 | |||
|Silver Star|7 | |||
|Purple Heart|2 | |||
|Vaadwaur Invasion Campaign Ribbon|1 | |||
|Gold Lifesaving Ribbon|2r | |||
}} | |||
}} | |||
:''Need a template for your sidebar itself? Check out [[Template:Sidebar]] or [[Template:LCARS-Sidebar]]!'' | |||
:''To display all of your collected awards and service ribbons in a display case for your bio, use [[Template:Ribbons Display]].'' | |||
Creates a rack of ribbons for display in a sidebar. Use ribbon names as outlined in [[Template:Ribbons]] | |||
<pre> | <pre> | ||
Line 37: | Line 98: | ||
|First Ribbon|Number of Times Awarded | |First Ribbon|Number of Times Awarded | ||
|Second Ribbons|Number of Times Awarded | |Second Ribbons|Number of Times Awarded | ||
and so forth up to | and so forth up to 50 ribbons | ||
}} | }} | ||
</pre> | </pre> | ||
=== | ==Examples== | ||
===Even number of ribbons=== | |||
<pre> | <pre> | ||
{{Ribbons Rack | {{Ribbons Rack | ||
Line 61: | Line 123: | ||
|Gold Lifesaving Ribbon|2r | |Gold Lifesaving Ribbon|2r | ||
}} | }} | ||
===Odd number of ribbons=== | |||
<pre> | |||
{{Ribbons Rack | |||
|Hobus Heroism Ribbon|1 | |||
|UFP Medal of Freedom|2 | |||
|Rising Star Award|1 | |||
|Silver Palm|1 | |||
|Picard Award|1 | |||
}} | |||
</pre> | |||
{{Ribbons Rack | |||
|Hobus Heroism Ribbon|1 | |||
|UFP Medal of Freedom|2 | |||
|Rising Star Award|1 | |||
|Silver Palm|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> |