Difference between revisions of "Template:Award"
m |
m |
||
Line 16: | Line 16: | ||
-->}}<!-- | -->}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
− | -->{{#ifeq: {{{showRibbon}}}| yes<!-- | + | -->{{#ifeq: {{{showRibbon}}}| yes|<!-- |
-->{{#if: {{{factor|}}}|<!-- | -->{{#if: {{{factor|}}}|<!-- | ||
-->{{#ifexist:File:Award {{{name}}} x{{{factor}}} ribbon.jpg<!-- | -->{{#ifexist:File:Award {{{name}}} x{{{factor}}} ribbon.jpg<!-- | ||
− | -->|[[File:Award {{{name}}} x{{{factor}}} ribbon.jpg|link={{{name}}}|{{{name}}}]]<!-- | + | -->|[[File:Award {{{name}}} x{{{factor}}} ribbon.jpg|link={{{name}}} x{{{factor}}}|{{{name}}}]]<!-- |
− | -->|[[File:Award {{{name}}} x{{{factor}}} ribbon.png|link={{{name}}}|{{{name}}}]]<!-- | + | -->|[[File:Award {{{name}}} x{{{factor}}} ribbon.png|link={{{name}}} x{{{factor}}}|{{{name}}}]]<!-- |
-->|}}<!-- | -->|}}<!-- | ||
-->|{{#ifexist:File:Award {{{name}}} ribbon.jpg<!-- | -->|{{#ifexist:File:Award {{{name}}} ribbon.jpg<!-- | ||
Line 78: | Line 78: | ||
{{Award|name=Republic Service Medal|showName=yes|showSmall=yes|showLarge=yes|nameAlign=bottom}} | {{Award|name=Republic Service Medal|showName=yes|showSmall=yes|showLarge=yes|nameAlign=bottom}} | ||
+ | <pre><nowiki>{{Award|name=Meritorious Unit Medal|showName=no|showRibbon=yes}}</nowiki></pre> | ||
+ | {{Award|name=Meritorious Unit Medal|showName=no|showRibbon=yes}} | ||
+ | |||
+ | <pre><nowiki>{{Award|name=Meritorious Unit Medal|showName=no|showRibbon=yes|factor=2}}</nowiki></pre> | ||
+ | {{Award|name=Meritorious Unit Medal|showName=no|showRibbon=yes|factor=2}} | ||
[[Category:Templates|{{PAGENAME}}]]</noinclude> | [[Category:Templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 19:06, 10 June 2016
Usage
{{Award |name = <Award Name> |showName = yes|other |showSmall = yes|other |showLarge = yes|other |showRibbon = yes|other |align = left|center|right |factor = 2|3|4 (optional) |nameAlign = left|above|right|below }}
Examples
{{Award |name = New Republican of the Year |showName = yes |showLarge = yes |align = center |nameAlign = below }}
{{Award|name = New Republican of the Year|showLarge=yes|align=left|nameAlign=right}}
{{Award|name = New Republican of the Year|showLarge=yes|showName = yes|nameAlign=top}}
{{Award|showName = yes}}
Unknown Award
{{Award|name=Republic Service Medal|showName=no|showSmall=yes}}
{{Award|name=Republic Service Medal|showName=yes|showSmall=yes|showLarge=yes|nameAlign=bottom}}
{{Award|name=Meritorious Unit Medal|showName=no|showRibbon=yes}}
{{Award|name=Meritorious Unit Medal|showName=no|showRibbon=yes|factor=2}}