Template:Ribbons Rack-3: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
No edit summary
(restored back to last version)
 
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
{{(!}}align{{=}}center cellspacing{{=}}0 cellpadding{{=}}0
{{(!}}align{{=}}center cellspacing{{=}}0 cellpadding{{=}}0
!colspan{{=}}3{{!}}{{#switch:{{{LABEL|}}}|off=|Awards=<small>[[Awards]]</small>|Service Ribbons=<small>[[Service Ribbons]]</small>|<small>[[Awards]] & [[Service Ribbons]]</small>}}
!colspan{{=}}3{{!}}{{#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}}}}}"|{{!-}}}}
{{Ribboncheck3|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}}}
{{Ribboncheck3|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}}}
{{!-}}
{{!-}}
Line 45: Line 45:
<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|}}}|}}{{#if:{{{101|}}}|<br>{{{101|}}}|}}
<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|}}}|}}{{#if:{{{101|}}}|<br>{{{101|}}}|}}
{{!)}}
{{!)}}
{{!)}}</includeonly><noinclude>
{{!)}}</includeonly><noinclude>Creates a ribbons rack for [[Template:Ribbons Rack]] with a maximum of 3 ribbons per row.
{{Sidebar
[[Category:Wiki System Templates]]</noinclude>
|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-3
|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>
{{Ribbons Rack-3
|First Ribbon|Number of Times Awarded
|Second Ribbons|Number of Times Awarded
and so forth up to 50 ribbons
}}
</pre>
 
==Examples==
===Even number of ribbons===
<pre>
{{Ribbons Rack-3
|TOSMA|1
|Legion of Merit|4
|Silver Star|7
|Purple Heart|2
|Vaadwaur Invasion Campaign Ribbon|1
|Gold Lifesaving Ribbon|2r
}}
</pre>
 
{{Ribbons Rack-3
|TOSMA|1
|Legion of Merit|4
|Silver Star|7
|Purple Heart|2
|Vaadwaur Invasion Campaign Ribbon|1
|Gold Lifesaving Ribbon|2r
}}
 
 
===Odd number of ribbons===
<pre>
{{Ribbons Rack-3
|Hobus Heroism Ribbon|1
|UFP Medal of Freedom|2
|Rising Star Award|1
|Silver Palm|1
|Picard Award|1
}}
</pre>
 
{{Ribbons Rack-3
|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-3|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-3|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-3|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-3|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-3|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-3|LABEL=off
|TOSMA|1
|Legion of Merit|4
|Silver Star|7
|Purple Heart|2
|Vaadwaur Invasion Campaign Ribbon|1
|Gold Lifesaving Ribbon|2r
}}
 
==Questions/Comments==
[[User:Rich|'''♫ Rich''']]▪ [[User talk:Rich|<small>Send Message</small>]]
[[Category:Templates]]</noinclude>

Latest revision as of 20:56, 10 May 2019

Creates a ribbons rack for Template:Ribbons Rack with a maximum of 3 ribbons per row.