Difference between pages "Template:Hero Costume Box" and "Template:Accessory Table"

From Dungeon Defenders 2 Wiki
(Difference between pages)
Jump to: navigation, search
m (Undo revision 24205 by Palo Frogger (talk))
 
m (Test)
 
Line 1: Line 1:
<onlyinclude>
+
<div style="flex: 0 0 50%;">
{| class="wikitable" style="text-align:center; width:70%;"
+
{| class="wikitable" style="text-align:center; width:65%; margin-bottom: -37px;"
|- class="prettytable"
+
|- style="{{#if: {{{image|}}}| | display: none;}}"
! colspan="3" style="background: linear-gradient(to bottom, #18022E 0%, #380835 100%); font: 150% Oswald; color: #CB9022;letter-spacing: .5px; text-align: center; margin:7px; padding: 10px; text-shadow: -1px -1px 0 #9b1112, 1px -1px 0 #9b1112, -1px 1px 0 #9B1112, 1px 1px 0 #9b1112;" | {{{name|Costume Name?}}}
+
| colspan="3" style="padding: 10px;" align="center" | [[{{{image|File:Blank Costume Ingame Image.png}}}|500px]]
 
|-
 
|-
| rowspan="7" style="width: 388px; border: 1px solid #1C2E4A;  width: 45%;" | [[{{{card_art|File:Blank Costume Card Art Image.png}}}|350px]]
+
|style="width:20%;"|
! style="width: 150px; height: 30px; background: #190729; color: #ac7030; font-size:100%; font-family: Oswald; letter-spacing: .5px; padding:0.3em; text-shadow: -0.9px -0.9px 0 #7c0d0e, 0.9px -0.9px 0 #7c0d0e, -0.9px 0.9px 0 #7c0d0e, 0.9px 0.9px 0 #7c0d0e; border: 1px solid #1C2E4A;" | Flavor Text
+
[[{{{icon|File:Dragons Crown Icon.png}}}|50px]]   
| style="width: 250px; border: 1px solid #1C2E4A;" | <small>'''''{{{flavor_text|?}}}'''''</small>
 
|-
 
! ! style="width: 150px; height: 30px; background: #190729; color: #ac7030; font-size:100%; font-family: Oswald; letter-spacing: .5px; padding:0.3em; text-shadow: -0.9px -0.9px 0 #7c0d0e, 0.9px -0.9px 0 #7c0d0e, -0.9px 0.9px 0 #7c0d0e, 0.9px 0.9px 0 #7c0d0e; border: 1px solid #1C2E4A;" | Rarity
 
| style="border: 1px solid #1C2E4A;" |{{#switch: {{{rarity|}}}
 
    | Worn = <span style="color:#808080"> [[File:Worn_Icon.png|18px]] <small>'''Worn'''</small> </span>
 
    | Sturdy =  <span style="color:#808000"> [[File:Sturdy_Icon.png|18px]] <small>'''Sturdy'''</small> </span>
 
    | Powerful =  <span style="color:#008000"> [[File:Powerful_Icon.png|18px]] <small>'''Powerful'''</small> </span>
 
    | Epic =  <span style="color:#3366FF"> [[File:Epic_Icon.png|18px]] <small>'''Epic'''</small> </span>
 
    | Mythical =  <span style="color:#ff00ff"> [[File:Mythical_Icon.png|18px]] <small>'''Mythical'''</small> </span>
 
    | Legendary =  <span style="color:#FFF380"> [[File:Legendary_Icon.png|18px]] <small>'''Legendary'''</small> </span>
 
    | <small>'''{{{rarity|?}}}'''</small>
 
  }}
 
|- style="{{#if: {{{cost|?}}}| | display: none;}}"
 
! style=" height: 30px; background: #190729; color: #ac7030; font-size:100%; font-family: Oswald; letter-spacing: .5px; padding:0.3em; text-shadow: -0.9px -0.9px 0 #7c0d0e, 0.9px -0.9px 0 #7c0d0e, -0.9px 0.9px 0 #7c0d0e, 0.9px 0.9px 0 #7c0d0e; border: 1px solid #1C2E4A;" | Cost
 
| style="border: 1px solid #1C2E4A;" | <small>{{{cost|?}}}</small>
 
|- style="{{#if: {{{introduced|}}}| | display: none;}}"
 
! style="height: 30px; background: #190729; color: #ac7030; font-size:100%; font-family: Oswald; letter-spacing: .5px; padding:0.3em; text-shadow: -0.9px -0.9px 0 #7c0d0e, 0.9px -0.9px 0 #7c0d0e, -0.9px 0.9px 0 #7c0d0e, 0.9px 0.9px 0 #7c0d0e; border: 1px solid #1C2E4A;" | Introduced
 
| style="border: 1px solid #1C2E4A;" | <small>{{{introduced|}}}</small>
 
|-
 
! colspan="2" style="height: 30px; background: #190729; color: #ac7030; font-size:100%; font-family: Oswald; letter-spacing: .5px; padding:0.3em; text-shadow: -0.9px -0.9px 0 #7c0d0e, 0.9px -0.9px 0 #7c0d0e, -0.9px 0.9px 0 #7c0d0e, 0.9px 0.9px 0 #7c0d0e; border: 1px solid #1C2E4A;"| In-Game
 
|-
 
| colspan="2" style="border-bottom:0; border-right: 1px solid #1C2E4A; width: 55%;" align="center" | [[ {{{ingame|File:Blank Costume Ingame Image.png}}} | {{{image_size|400px}}} ]]
 
|-
 
| colspan="2" style="border-top:0; border-bottom: 1px solid #1C2E4A; border-right: 1px solid #1C2E4A;" align="center" | {{#if: {{{artist|}}} | <small>'''''Artists:'''''</small> <small>''{{{artist}}}''</small>
 
}}
 
|- style="{{#if: {{{accessory|}}}| | display: none;}}"
 
! colspan="3" style="height: 30px; background: #190729; color: #ac7030; font-size:100%; font-family: Oswald; letter-spacing: .5px; padding:0.3em; text-shadow: -0.9px -0.9px 0 #7c0d0e, 0.9px -0.9px 0 #7c0d0e, -0.9px 0.9px 0 #7c0d0e, 0.9px 0.9px 0 #7c0d0e; border: 1px solid #1C2E4A;" | Accessories <small>(Click "Expand" to see more)</small>
 
|- style="{{#if: {{{accessory|}}}| | display: none;}}"
 
| colspan="3" align="center" class="wikitable mw-collapsible mw-collapsed" style="border: 1px solid #1C2E4A;" | {{{accessory|}}}
 
|- style="{{#if: {{{accessory_and_animation|}}}| | display: none;}}"
 
! colspan="3" style="height: 30px; background: #190729; color: #ac7030; font-size:100%; font-family: Oswald; letter-spacing: .5px; padding:0.3em; text-shadow: -0.9px -0.9px 0 #7c0d0e, 0.9px -0.9px 0 #7c0d0e, -0.9px 0.9px 0 #7c0d0e, 0.9px 0.9px 0 #7c0d0e; border: 1px solid #1C2E4A;" | Accessories and Unique Animations <small>(Click "Expand" to see more)</small>
 
|- style="{{#if: {{{accessory_and_animation|}}}| | display: none;}}"
 
| colspan="3" align="center" class="wikitable mw-collapsible mw-collapsed" style="border: 1px solid #1C2E4A;" | {{{accessory_and_animation|}}}
 
|}</onlyinclude>
 
 
 
<noinclude>
 
 
 
''"Why, yes I did plunder this template off the official SMITE wiki."'' - Palo.
 
  
===Parameters===
+
'''{{{name|?}}}'''
{| border="1" class="wikitable TemplateDocumentation" style="width: 70%;"
+
|style="width:20%;"| {{#switch: {{{rarity|}}}
|-
+
    | Worn = {{Worn}}
! Parameter !! Required !! Description
+
    | Sturdy =  {{Sturdy}}
|-
+
    | Powerful =  {{Powerful}}
| name || {{yes}} || The name of the costume.
+
    | Epic =  {{Epic}}
|-
+
    | Mythical =  {{Mythical}}
| card_art || {{yes}} || The card artwork image of a costume.
+
    | Legendary =  {{Legendary}}
* Will always be <code>File:(Costume Name) Card Art.png</code> - please keep the naming that way for future uploads too.
+
    | {{{rarity|{{Worn}}}}}
|-
+
}} <br> {{{type|?}}}
| flavor_text || {{yes}} || The flavor text of a costume.
+
|style="width:60%;"|
|-
+
''{{{flavor_text|Flavor Text Goes Here?}}}'' <br>
| rarity || {{yes}} || The costume's rarity.
+
{{#if: {{{acquired_from|}}} | <sub>'''''Acquired from:'''''</sub> <sub>''{{{acquired_from}}}''</sub>}}
|-
 
| cost || {{yes}} || The cost or acquisition requirements of an costume.
 
|-
 
| introduced || {{yes}} || The date and update where the costume was introduced.
 
|-
 
| ingame || {{yes}} || Image of the costume in-game.
 
* Will always be <code>File:(Costume Name).png</code> - please keep the naming that way for future uploads too.
 
|-
 
| image_size || {{no}} || The dimensions for '''ingame''' image. Default size without applying the parameter is '''400px'''.
 
* Used for heroes with wider proportions such as Barbarian, Engineer, Hunter and Frostweaver.
 
|-
 
| artist || {{no}} || Credits to the artists involved in developing the costume.
 
* Please put a reference to the source of the information if possible. 
 
|-
 
| accessory || {{yes}} || A section reserved for a template to showcase a costume's accessories (and its flavor texts).
 
* Only use for costumes without unique animations.
 
|-
 
| accessory_and_animation || {{no}} || A section reserved for a template to showcase a costume's accessories and unique animations.
 
* Only use for costumes with unique animations.
 
 
|}
 
|}
 +
</div>
  
===Example===
+
<noinclude>
{| style="width:90%;"
+
<p style= "margin-top: 38px;">
! style="font-size:150%; width: 50%;" | Wiki Text
+
<big>'''EXAMPLE'''</big>
|-
+
</p>
|<div style="display: flex; justify-content: center;"><!---
 
---><code style="display: table; white-space: pre-wrap;"><!---
 
    ---><nowiki>
 
  
            {{Hero Costume Box
+
{{Accessory Table
            | name = Iron Will Armor
+
| image = File:Iron Will Armor Accessories.png
            | card_art = File:Iron Will Armor Card Art.png
+
| icon = File:Ring_of_Piercing_Icon.png
            | flavor_text = This base armor offers the perfect balance of function, form and ferocity.
+
| name = Two Faces
            | rarity = Worn
+
| rarity = Legendary
            | cost = Default.
+
| type = Head
            | introduced = March 8th 2018 (Barbarian's Wrath).
+
| flavor_text = Adorned with dragon fangs to designate the rule of Embermount.
            | ingame = File:Iron Will Armor.png
+
| acquired_from = Defender Packs
            | accessory =
+
}}
            {{Iron Will Armor Accessories}}
+
{{Accessory Table
            }}
+
| icon = File:Ring_of_Piercing_Icon.png
 
+
| name = Two Faces
        </nowiki><!---
+
| rarity = Legendary
---></code>
+
| type = Head
</div>
+
| flavor_text = Adorned with dragon fangs to designate the rule of Embermount.
|-
+
}}
! style="font-size:150%; width: 50%; padding-top: 20px;" | Result
+
{{Accessory Table
|-
+
| icon = File:Ring_of_Piercing_Icon.png
|<center>
+
| name = Two Faces
{{Hero Costume Box
+
| rarity = Legendary
| name = Iron Will Armor
+
| type = Head
| card_art = File:Iron Will Armor Card Art.png
+
| flavor_text = Adorned with dragon fangs to designate the rule of Embermount.
| flavor_text = This base armor offers the perfect balance of function, form and ferocity.
+
}}
| rarity = Worn
+
{{Accessory Table
| cost = Default.
+
| icon = File:Ring_of_Piercing_Icon.png
| introduced = March 8th 2018 (Barbarian's Wrath).
+
| name = Two Faces
| ingame = File:Iron Will Armor.png
+
| rarity = Legendary
| accessory =
+
| type = Head
{{Iron Will Armor Accessories}}
+
| flavor_text = Adorned with dragon fangs to designate the rule of Embermount.
 +
| acquired_from = Defender Packs
 
}}
 
}}
</center>
 
|}
 
 
 
</noinclude>
 
</noinclude>
__NOEDITSECTION__
 

Revision as of 21:24, 16 July 2025

Blank Costume Ingame Image.png

Dragons Crown Icon.png

?

Worn Icon.png Worn
 ?

Flavor Text Goes Here?


EXAMPLE

Iron Will Armor Accessories.png

Ring of Piercing Icon.png

Two Faces

Legendary Icon.png Legendary
Head

Adorned with dragon fangs to designate the rule of Embermount.
Acquired from: Defender Packs

Dragons Crown Icon.png



{{{type2}}}

Dragons Crown Icon.png



{{{type3}}}

Dragons Crown Icon.png



{{{type4}}}


Blank Costume Ingame Image.png

Ring of Piercing Icon.png

Two Faces

Legendary Icon.png Legendary
Head

Adorned with dragon fangs to designate the rule of Embermount.

Dragons Crown Icon.png



{{{type2}}}

Dragons Crown Icon.png



{{{type3}}}

Dragons Crown Icon.png



{{{type4}}}


Blank Costume Ingame Image.png

Ring of Piercing Icon.png

Two Faces

Legendary Icon.png Legendary
Head

Adorned with dragon fangs to designate the rule of Embermount.

Dragons Crown Icon.png



{{{type2}}}

Dragons Crown Icon.png



{{{type3}}}

Dragons Crown Icon.png



{{{type4}}}


Blank Costume Ingame Image.png

Ring of Piercing Icon.png

Two Faces

Legendary Icon.png Legendary
Head

Adorned with dragon fangs to designate the rule of Embermount.
Acquired from: Defender Packs

Dragons Crown Icon.png



{{{type2}}}

Dragons Crown Icon.png



{{{type3}}}

Dragons Crown Icon.png



{{{type4}}}