Difference between revisions of "Template:Award Infobox Inline"
m |
m |
||
Line 1: | Line 1: | ||
<includeonly>|- | <includeonly>|- | ||
− | |style="width:15%;border: 1px solid grey;padding:1ex 1em 1ex 1em;text-align:center;"|{{#switch: {{{type}}}|small = {{Award|name={{{award}}}|showName=no|showSmall=yes}}|ribbon = {{Award|name={{{award}}}|showName=no|showRibbon=yes|factor={{{factor}}}}}|default = {{Award|name={{{award}}}|showName=no|showLarge=yes}}}} | + | |style="width:15%;border: 1px solid grey;padding:1ex 1em 1ex 1em;text-align:center;"|{{#switch: {{{type}}}|small = {{Award|name={{{award}}}|showName=no|showSmall=yes}}|ribbon = {{Award|name={{{award}}}|showName=no|showRibbon=yes|factor={{{factor|}}}}}|default = {{Award|name={{{award}}}|showName=no|showLarge=yes}}}} |
|style="width:35%;font-weight:bold;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;"|{{{award}}} | |style="width:35%;font-weight:bold;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;"|{{{award}}} | ||
|style="width:20%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;"|{{#if:{{{givenBy|}}}|{{{givenBy}}}|—}} | |style="width:20%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;"|{{#if:{{{givenBy|}}}|{{{givenBy}}}|—}} |
Latest revision as of 19:29, 10 June 2016
Description
This template can be used with Template:Award Infobox to create a table of awards. Attention: the date must be the last parameter of Award Infobox for this to work.
Usage
{{Award Infobox Inline |award = |type = |givenBy = |date = }}
Examples
{{Award Infobox |award = Master Builder's Award |type = small |givenBy = John Doe |date = Year 12 Day 113 {{Award Infobox Inline |award = Miner's Bronze Award |type = small |givenBy = Jane Doe |date = Year 15 Day 244 }} }}
Award | Name | Given By | Date |
---|---|---|---|
Master Builder's Award | John Doe | Year 12 Day 113 | |
Miner's Bronze Award | Jane Doe | Year 15 Day 244 |