Difference between revisions of "Template:Ribbon"

From Rebel Alliance Wiki
Jump to: navigation, search
m
m
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><span style="padding:0; margin:0;">[[File:Ribbon {{{1}}}.jpg|link={{{1}}}|alt={{{1}}}]]</span></onlyinclude>
+
<includeonly>{{#if: {{{1|}}}|{{#ifexist:File:Ribbon {{{1}}}.png|[[File:Ribbon {{{1}}}.png|link=|alt={{{1}}}|{{{1}}}]]|[[File:Ribbon {{{1}}}.jpg|link=|alt={{{1}}}|{{{1}}}]]}}|}}</includeonly><noinclude>
 
+
===Usage===
 +
<pre><nowiki>
 +
{{Ribbon|<Ribbon Name>|<Award Caption>}}</nowiki></pre>
 +
===Examples===
 +
<pre><nowiki>{{Ribbon |Expert Pilot}}</nowiki></pre>
 +
{{Ribbon |Expert Pilot}}
  
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 23:38, 9 January 2016

Usage

{{Ribbon|<Ribbon Name>|<Award Caption>}}

Examples

{{Ribbon |Expert Pilot}}

Expert Pilot