Difference between revisions of "Template:Hero Costume Box"
From Dungeon Defenders 2 Wiki
m |
m (A test on adding rarity colors and icons to the template.) |
||
Line 8: | Line 8: | ||
|- | |- | ||
! ! style="width: 150px; height: 30px; background: linear-gradient(to bottom, #18022E 0%, #380835 100%); color: #cb9022; font-size:100%; font-family: Oswald; letter-spacing: .5px; padding:0.3em; text-shadow:1.07px 0 0 #9b1112,0 1.07px 0 #9b1112,-1.07px 0 0 #9b1112,0 -1.07px 0 #9b1112;" | Rarity | ! ! style="width: 150px; height: 30px; background: linear-gradient(to bottom, #18022E 0%, #380835 100%); color: #cb9022; font-size:100%; font-family: Oswald; letter-spacing: .5px; padding:0.3em; text-shadow:1.07px 0 0 #9b1112,0 1.07px 0 #9b1112,-1.07px 0 0 #9b1112,0 -1.07px 0 #9b1112;" | Rarity | ||
− | | <small>'''{{{rarity|?}}}'''</small> | + | |{{#switch: {{{rarity|}}} |
+ | | Worn = <span style="color:#808080"> [[File:Worn_Icon.png|18px]] Worn </span> | ||
+ | | Sturdy = <span style="color:#808000"> [[File:Sturdy_Icon.png|18px]] Sturdy </span> | ||
+ | | Powerful = <span style="color:#008000"> [[File:Powerful_Icon.png|18px]] Powerful </span> | ||
+ | | Epic = <span style="color:#3366FF"> [[File:Epic_Icon.png|18px]] Epic </span> | ||
+ | | Mythical = <span style="color:#ff00ff"> [[File:Mythical_Icon.png|18px]] Mythical </span> | ||
+ | | Legendary = <span style="color:#FFF380"> [[File:Legendary_Icon.png|18px]] Legendary </span> | ||
+ | | <small>'''{{{rarity|?}}}'''</small> | ||
+ | }} | ||
|- style="{{#if: {{{cost|?}}}| | display: none;}}" | |- style="{{#if: {{{cost|?}}}| | display: none;}}" | ||
! style=" height: 30px; background: linear-gradient(to bottom, #18022E 0%, #380835 100%); color: #cb9022; font-size:100%; font-family: Oswald; letter-spacing: .5px; padding:0.3em; text-shadow:1.07px 0 0 #9b1112,0 1.07px 0 #9b1112,-1.07px 0 0 #9b1112,0 -1.07px 0 #9b1112;" | Cost | ! style=" height: 30px; background: linear-gradient(to bottom, #18022E 0%, #380835 100%); color: #cb9022; font-size:100%; font-family: Oswald; letter-spacing: .5px; padding:0.3em; text-shadow:1.07px 0 0 #9b1112,0 1.07px 0 #9b1112,-1.07px 0 0 #9b1112,0 -1.07px 0 #9b1112;" | Cost | ||
Line 50: | Line 58: | ||
| flavor_text || The flavor text of a costume. | | flavor_text || The flavor text of a costume. | ||
|- | |- | ||
− | | rarity || The costume's rarity | + | | rarity || The costume's rarity. |
|- | |- | ||
| cost || The cost or acquisition requirements of an costume. Only use for costumes that are available. | | cost || The cost or acquisition requirements of an costume. Only use for costumes that are available. |
Revision as of 03:13, 28 July 2024
? | ||
---|---|---|
Flavor Text | ? | |
Rarity | ? | |
Cost | ? | |
In-Game | ||
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 | Description |
---|---|
name | The name of the costume. |
card_art | The card artwork image of a costume. |
flavor_text | The flavor text of a costume. |
rarity | The costume's rarity. |
cost | The cost or acquisition requirements of an costume. Only use for costumes that are available. |
formerly_acquired | How a costume used to be acquired. Only use for costumes that are unobtainable. |
introduced | The date and update where the costume was introduced. |
ingame_model | image of the costume in-game. |
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_and_animation | 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 = <span style="color:#808080"> [[File:Worn_Icon.png|18px]] Worn </span>
| cost = Default costume.
| introduced = March 8th 2018 (Barbarian's Wrath).
| ingame_model = File:IronWillArmorFrontand Back.png
| accessory = <sub>'''This costume contains 16 changeable accessories. However, 12 of them can only be acquired from Defender Packs.'''</sub>
{{Iron Will Armor Accessories}}
}}
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Result | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|