Difference between revisions of "Template:Award"
m |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 16: | Line 16: | ||
-->}}<!-- | -->}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
− | -->{{#ifeq: {{{showRibbon}}}| yes<!-- | + | -->{{#ifeq: {{{showRibbon}}}| yes|<!-- |
− | -->|{{#ifexist:File:Award {{{name}}} ribbon.jpg<!-- | + | -->{{#if: {{{factor|}}}|<!-- |
− | -->|[[File:Award {{{name}}} ribbon.jpg|link={{{name}}}|{{{name}}}]]<!-- | + | -->{{#ifexist:File:Award {{{name}}} x{{{factor}}} ribbon.jpg<!-- |
− | + | -->|[[File:Award {{{name}}} x{{{factor}}} ribbon.jpg|link={{{name}}} x{{{factor}}}|{{{name}}}]]<!-- | |
+ | -->|[[File:Award {{{name}}} x{{{factor}}} ribbon.png|link={{{name}}} x{{{factor}}}|{{{name}}}]]<!-- | ||
+ | -->|}}<!-- | ||
+ | -->|{{#ifexist:File:Award {{{name}}} ribbon.jpg<!-- | ||
+ | -->|[[File:Award {{{name}}} ribbon.jpg|link={{{name}}}|{{{name}}}]]<!-- | ||
+ | -->|[[File:Award {{{name}}} ribbon.png|link={{{name}}}|{{{name}}}]]<!-- | ||
+ | -->}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
Line 36: | Line 42: | ||
|showRibbon = yes|other | |showRibbon = yes|other | ||
|align = left|center|right | |align = left|center|right | ||
+ | |factor = 2|3|4 (optional) | ||
|nameAlign = left|above|right|below | |nameAlign = left|above|right|below | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
Line 71: | 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}}