Template:MedalDecorationTemplate: Difference between revisions

From RoNations Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
{| 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"
{| 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>
|<div>
Line 83: Line 83:
| style="{{#if:{{{serviceflag|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{serviceflag|}}}
| 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:{{{nextlower|nexthigher|}}}|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="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{nextlower|}}}| |display: none;}}" valign="top" | '''Next (lower)'''
| style="{{#if:{{{nextlower|}}}| |display: none;}}" valign="top" | '''Next (lower)'''
Line 93: Line 93:
|}
|}
<noinclude>
<noinclude>
__TOC__
Example Usage:<pre>
Example Usage:<pre>
{{MedalDecorationTemplate
{{MedalDecorationTemplate
|color=Example
|title1=Example
|title1=Example
|image1=Example
|image1=Example
Line 121: 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>

Revision as of 14:11, 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
|color=Example
|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
}}