Template:Ribbons Display: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{|class=wood {{#if: {{{ALIGN|}}}|align{{=}}{{{ALIGN|center}}}|align{{=}}center}} {{#if: {{{COLOR|}}}|style{{=}}"background:{{{COLOR|#343434}}}"|}} width=800
<includeonly>{|class=wood style="margin-left: {{#if: {{{LEFT|}}}|0|auto}}; margin-right: auto; border: none; {{#if: {{{COLOR|}}}|background:{{{COLOR|#343434}}}|}}" width=800
|-
|-
!color=white|{{{LABEL|{{whitelink|Awards}} and {{whitelink|Service Ribbons}}}}}
!color=white|{{{LABEL|{{whitelink|Awards}} and {{whitelink|Service Ribbons}}}}}
Line 127: Line 127:


==Change Template Alignment==
==Change Template Alignment==
By default, the template is centered. You can change the alignment by adding an ALIGN= variable.
By default, the template is centered. You can change the alignment by adding a LEFT variable.


===Left Alignment===
===Left Alignment===
<pre style="white-space:pre-wrap">
<pre style="white-space:pre-wrap">
{{Ribbons Display|ALIGN=left}}
{{Ribbons Display|LEFT}}
{{Service Ribbons Header}}
{{Service Ribbons Header}}
{{Citation|Legion of Merit|2389|USS Mercury|In recognition of Roshanara Rahman's actions in the aftermath of the bombing aboard the USS Mercury during the Klingon Invasion of 2389.}}
{{Citation|Legion of Merit|2389|USS Mercury|In recognition of Roshanara Rahman's actions in the aftermath of the bombing aboard the USS Mercury during the Klingon Invasion of 2389.}}
Line 138: Line 138:
</pre>
</pre>


{{Ribbons Display|ALIGN=left}}
{{Ribbons Display|LEFT}}
{{Service Ribbons Header}}
{{Service Ribbons Header}}
{{Citation|Legion of Merit|2389|USS Mercury|In recognition of Roshanara Rahman's actions in the aftermath of the bombing aboard the USS Mercury during the Klingon Invasion of 2389.}}
{{Citation|Legion of Merit|2389|USS Mercury|In recognition of Roshanara Rahman's actions in the aftermath of the bombing aboard the USS Mercury during the Klingon Invasion of 2389.}}

Navigation menu