Template:MedalTemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em;width:350px;min-width:350px; background: border-collapse:collapse; border:1px solid #A2A9B1; font-size:smaller; line-height:1.5" | {| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em;width:350px;min-width:350px; background-color: #F8F9FA; border-collapse:collapse; border:1px solid #A2A9B1; font-size:smaller; line-height:1.5" | ||
|- | |- | ||
|<div> | |<div> | ||
{| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle" | {| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle" | ||
|- | |- | ||
! colspan="2" style="text-align:center; background:# | ! colspan="2" style="text-align:center; background:#C3D6EF;" | <font style="font-size:130%;">{{{name}}}</font> | ||
|- style="text-align:center;" | |- style="text-align:center;" | ||
|- | |- | ||
Line 12: | Line 12: | ||
}} | }} | ||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
| style="{{#if:{{{ | | style="{{#if:{{{fullname|}}}| |display: none;}}" valign="top" halign="center" | '''Full name''' | ||
| style="{{#if:{{{ | | style="{{#if:{{{fullname|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{fullname|}}} | ||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
| style="{{#if:{{{ | | style="{{#if:{{{awarded_for|}}}| |display: none;}}" valign="top" halign="center" | '''Awarded for''' | ||
| style="{{#if:{{{ | | style="{{#if:{{{awarded_for|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{awarded_for|}}} | ||
|- | |- style="border-top: 1px solid #999;" | ||
| style="{{#if:{{{country|}}}| |display: none;}}" valign="top" | Country | |||
| style="{{#if:{{{country|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{country|}}} | |||
|- style="border-top: 1px solid #999;" | |||
| style="{{#if:{{{presenter|}}}| |display: none;}}" valign="top" | Presenter | |||
| style="{{#if:{{{presenter|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{presenter|}}} | |||
|- style="border-top: 1px solid #999;" | |||
| style="{{#if:{{{eligibility|}}}| |display: none;}}" valign="top" | Eligibility | |||
| style="{{#if:{{{eligibility|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{eligibility|}}} | |||
|- style="border-top: 1px solid #999;" | |||
| style="{{#if:{{{ribbon|}}}| |display: none;}}" valign="top" | Ribbon | |||
| style="{{#if:{{{ribbon|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{ribbon|}}} | |||
|- style="border-top: 1px solid #999;" | |- style="border-top: 1px solid #999;" | ||
| style="{{#if:{{{ | | style="{{#if:{{{status|}}}| |display: none;}}" valign="top" | Status | ||
| style="{{#if:{{{ | | style="{{#if:{{{status|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{status|}}} | ||
|- style="border-top: 1px solid #999;" | |- style="border-top: 1px solid #999;" | ||
| style="{{#if:{{{ | | style="{{#if:{{{established|}}}| |display: none;}}" valign="top" | Established | ||
| style="{{#if:{{{ | | style="{{#if:{{{established|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{established|}}} | ||
|- style="border-top: 1px solid #999;" | |- style="border-top: 1px solid #999;" | ||
| style="{{#if:{{{ | | style="{{#if:{{{firstawarded|}}}| |display: none;}}" valign="top" | First awarded | ||
| style="{{#if:{{{ | | style="{{#if:{{{firstawarded|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{firstawarded|}}} | ||
|- style="border-top: 1px solid #999;" | |- style="border-top: 1px solid #999;" | ||
| style="{{#if:{{{ | | style="{{#if:{{{lastawarded|}}}| |display: none;}}" valign="top" | Last awarded | ||
| | | style="{{#if:{{{lastawarded|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{lastawarded|}}} | ||
}} | |||
|- style="border-top: 1px solid #999;" | |- style="border-top: 1px solid #999;" | ||
| style="{{#if:{{{ | | style="{{#if:{{{totalawarded|}}}| |display: none;}}" valign="top" | Total awarded | ||
| style="{{#if:{{{ | | style="{{#if:{{{totalawarded|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{totalawarded|}}} | ||
|- style="border-top: 1px solid #999;" | |- style="border-top: 1px solid #999;" | ||
| style="{{#if:{{{ | | style="{{#if:{{{serviceflag|}}}| |display: none;}}" valign="top" | Service flag | ||
| style="{{#if:{{{ | | style="{{#if:{{{serviceflag|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{serviceflag|}}} | ||
|- style="border-top: 1px solid #999;" | |- style="border-top: 1px solid #999;" | ||
| style="{{#if:{{{ | | style="{{#if:{{{nextlower|}}}| |display: none;}}" valign="top" | Next lower | ||
| style="{{#if:{{{ | | style="{{#if:{{{nextlower|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{nextlower|}}} | ||
|- style="border-top: 1px solid #999;" | |- style="border-top: 1px solid #999;" | ||
| style="{{#if:{{{ | | style="{{#if:{{{nexthigher|}}}| |display: none;}}" valign="top" | Next higher | ||
| style="{{#if:{{{ | | style="{{#if:{{{nexthigher|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{nexthigher|}}} | ||
|}</div> | |}</div> | ||
|} | |} | ||
<noinclude> | <noinclude> | ||
{{ | {{MedalTemplate | ||
|name = Name of Medal | |name = Name of Medal | ||
|fullname = Example | |fullname = Example | ||
Line 162: | Line 75: | ||
}} | }} | ||
Example Usage:<pre> | Example Usage:<pre> | ||
{{MedalTemplate | |||
|name = Medal of Honour | |||
|fullname = Medal of Honour | |||
|image = [[File:Image 2024-04-04 061458909.png|100px]] | |||
|awarded_for = doing something cool in war | |||
|country = {{GER}} | |||
|presenter = President | |||
|eligibility = Veterans of campaign | |||
|ribbon = [[File:Image 2024-04-04 061509949.png|100px]] | |||
|status = No longer awarded | |||
|established = 01/01/2021 | |||
|firstawarded = 01/01/2021 | |||
|lastawarded = 02/01/2021 | |||
|totalawarded = 2 | |||
|nextlower = Link to next lower (if any) | |||
|nexthigher = Link to next higher (if any) | |||
}} | |||
</pre> | </pre> | ||
{{MedalTemplate | |||
|name = Medal of Honour | |||
|fullname = Medal of Honour | |||
|image = [[File:Image 2024-04-04 061458909.png|100px]] | |||
|awarded_for = doing something cool in war | |||
|country = {{GER}} | |||
|presenter = President | |||
|eligibility = Veterans of campaign | |||
|ribbon = [[File:Image 2024-04-04 061509949.png|100px]] | |||
|status = No longer awarded | |||
|established = 01/01/2021 | |||
|firstawarded = 01/01/2021 | |||
|lastawarded = 02/01/2021 | |||
|totalawarded = 2 | |||
|nextlower = Link to next lower (if any) | |||
|nexthigher = Link to next higher (if any) | |||
}} | |||
[[Category: Templates]] | [[Category: Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 00:17, 4 April 2024
|
|
Example Usage:
{{MedalTemplate |name = Medal of Honour |fullname = Medal of Honour |image = [[File:Image 2024-04-04 061458909.png|100px]] |awarded_for = doing something cool in war |country = {{GER}} |presenter = President |eligibility = Veterans of campaign |ribbon = [[File:Image 2024-04-04 061509949.png|100px]] |status = No longer awarded |established = 01/01/2021 |firstawarded = 01/01/2021 |lastawarded = 02/01/2021 |totalawarded = 2 |nextlower = Link to next lower (if any) |nexthigher = Link to next higher (if any) }}
|