Template:Infobox-award: Difference between revisions
Create tf-styled Infobox-award with auto-footnoted PD citations (tier/authority/announced) |
m Default image captions: Service ribbon (top) / Full medal (bottom), overridable |
||
| Line 8: | Line 8: | ||
{{#if:{{{ribbon|}}}| | {{#if:{{{ribbon|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} class="tf-abox-img" colspan="2" {{!}} [[File:{{{ribbon}}}|150px]] | {{!}} class="tf-abox-img" colspan="2" {{!}} [[File:{{{ribbon}}}|150px]]<div class="tf-abox-cap">{{{ribbon_caption|Service ribbon}}}</div>}} | ||
{{#if:{{{tier|}}}| | {{#if:{{{tier|}}}| | ||
{{!}}- | {{!}}- | ||
| Line 38: | Line 38: | ||
{{#if:{{{medal|}}}| | {{#if:{{{medal|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} class="tf-abox-img" colspan="2" {{!}} [[File:{{{medal}}}|120px]] | {{!}} class="tf-abox-img" colspan="2" {{!}} [[File:{{{medal}}}|120px]]<div class="tf-abox-cap">{{{medal_caption|Full medal}}}</div>}} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
{{disclaimer}} | {{disclaimer}} | ||
'''Infobox-award''' is the uniform at-a-glance sidebar for [[Awards|award]] pages, matching the tf house style. The tier banner is tinted by [[PD-SC-1007 Awards Policy]] §7 tier. The '''Tier''', '''Issuing authority''', and '''Announced''' fields automatically carry the standard PD-SC-1007 footnote citations (§7 / §18 / §13) — do not add these citations inline. The page must include <code><nowiki>{{reflist}}</nowiki></code> for the footnotes to render. | '''Infobox-award''' is the uniform at-a-glance sidebar for [[Awards|award]] pages, matching the tf house style. The tier banner is tinted by [[PD-SC-1007 Awards Policy]] §7 tier. The '''Tier''', '''Issuing authority''', and '''Announced''' fields automatically carry the standard PD-SC-1007 footnote citations (§7 / §18 / §13) — do not add these citations inline. The top image is captioned "Service ribbon" and the bottom "Full medal" by default (override with <code>ribbon_caption</code> / <code>medal_caption</code>). The page must include <code><nowiki>{{reflist}}</nowiki></code> for the footnotes to render. | ||
== Usage == | == Usage == | ||