Difference between revisions of "Template:Award"
m |
m |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#if: {{{1|}}}|{{#ifexist:File:Award {{{1}}}.png|[[File:Award {{{1}}}.png|link={{{1}}}|alt={{{1}}}|{{{1}}}]]|[[File:Award {{{1}}}.jpg|link={{{1}}}|alt={{{1}}}|{{{1}}}]]}}|}}</includeonly><noinclude> | + | <includeonly>{{#if:<!-- |
+ | -->{{{2|}}}<!-- | ||
+ | -->|{{#if:<!-- | ||
+ | -->{{{1|}}}|<!-- | ||
+ | -->{{#ifexist:File:{{{2}}} Award {{{1}}}.png|<!-- | ||
+ | -->[[File:{{{2}}} Award {{{1}}}.png|link={{{1}}}|alt={{{1}}}|{{{1}}}]]|<!-- | ||
+ | -->[[File:{{{2}}} Award {{{1}}}.jpg|link={{{1}}}|alt={{{1}}}|{{{1}}}]]}}|<!-- | ||
+ | -->}}<!-- | ||
+ | -->|{{#if:<!-- | ||
+ | -->{{{1|}}}|<!-- | ||
+ | -->{{#ifexist:File:Award {{{1}}}.png|<!-- | ||
+ | -->[[File:Award {{{1}}}.png|link={{{1}}}|alt={{{1}}}|{{{1}}}]]|<!-- | ||
+ | -->[[File:Award {{{1}}}.jpg|link={{{1}}}|alt={{{1}}}|{{{1}}}]]}}|<!-- | ||
+ | -->}}<!-- | ||
+ | -->}} | ||
+ | </includeonly><noinclude> | ||
===Usage=== | ===Usage=== | ||
<pre><nowiki> | <pre><nowiki> | ||
Line 10: | Line 25: | ||
<pre><nowiki>{{Award |New Republican of the Year}}</nowiki></pre> | <pre><nowiki>{{Award |New Republican of the Year}}</nowiki></pre> | ||
{{Award |New Republican of the Year}} | {{Award |New Republican of the Year}} | ||
+ | |||
+ | <pre><nowiki>{{Award |Republic Medal of Honour|military}}</nowiki></pre> | ||
+ | {{Award |Republic Medal of Honour|military}} | ||
+ | <pre><nowiki>{{Award |Republic Medal of Honour|civilian}}</nowiki></pre> | ||
+ | {{Award |Republic Medal of Honour|civilian}} | ||
[[Category:Templates|{{PAGENAME}}]]</noinclude> | [[Category:Templates|{{PAGENAME}}]]</noinclude> |
Revision as of 18:50, 24 February 2016
Usage
{{Award| <Award Name>}}
Examples
{{Award}}
{{Award|}}
{{Award |New Republican of the Year}}
{{Award |Republic Medal of Honour|military}}
{{Award |Republic Medal of Honour|civilian}}