Difference between revisions of "Template:Medal-info"

From TRMN
Jump to navigation Jump to search
m
m (Fixing redlinked image)
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="wikitable" cellpadding="4" cellspacing="5" colspan="2" align=right style="background: navy; border: 1px #aaaaaa solid; font-size: 85%;"  
{| border=0 cellpadding=10 style="float: right; background: none;"
! align="center" colspan=2 bgcolor="#000080" style="border-bottom:1px solid navy; color:black; font-size:105%;" | MEDAL
|-
|
{| class="wikitable" cellpadding="4" cellspacing="5" colspan="2" align=right style="background: #aaa; border: 2px #2667a1 solid; font-size: 85%;"  
! align="center" colspan=2 style="border-bottom:1px solid var(--trim-color); color: var(--main-color); font-size:110%;"| '''TRMN MEDAL'''
|- valign="top"
|- valign="top"
| class="classname" colSpan="2" | ''{{{name}}}''
| align="center" colSpan="2" style="border-bottom:1px solid var(--trim-color); color:white; font-size:105%;" | '''{{{name}}}'''
|-
|-
| class="image" colspan="2" | {{#if: {{{image|}}}
| class="image" colspan="2" align="center" | {{#if: {{{image|}}}
| {{sidebar image|{{{image}}}}}
| {{sidebar image|{{{image}}}}}
| [[File:TRMNLogo.png|125px]]
| [[File:RMN.png|125px]]
}}
}}
|- valign="top"
|- valign="top"
Line 12: Line 15:
{{!}} class="left" {{!}} '''Authority:'''
{{!}} class="left" {{!}} '''Authority:'''
{{!}} class="righta" {{!}} {{{auth}}}}}
{{!}} class="righta" {{!}} {{{auth}}}}}
|- valign="top"
{{#if: {{{freq|}}}|
{{!}} class="left" {{!}} '''Frequency:'''
{{!}} class="righta" {{!}} {{{freq}}}}}
|- valign="top"
|- valign="top"
{{#if: {{{branches|}}}|
{{#if: {{{branches|}}}|
Line 19: Line 26:
{{#if: {{{image2|}}}|
{{#if: {{{image2|}}}|
{{!}} class="image" colspan="2" align="center" align="center" colspan="2" {{!}} {{sidebar image|{{{image2}}}}}}}
{{!}} class="image" colspan="2" align="center" align="center" colspan="2" {{!}} {{sidebar image|{{{image2}}}}}}}
|- valign="top"
{{#if: {{{image3|}}}|
{{!}} class="image" colspan="2" align="center" align="center" colspan="2" {{!}} {{sidebar image|{{{image3}}}}}}}
|}
|}<noinclude>
|}<noinclude>


Line 36: Line 47:
| name = Space Service Deployment Ribbon
| name = Space Service Deployment Ribbon
| image = space_service_deployment_ribbon.png
| image = space_service_deployment_ribbon.png
| auth = {{bupers}}<br>{{butrain}}
| auth = {{bupers}}{{butrain}}
| freq = Once per member maximum.
| freq = Once per member maximum.
| branches = {{AllBranches}}
| branches = {{AllBranches}}
Line 45: Line 56:
| name = Space Service Deployment Ribbon
| name = Space Service Deployment Ribbon
| image = space_service_deployment_ribbon.png
| image = space_service_deployment_ribbon.png
| auth = {{bupers}}<br>{{butrain}}
| auth = {{bupers}}{{butrain}}
| freq = Once per member maximum.
| freq = Once per member maximum.
| branches = {{AllBranches}}
| branches = {{AllBranches}}
Line 75: Line 86:
| An optional second image spot.
| An optional second image spot.
|}
|}
[[Category:Sidebar templates|Medal-info]]</noinclude>
[[Category: Sidebar templates|Medal-info]]
[[Category: Templates]]</noinclude>

Latest revision as of 13:22, 20 August 2022

TRMN MEDAL
{{{name}}}
RMN.png

Usage

{{medal-info
| name       = 
| image      = 
| auth       = 
| freq       = 
| branches   = 
| image2     = 
}}

Example when done

TRMN MEDAL
Space Service Deployment Ribbon
Space service deployment ribbon.png
Authority: Bureau of Personnel

Bureau of Training

Frequency: Once per member maximum.
Branches: RMN, RMMC, RMA, GSN, IAN, RHN, Civilian

We placed our Infobox Medal-Info in the field and entered the following:

{{medal-info 
| name = Space Service Deployment Ribbon
| image = space_service_deployment_ribbon.png
| auth = {{bupers}}{{butrain}}
| freq = Once per member maximum.
| branches = {{AllBranches}}
}}

Parameters

Parameters in bold are required fields.

Parameter Explanation
name Name of the Medal or Award.
Image This will be the full file name to the medal's image. You can use the smaller ribbon or the full image of the award if available.
Auth Who has the authority to issue this award? Examples are {{bupers}} or {{butrain}}.
Freq Is this award available multiple times or just once per lifetime?
Branches Which branches of TRMN can receive this award? For all branches, use {{AllBranches}}, otherwise use {{RMNs}} to display "RMN".
Image2 An optional second image spot.