Template:MedalDecorationTemplate: Difference between revisions

From RoNations Wiki
Jump to navigation Jump to search
(Created page with "{| 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" |- |<div> {| 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; color:#FFFFFF; background:#212121; font-size:200%;" | {...")
 
No edit summary
Tag: Manual revert
 
(10 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 39: Line 39:
{{!}}-
{{!}}-
}}
}}
|-
| colspan="2" style="{{#if:{{{eras|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{eras|}}}
|-
! 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'''
| style="{{#if:{{{full_name|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{full_name|}}}
| style="{{#if:{{{full_name|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{full_name|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{type|}}}| |display: none;}}" valign="top" | '''Type'''
| style="{{#if:{{{type|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{type|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{awardedfor|}}}| |display: none;}}" valign="top" | '''Awarded For'''
| 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="{{#if:{{{presentedby|}}}| |display: none;}}" valign="top" | '''Presented By'''
| style="{{#if:{{{presentedby|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{presentedby|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{eligability|}}}| |display: none;}}" valign="top" | '''Eligability'''
| style="{{#if:{{{eligability|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{eligability|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{status|}}}| |display: none;}}" valign="top" | '''Status'''
| style="{{#if:{{{status|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{status|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{established|}}}| |display: none;}}" valign="top" | '''Established'''
| style="{{#if:{{{established|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{established|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{firstawarded|}}}| |display: none;}}" valign="top" | '''First Awarded'''
| style="{{#if:{{{firstawarded|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{firstawarded|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| 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; border-bottom: 1px solid #999;"
| style="{{#if:{{{totalawarded|}}}| |display: none;}}" valign="top" | '''Total Awarded'''
| 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'''
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{nextlower|}}}| |display: none;}}" valign="top" | '''Next (lower)'''
| style="{{#if:{{{nextlower|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{nextlower|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{nexthigher|}}}| |display: none;}}" valign="top" | '''Next (higher)'''
| style="{{#if:{{{nexthigher|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{nexthigher|}}}
|}</div>
|}</div>
|}
|}
<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
|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
}}
}}
</pre>
</pre>
Line 63: 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 14: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
}}