Difference between revisions of "Template:Infobox ServiceRibbons"

From BattleMaster Wiki
Jump to navigation Jump to search
(Created page with "<noinclude> This is the "Infobox ServiceRibbons" template. It should be called in the following format: <pre> {{Infobox ServiceRibbons }} </pre> Edit the page to see the templ...")
 
m
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{| class="infobox" border="0" style="float: left; width: 450px; border-spacing: 2px; font-size: 95%; text-align: left; border-collapse: collapse; margin-left: 1em;"
 +
|-
 +
! colspan="3" style="background: lightsteelblue; text-align: center;" | {{#if: {{{link|}}}|'''[[{{{link}}}|Service Ribbons]]'''|'''Service Ribbons'''}}
 +
|-
 +
| {{#if: {{{ribbon1|}}}|{{{colspan="1" style="text-align:center;" | [[Image:{{{ribbon1}}}|150px| ]]}}}}}
 +
| {{#if: {{{ribbon2|}}}|{{{colspan="1" style="text-align:right;" | [[Image:{{{ribbon2}}}|150px| ]]}}}}}
 +
| {{#if: {{{ribbon3|}}}|{{{colspan="1" style="text-align:center;" | [[Image:{{{ribbon3}}}|150px| ]]}}}}}
 +
|-
 +
| {{#if: {{{ribbon4|}}}|{{{colspan="1" style="text-align:center;" | [[Image:{{{ribbon4}}}|150px| ]]}}}}}
 +
| {{#if: {{{ribbon5|}}}|{{{colspan="1" style="text-align:center;" | [[Image:{{{ribbon5}}}|150px| ]]}}}}}
 +
| {{#if: {{{ribbon6|}}}|{{{colspan="1" style="text-align:center;" | [[Image:{{{ribbon6}}}|150px| ]]}}}}}
 +
|-
 +
| {{#if: {{{ribbon7|}}}|{{{colspan="1" style="text-align:center;" | [[Image:{{{ribbon7}}}|150px| ]]}}}}}
 +
| {{#if: {{{ribbon8|}}}|{{{colspan="1" style="text-align:center;" | [[Image:{{{ribbon8}}}|150px| ]]}}}}}
 +
| {{#if: {{{ribbon9|}}}|{{{colspan="1" style="text-align:center;" | [[Image:{{{ribbon9}}}|150px| ]]}}}}}
 +
|-
 +
| {{#if: {{{ribbon10|}}}|{{{colspan="1" style="text-align:center;" | [[Image:{{{ribbon10}}}|150px| ]]}}}}}
 +
| {{#if: {{{ribbon11|}}}|{{{colspan="1" style="text-align:center;" | [[Image:{{{ribbon11}}}|150px| ]]}}}}}
 +
| {{#if: {{{ribbon12|}}}|{{{colspan="1" style="text-align:center;" | [[Image:{{{ribbon12}}}|150px| ]]}}}}}
 +
|-
 +
| {{#if: {{{ribbon13|}}}|{{{colspan="1" style="text-align:center;" | [[Image:{{{ribbon13}}}|150px| ]]}}}}}
 +
| {{#if: {{{ribbon14|}}}|{{{colspan="1" style="text-align:center;" | [[Image:{{{ribbon14}}}|150px| ]]}}}}}
 +
| {{#if: {{{ribbon15|}}}|{{{colspan="1" style="text-align:center;" | [[Image:{{{ribbon15}}}|150px| ]]}}}}}
 +
|-
 +
 +
|}
 +
 +
<br>
 +
<br>
 +
<br>
 +
 +
 
<noinclude>
 
<noinclude>
 
This is the "Infobox ServiceRibbons" template.
 
This is the "Infobox ServiceRibbons" template.
Line 4: Line 36:
 
<pre>
 
<pre>
 
{{Infobox ServiceRibbons
 
{{Infobox ServiceRibbons
 +
|link=
 +
|ribbon1=
 +
|ribbon2=
 +
|ribbon3=
 +
|ribbon4=
 +
|ribbon5=
 +
|ribbon6=
 +
|ribbon7=
 +
|ribbon8=
 +
|ribbon9=
 +
|ribbon10=
 +
|ribbon11=
 +
|ribbon12=
 +
|ribbon13=
 +
|ribbon14=
 +
|ribbon15=
 
}}
 
}}
 
</pre>
 
</pre>
Edit the page to see the template text.
+
 
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
+
This infobox does not require that all ribbons be defined. If there is a page granting the information of the service medals, it can be wikilinked via the "link" function. Note: It automatically attaches the page to the hyperlink "Service Ribbons. For example, "link= Minas_Leon/ServiceRibbons" would become <pre>[[Minas_Leon/ServiceRibbons|Service Ribbons]]</pre>. It is recommended, for aesthetic purposes, that the ribbons used begin at "1" and ascend from there. The current template allows for 15 separate service ribbons, although it can easily be expanded for more.
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
+
<br>
|-
+
The ribbon images which work best are 150x40px.
|}
 
</includeonly>
 

Latest revision as of 05:17, 28 March 2014

Service Ribbons





This is the "Infobox ServiceRibbons" template. It should be called in the following format:

{{Infobox ServiceRibbons
|link=
|ribbon1=
|ribbon2=
|ribbon3=
|ribbon4=
|ribbon5=
|ribbon6=
|ribbon7=
|ribbon8=
|ribbon9=
|ribbon10=
|ribbon11=
|ribbon12=
|ribbon13=
|ribbon14=
|ribbon15=
}}

This infobox does not require that all ribbons be defined. If there is a page granting the information of the service medals, it can be wikilinked via the "link" function. Note: It automatically attaches the page to the hyperlink "Service Ribbons. For example, "link= Minas_Leon/ServiceRibbons" would become

[[Minas_Leon/ServiceRibbons|Service Ribbons]]

. It is recommended, for aesthetic purposes, that the ribbons used begin at "1" and ascend from there. The current template allows for 15 separate service ribbons, although it can easily be expanded for more.


The ribbon images which work best are 150x40px.