Template:MedalDecorationTemplate: Difference between revisions

From RoNations Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Manual revert
 
(9 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:280px; background: border-collapse:collapse; border:3.5px solid {{{color|}}}; font-size:smaller; line-height:1.5"
{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width:380px; background: border-collapse:collapse; border:3.5px solid {{{color|}}}; font-size:smaller; line-height:1.5"
|-
|-
|<div>
|<div>
Line 40: Line 40:
}}
}}
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Information'''
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Information'''
|- style="border-top: 1px solid #999; border-bottom: 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; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{full_name|}}}| |display: none;}}" valign="top" | '''Full Name'''
| style="{{#if:{{{full_name|}}}| |display: none;}}" valign="top" | '''Full Name'''
Line 49: Line 52:
| style="{{#if:{{{awardedfor|}}}| |display: none;}}" valign="top" | '''Awarded For'''
| style="{{#if:{{{awardedfor|}}}| |display: none;}}" valign="top" | '''Awarded For'''
| style="{{#if:{{{awardedfor|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{awardedfor|}}}
| style="{{#if:{{{awardedfor|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{awardedfor|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{campaign|}}}| |display: none;}}" valign="top" | '''Campaign'''
| style="{{#if:{{{campaign|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{campaign|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{presentedby|}}}| |display: none;}}" valign="top" | '''Presented By'''
| style="{{#if:{{{presentedby|}}}| |display: none;}}" valign="top" | '''Presented By'''
Line 70: Line 76:
| style="{{#if:{{{totalawarded|}}}| |display: none;}}" valign="top" | '''Total Awarded'''
| style="{{#if:{{{totalawarded|}}}| |display: none;}}" valign="top" | '''Total Awarded'''
| style="{{#if:{{{totalawarded|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{totalawarded|}}}
| style="{{#if:{{{totalawarded|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{totalawarded|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{serviceribbon|}}}| |display: none;}}" valign="top" | '''Service Ribbon'''
| style="{{#if:{{{serviceribbon|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{serviceribbon|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{serviceflag|}}}| |display: none;}}" valign="top" | '''Service Flag'''
| style="{{#if:{{{serviceflag|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{serviceflag|}}}
|-
|-
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Precedence'''
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Precedence'''
Line 81: Line 93:
|}
|}
<noinclude>
<noinclude>
__TOC__
Example Usage:<pre>
Example Usage:<pre>
{{MedalDecorationTemplate
{{MedalDecorationTemplate
|color=Example
|title1=Example
|title1=Example
|image1=Example
|image1=Example
|image2=Example
|image2=Example
|image3=Example
|image3=Example
|country=Country
|full_name=Example
|full_name=Example
|type=Example
|type=Example
|awardedfor=Example
|awardedfor=Example
|campaign=Example
|presentedby=Example
|presentedby=Example
|eligability=Example
|eligability=Example
Line 98: Line 112:
|lastawarded=Example
|lastawarded=Example
|totalawarded=Example
|totalawarded=Example
|serviceflag=Example
|serviceribbon=Example
|nextlower=Example
|nextlower=Example
|nexthigher=Example
|nexthigher=Example
Line 105: Line 121:
<noinclude>
<noinclude>
[[Category: Templates]]
[[Category: Templates]]
==Example==
{{MedalDecorationTemplate
|title1=Name of Medal
|image1=[[File:Image 2024-02-17 204056537.png|170px]]
|country=Link to Country
|full_name=Full Name of Medal
|type=Military/Civilian/Science medal/decoration/ect.
|awardedfor=Doing stuff
|campaign=Military Campaign Link
|presentedby=President or king or whatever
|eligability=People in this group!!
|status=Still awarded. No longer awarded
|established=01/01/2024
|firstawarded=01/01/2024
|lastawarded=01/01/2024
|totalawarded=10
|serviceflag=[[File:Image 2024-02-17 204221296.png|100px]]
|serviceribbon=[[File:Image 2024-02-17 204241826.png|100px]]
|nextlower=Next lower award
|nexthigher=Next higher award
}}
Example usage with all fields used:
<pre>
{{MedalDecorationTemplate
|title1=Name of Medal
|image1=[[File:Image 2024-02-17 204056537.png|170px]]
|country=Link to Country
|full_name=Full Name of Medal
|type=Military/Civilian/Science medal/decoration/ect.
|awardedfor=Doing stuff
|campaign=Military Campaign Link
|presentedby=President or king or whatever
|eligability=People in this group!!
|status=Still awarded. No longer awarded
|established=01/01/2024
|firstawarded=01/01/2024
|lastawarded=01/01/2024
|totalawarded=10
|serviceflag=[[File:Image 2024-02-17 204221296.png|100px]]
|serviceribbon=[[File:Image 2024-02-17 204241826.png|100px]]
|nextlower=Next lower award
|nexthigher=Next higher award
}}
</pre>
</noinclude>
</noinclude>

Latest revision as of 15:14, 24 February 2024

{{{title1}}}
{{{image1}}}
Coat of Arms
{{{image2}}}
{{{image3}}}
{{{image4}}}
{{{image5}}}
Information
Country
Full Name
Type
Awarded For
Campaign
Presented By
Eligability
Status
Established
First Awarded
Last Awarded
Total Awarded
Service Ribbon
Service Flag
Precedence
Next (lower)
Next (higher)

Example Usage:

{{MedalDecorationTemplate
|title1=Example
|image1=Example
|image2=Example
|image3=Example
|country=Country
|full_name=Example
|type=Example
|awardedfor=Example
|campaign=Example
|presentedby=Example
|eligability=Example
|status=Example
|established=Example
|firstawarded=Example
|lastawarded=Example
|totalawarded=Example
|serviceflag=Example
|serviceribbon=Example
|nextlower=Example
|nexthigher=Example
}}

Example

Name of Medal
Coat of Arms
Information
Country Link to Country
Full Name Full Name of Medal
Type Military/Civilian/Science medal/decoration/ect.
Awarded For Doing stuff
Campaign Military Campaign Link
Presented By President or king or whatever
Eligability People in this group!!
Status Still awarded. No longer awarded
Established 01/01/2024
First Awarded 01/01/2024
Last Awarded 01/01/2024
Total Awarded 10
Service Ribbon
Service Flag
Precedence
Next (lower) Next lower award
Next (higher) Next higher award


Example usage with all fields used:

{{MedalDecorationTemplate
|title1=Name of Medal
|image1=[[File:Image 2024-02-17 204056537.png|170px]]
|country=Link to Country
|full_name=Full Name of Medal
|type=Military/Civilian/Science medal/decoration/ect.
|awardedfor=Doing stuff
|campaign=Military Campaign Link
|presentedby=President or king or whatever
|eligability=People in this group!!
|status=Still awarded. No longer awarded
|established=01/01/2024
|firstawarded=01/01/2024
|lastawarded=01/01/2024
|totalawarded=10
|serviceflag=[[File:Image 2024-02-17 204221296.png|100px]]
|serviceribbon=[[File:Image 2024-02-17 204241826.png|100px]]
|nextlower=Next lower award
|nexthigher=Next higher award
}}