Template:Medal: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
No edit summary
(Adding fields for XP and Credit values)
 
(37 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{| class="infoboxtemp" width="250" align="right" cellpadding="3" cellspacing="0"
|-
{{#if: {{{Image|}}}|
{{!}} class="infoboximage" colspan="2" bgcolor={{{bgcolor_value|#222222;}}} {{!}} {{{Image}}}}}
|-
| class="name" colspan="2" | '''''{{{Medal name}}}'''''
|-
{{#if: {{{Awarded_by|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Awarded by:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{Awarded_by}}}}}
|-
{{#if: {{{Medal_type|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Type:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{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|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Higher:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{Higher}}}}}
|-
{{#if: {{{Lower|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Lower:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{Lower}}}}}
|-
|class="infoboxfooter {{lc:{{{type}}}}}" colspan="2" | {{Link color|Template:Medal|#585858|[ Source ]}}
|}
<noinclude>
== 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>
{{Medal
|Image =
|Medal name =
|Awarded_by =
|Medal_type =
|XP =
|Credits =
|Recipient =
|Abbreviation =
|OldNames =
|Higher =
|Lower =
}}</pre>


[[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 =
}}