Template:Medal: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
m (fix usage)
(Adding fields for XP and Credit values)
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| width="250" align="right" cellpadding="3" cellspacing="0" style="border: 2px #333333 solid; background: #000000; border-bottom-right-radius: .8em; border-bottom-left-radius: .8em; -moz-border-radius-bottomright: .8em; -moz-border-radius-bottomleft: .8em; -webkit-border-bottom-right-radius: .8em; -webkit-border-bottom-left-radius: .8em; margin-top: -1.4em; margin: 0 0 1em 1em; font-size: 12px;color: #ffffff;"
{| class="infoboxtemp" width="250" align="right" cellpadding="3" cellspacing="0"  
|-
|-
{{#if: {{{Image|}}}|
{{#if: {{{Image|}}}|
{{!}} colspan="2" bgcolor={{{bgcolor_value|#000000; style="background: #000000; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller; text-align: center;"}}} {{!}} {{{Image}}}}}
{{!}} class="infoboximage" colspan="2" bgcolor={{{bgcolor_value|#222222;}}} {{!}} {{{Image}}}}}
|-
|-
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; font-size:larger; background-color:#282828; text-align:center; font-variant:small-caps;" | '''''{{{Medal name}}}'''''
| class="name" colspan="2" | '''''{{{Medal name}}}'''''
|-
|-
{{#if: {{{Awarded_by|}}}|
{{#if: {{{Awarded_by|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Awarded by:
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Awarded by:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{Awarded_by}}}}}
{{{Awarded_by}}}}}
|-
|-
{{#if: {{{Medal_type|}}}|
{{#if: {{{Medal_type|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Type:
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Type:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{Medal_type}}}}}
{{{Medal_type}}}}}
|-
{{#if: {{{Abbreviation|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Abbreviation:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{Abbreviation}}}}}
|-
{{#if: {{{XP|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} XP Value:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{XP}}}}}
|-
{{#if: {{{Credits|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Credit Value:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{Credits}}}}}
|-
{{#if: {{{Recipient|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Recipients:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{Recipient}}}}}
|-
{{#if: {{{OldNames|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Formerly Known As:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{OldNames}}}}}
|-
|-
{{#if: {{{Higher|}}}|
{{#if: {{{Higher|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Higher:
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Higher:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{Higher}}}}}
{{{Higher}}}}}
|-
|-
{{#if: {{{Lower|}}}|
{{#if: {{{Lower|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Lower:
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Lower:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{Lower}}}}}
{{{Lower}}}}}
|-
|-
|colspan="2" style="border-bottom-right-radius: .8em; border-bottom-left-radius: .8em; -moz-border-radius-bottomright: .8em; -moz-border-radius-bottomleft: .8em; -webkit-border-bottom-right-radius: .8em; -webkit-border-bottom-left-radius: .8em; text-align: center; color: #e5e5ed; font-variant:small-caps; font-size:smaller; background-color:#282828; text-align:center; border-top: 1px solid #111111;" | [[Template:Medal|[ Source ]]]
|class="infoboxfooter {{lc:{{{type}}}}}" colspan="2" | {{Link color|Template:Medal|#585858|[ Source ]}}
|}
|}
<noinclude>
<noinclude>
<br clear=all>
== Usage ==
== Usage ==
Paste the following code at the beginning of the article, filing all relevant fields. If a field doesn't apply, just leave it blank.
<pre>
<pre>
{{Medal
{{Medal
Line 36: Line 61:
|Medal name =  
|Medal name =  
|Awarded_by =  
|Awarded_by =  
|Medal_type =  
|Medal_type =
|XP =
|Credits =
|Recipient =
|Abbreviation =
|OldNames =  
|Higher =  
|Higher =  
|Lower =  
|Lower =
}}</pre>
}}</pre>


[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 15:28, 29 March 2024

{{{Medal name}}}
[ Source ]

Usage

Paste the following code at the beginning of the article, filing all relevant fields. If a field doesn't apply, just leave it blank.

{{Medal
|Image = 
|Medal name = 
|Awarded_by = 
|Medal_type =
|XP = 
|Credits = 
|Recipient = 
|Abbreviation =
|OldNames = 
|Higher = 
|Lower =
}}