Difference between revisions of "Template:Award"
(Created page with "<onlyinclude>{{#if:{{{2|}}}|{{{2}}}<br/>|}}[[{{#ifexist:File:Award {{{1}}}.png|File:Award {{{1}}}.png|File:Award {{{1}}}.jpg}}|link={{{1}}}|alt={{{1}}}]]</onlyinclude> <noincl...") |
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> | <noinclude> | ||
+ | ===Usage=== | ||
+ | <pre><nowiki> | ||
+ | {{Award |1}}</nowiki></pre> | ||
+ | If value is empty, ''N/A'' is returned, otherwise the Credit icon and the value are displayed. | ||
+ | ===Examples=== | ||
+ | <pre><nowiki>{{Award}}</nowiki></pre> | ||
+ | {{Award}} | ||
+ | <pre><nowiki>{{Award|}}</nowiki></pre> | ||
+ | {{Award|}} | ||
+ | <pre><nowiki>{{Award |New Republican of the Year}}</nowiki></pre> | ||
+ | {{Award |New Republican of the Year}} | ||
[[Category:Templates|{{PAGENAME}}]]</noinclude> | [[Category:Templates|{{PAGENAME}}]]</noinclude> |