Difference between revisions of "Template:Hero Costume Box"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
m (Fixing a border error.)
m (Cleaning up and removing some unnecessary parameters.)
Line 1: Line 1:
 
<onlyinclude>
 
<onlyinclude>
{| class="wikitable" style="width:70%; margin-bottom: -10px;"
+
<div style="display: flex; flex-wrap: wrap; width:70%;">
|-
+
<div style="flex: {{{width|100vw}}}; border: 1px solid #07596E; background: linear-gradient(#18022E, #380835); margin: 20px 0 -10px 0;"><!--
! colspan="4" style="background: linear-gradient(to bottom, #18022E 0%, #380835 100%); color: #cb9022; font-size:150%; font-family: Oswald; letter-spacing: .5px; padding:0.3em; text-shadow: -1px -1px 0 #9b1112, 1px -1px 0 #9b1112, -1px 1px 0 #9B1112, 1px 1px 0 #9b1112;" | {{{name|?}}}
+
--><p style="font: 150% Oswald;color: #CB9022;letter-spacing: .5px;text-align: center;margin:7px;text-shadow: -1px -1px 0 #9b1112, 1px -1px 0 #9b1112, -1px 1px 0 #9B1112, 1px 1px 0 #9b1112;"><!--
|}
+
    -->{{{name|Costume Name?}}}<!--
 +
--></p>
 +
</div>
 +
</div>
 
{| class="wikitable" style="text-align:center; width:70%;"
 
{| class="wikitable" style="text-align:center; width:70%;"
| rowspan="7" style="width: 388px;background-color: black; border: 1px solid #1C2E4A;" | [[{{{card_art|File:Blank Costume Card Art Image.png}}}|350px]]
+
| rowspan="7" style="width: 388px; border: 1px solid #1C2E4A;" | [[{{{card_art|File:Blank Costume Card Art Image.png}}}|300px]]
 
! style="width: 150px; height: 30px; background: #190729; color: #cb9022; font-size:100%; font-family: Oswald; letter-spacing: .5px; padding:0.3em; text-shadow: -0.9px -0.9px 0 #9b1112, 0.9px -0.9px 0 #9b1112, -0.9px 0.9px 0 #9B1112, 0.9px 0.9px 0 #9b1112; border: 1px solid #1C2E4A;" | Flavor Text
 
! style="width: 150px; height: 30px; background: #190729; color: #cb9022; font-size:100%; font-family: Oswald; letter-spacing: .5px; padding:0.3em; text-shadow: -0.9px -0.9px 0 #9b1112, 0.9px -0.9px 0 #9b1112, -0.9px 0.9px 0 #9B1112, 0.9px 0.9px 0 #9b1112; border: 1px solid #1C2E4A;" | Flavor Text
 
| style="width: 250px; border: 1px solid #1C2E4A;" | <small>'''''{{{flavor_text|?}}}'''''</small>
 
| style="width: 250px; border: 1px solid #1C2E4A;" | <small>'''''{{{flavor_text|?}}}'''''</small>
Line 22: Line 25:
 
! style=" height: 30px; background: #190729; color: #cb9022; font-size:100%; font-family: Oswald; letter-spacing: .5px; padding:0.3em; text-shadow: -0.9px -0.9px 0 #9b1112, 0.9px -0.9px 0 #9b1112, -0.9px 0.9px 0 #9B1112, 0.9px 0.9px 0 #9b1112; border: 1px solid #1C2E4A;" | Cost
 
! style=" height: 30px; background: #190729; color: #cb9022; font-size:100%; font-family: Oswald; letter-spacing: .5px; padding:0.3em; text-shadow: -0.9px -0.9px 0 #9b1112, 0.9px -0.9px 0 #9b1112, -0.9px 0.9px 0 #9B1112, 0.9px 0.9px 0 #9b1112; border: 1px solid #1C2E4A;" | Cost
 
| style="border: 1px solid #1C2E4A;" | <small>{{{cost|?}}}</small>
 
| style="border: 1px solid #1C2E4A;" | <small>{{{cost|?}}}</small>
|- style="{{#if: {{{formerly_acquired|}}}| | display: none;}}"
 
! style="height: 30px;  background: #190729; color: #cb9022; font-size:100%; font-family: Oswald; letter-spacing: .5px; padding:0.3em; text-shadow: -0.9px -0.9px 0 #9b1112, 0.9px -0.9px 0 #9b1112, -0.9px 0.9px 0 #9B1112, 0.9px 0.9px 0 #9b1112;" | Formerly Acquired From
 
| <small>{{{formerly_acquired|}}}</small>
 
| {{{introduced|}}}
 
 
|- style="{{#if: {{{introduced|}}}| | display: none;}}"
 
|- style="{{#if: {{{introduced|}}}| | display: none;}}"
 
! style="height: 30px; background: #190729; color: #cb9022; font-size:100%; font-family: Oswald; letter-spacing: .5px; padding:0.3em; text-shadow: -0.9px -0.9px 0 #9b1112, 0.9px -0.9px 0 #9b1112, -0.9px 0.9px 0 #9B1112, 0.9px 0.9px 0 #9b1112; border: 1px solid #1C2E4A;" | Introduced
 
! style="height: 30px; background: #190729; color: #cb9022; font-size:100%; font-family: Oswald; letter-spacing: .5px; padding:0.3em; text-shadow: -0.9px -0.9px 0 #9b1112, 0.9px -0.9px 0 #9b1112, -0.9px 0.9px 0 #9B1112, 0.9px 0.9px 0 #9b1112; border: 1px solid #1C2E4A;" | Introduced
Line 32: Line 31:
 
! colspan="2" style="height: 30px; background: #190729; color: #cb9022; font-size:100%; font-family: Oswald; letter-spacing: .5px; padding:0.3em; text-shadow: -0.9px -0.9px 0 #9b1112, 0.9px -0.9px 0 #9b1112, -0.9px 0.9px 0 #9B1112, 0.9px 0.9px 0 #9b1112; border: 1px solid #1C2E4A;"| In-Game
 
! colspan="2" style="height: 30px; background: #190729; color: #cb9022; font-size:100%; font-family: Oswald; letter-spacing: .5px; padding:0.3em; text-shadow: -0.9px -0.9px 0 #9b1112, 0.9px -0.9px 0 #9b1112, -0.9px 0.9px 0 #9B1112, 0.9px 0.9px 0 #9b1112; border: 1px solid #1C2E4A;"| In-Game
 
|-  
 
|-  
| colspan="2" style="border-bottom:0; border-right: 1px solid #1C2E4A;" align="center" |<!---
+
| colspan="2" style="border-bottom:0; border-right: 1px solid #1C2E4A;" align="center" | [[{{{ingame|File:Blank Costume Ingame Image.png}}}|400px]]
--->{{#if: {{{ingame_large|}}}
 
        | [[{{{ingame_large|File:Blank Costume Ingame Image.png}}}|550px]]
 
        | [[{{{ingame|File:Blank Costume Ingame Image.png}}}|400px]]
 
    }}
 
 
|-  
 
|-  
 
| colspan="2" style="border-top:0; border-bottom: 1px solid #1C2E4A; border-right: 1px solid #1C2E4A;" align="center" | {{#if: {{{artists|}}} | <small>'''''Artists:'''''</small> <small>''{{{artists}}}''</small>
 
| colspan="2" style="border-top:0; border-bottom: 1px solid #1C2E4A; border-right: 1px solid #1C2E4A;" align="center" | {{#if: {{{artists|}}} | <small>'''''Artists:'''''</small> <small>''{{{artists}}}''</small>
Line 55: Line 50:
  
 
===Parameters===
 
===Parameters===
{| border="1" style="border-collapse:collapse;"
+
{| border="1" class="wikitable TemplateDocumentation" style="width: 90%;"
|-
 
! style="width:15%;"|Parameter !! style="width:80%;"|Description
 
|-
 
| name || The name of the costume.
 
 
|-
 
|-
| card_art || The card artwork image of a costume. Will always be <code>File:(Costume Name) Card Art.png</code> - please keep the naming that way for future uploads too.
+
! Parameter !! Required !! Description
 
|-
 
|-
| flavor_text || The flavor text of a costume.
+
| name || {{yes}} || The name of the costume.  
 
|-
 
|-
| rarity || The costume's rarity.
+
| card_art || {{yes}} || The card artwork image of a costume.
 +
* Will always be <code>File:(Costume Name) Card Art.png</code> - please keep the naming that way for future uploads too.
 
|-
 
|-
| cost || The cost or acquisition requirements of an costume. Only use for costumes that are available.
+
| flavor_text || {{yes}} || The flavor text of a costume.
 
|-
 
|-
| formerly_acquired || How a costume used to be acquired. Only use for costumes that are unobtainable.
+
| rarity || {{yes}} || The costume's rarity.
 
|-
 
|-
| introduced || The date and update where the costume was introduced.  
+
| cost || {{yes}} || The cost or acquisition requirements of an costume.  
 
|-
 
|-
| ingame || Image of the costume in-game. Will always be <code>File:(Costume Name) Front and Back.png</code> - please keep the naming that way for future uploads too. (Also applies to <code>ingame_large</code>.)
+
| introduced || {{yes}} || The date and update where the costume was introduced.  
 
|-
 
|-
| ingame_large || Larger image of the costume in-game. Only use for Barbarian, Engineer, Hunter and Frostweaver.  
+
| ingame || {{yes}} || Image of the costume in-game.  
 +
* Will always be <code>File:(Costume Name) Front and Back.png</code> - please keep the naming that way for future uploads too.
 
|-
 
|-
| artists || Credits to the artists involved in developing the costume. Please put reference to the source information if possible.   
+
| artists || {{no}} || Credits to the artists involved in developing the costume.  
 +
* Please put reference to the source of the information if possible.   
 
|-
 
|-
| accessory || A section reserved for a template to showcase a costume's accessories (and its flavor texts). Only use for costumes without unique animations.
+
| 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 || A section reserved for a template to showcase a costume's accessories and unique animations. Only use for costumes with 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.
 
|}
 
|}
  

Revision as of 15:02, 8 March 2025

Costume Name?

Blank Costume Card Art Image.png Flavor Text ?
Rarity ?
Cost ?
Introduced
In-Game
Blank Costume Ingame Image.png
Accessories (Click "Expand" to see more)
[Expand]
Accessories and Unique Animations (Click "Expand" to see more)
[Expand]


Yes, I plundered this template off the official SMITE wiki (and then further modified) so all this are belong to us now. - Palo.

Parameters

Parameter Required Description
name TickGreen.png The name of the costume.
card_art TickGreen.png The card artwork image of a costume.
  • Will always be File:(Costume Name) Card Art.png - please keep the naming that way for future uploads too.
flavor_text TickGreen.png The flavor text of a costume.
rarity TickGreen.png The costume's rarity.
cost TickGreen.png The cost or acquisition requirements of an costume.
introduced TickGreen.png The date and update where the costume was introduced.
ingame TickGreen.png Image of the costume in-game.
  • Will always be File:(Costume Name) Front and Back.png - please keep the naming that way for future uploads too.
artists CrossWhite.png Credits to the artists involved in developing the costume.
  • Please put reference to the source of the information if possible.
accessory TickGreen.png 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 CrossWhite.png A section reserved for a template to showcase a costume's accessories and unique animations.
  • Only use for costumes with unique animations.

Example

Wiki Text
{{Hero Costume Box | name = Iron Will Armor | card_art = File:Iron Will Armor Card Art.png | flavor_text = This base armor offers the perfect balance of function, form and ferocity. | rarity = Worn | cost = Default costume. | introduced = March 8th 2018 (Barbarian's Wrath). | ingame = File:Iron Will Armor Front and Back.png | accessory = {{Iron Will Armor Accessories}} }}
Result
Iron Will Armor
Iron Will Armor Card Art.png Flavor Text This base armor offers the perfect balance of function, form and ferocity.
Rarity Worn Icon.png Worn
Cost Default costume.
Introduced March 8th 2018 (Barbarian's Wrath).
In-Game
Iron Will Armor Front and Back.png
Accessories (Click "Expand" to see more)
[Expand]
Accessories and Unique Animations (Click "Expand" to see more)
[Expand]