Changes

Template:Mods Info

3,772 bytes added, 5 April
m
no edit summary
<includeonly><div style="display: flex; flex: {{{width|40vw}}}; justify-content: space-between; align-items: center; border: 1px solid #1C2E4A; padding: 0 10px 10px 10px;"> <div> <p class="no-decoration" style="font-size: 130%; font-weight: bold; color: #D3D3D3;"> {{#switch: {{{mods_typeitem_type|}}} | Helmet = {{MODS Qualibean Helmet Icon}} | Armor = {{MODS Qualibean Armor Icon}} | Relic = {{MODS Qualibean Relic Icon}} | Weapon = {{MODS Qualibean Weapon Icon}} | Rings Ring = {{MODS Qualibean Ring Icon}} | [[File:The Qualibean Icon.png|20px]] }}<!-- --->[[{{{name|Mod Name?}}}|<span style="color: #D3D3D3; padding-left: 5px;">{{{name|Mod Name?}}}</span>]]<!-- ---></p><!----->* ''{{{description|Description?}}}''<!-- --->{{#if: {{{item_name|}}} | {{#if: {{{item_icon|}}} | <!-- Display Nothing --> | * '''Item:''' ''{{{item_name}}}'' }} }}<!----->* '''Found in:''' ''{{{found_in|?}}}''<!----->* '''Valid For:''' ''{{{valid_for|?}}}'' </div><!-- --->{{#if: {{{item_icon|}}} | <!-- ---><div style="text-align: center;margin-right: 5px;"><!-- --->'''Item:''' <br> [[{{{mods_typeitem_icon}}}{{!}}50px]] <br> ''{{{item_name}}}''<!-----></div><!----->}}</div></includeonly><noinclude>===Technical Details===* If both an item name and an item icon is provided, the item name and icon will appear at the far right side of the mod's bounding box.* If only item name is provided, a bullet point will be added under the mod name instead.===Parameters==={| border="1" class="wikitable TemplateDocumentation"|-! Parameter !! Required !! Description !! Default|-| name || {{yes}} || The name of the mod || Mod Name?|-| item_type || {{yes}} || The type of item the mod can be used on (Helmet, Armor, Relic, Weapon, Ring) || ?|-| description || {{yes}} || Description of what the mod does. || Description?|-| found_in || {{yes}} || The difficulties the mod can be found in. || ?|-| valid_for || {{yes}} || The heroes the mod can be used with. || ?|-| width || {{no}} || Width of the bounding box. || 40vw|-| item_name || {{no}} || The specific item the mod can be found on. |||-| item_icon || {{no}} || The filepath for the icon for the item. |||} ===Examples==={| style="width:95%;" cellpadding="20"! style="font-size:150%; width: 50%;" | Wiki Text! style="font-size:150%; width: 50%;" | Result|-|<code class="tempdoc-code-block"><nowiki> {{Mods Info | name = Healthy Power Chip | item_type = Armor | description = '''+140-7,770''' Hero Damage when at 90%+ Health. | found_in = Chaos 1+ | valid_for = All heroes }}</nowiki></code>| {{Mods Info | name = Healthy Power Chip | item_type = Armor | description = '''+140-7,770''' Hero Damage when at 90%+ Health. | found_in = Chaos 1+ | valid_for = All heroes }}|-|<code class="tempdoc-code-block"><nowiki> {{Mods Info | name = Flame Eater | item_type = Weapon | description = '''+39.65%~60%''' damage to ignited enemies. | found_in = Any difficulty (Countess must be in hero deck) | valid_for = '''[[File:The Qualibean IconCountess_icon_trans.png|25px]] [[Countess]]''' | item_name = Standard Legendary Swords }}}</nowiki></code>| {{Mods Info | name = Flame Eater | item_type = Weapon | description = '''+39.65%~60%''' damage to ignited enemies. | found_in = Any difficulty (Countess must be in hero deck) | valid_for = '''[[File:Countess_icon_trans.png|20px25px]] [[Countess]]''' | item_name = Standard Legendary Swords }}|-|<code class="tempdoc-code-block"><nowiki> {{Mods Info | name = Blessing of Piercing | item_type = Ring | description = Hero projectiles pierce shields and do '''45.5%~100%''' of... | found_in = Prime 7 Region Incursions (Chaos 9+) | valid_for = All Heroes | item_name = Ring of Piercing | item_icon = File:Ring_of_Piercing_Icon.png }}</nowiki></code>| {{Mods Info | name = Blessing of Piercing | item_type = Ring | description = Hero projectiles pierce shields and do '''45.5%~100%''' of their damage. | found_in = Prime 7 Region Incursions (Chaos 9+) | valid_for = All Heroes | item_name = Ring of Piercing | item_icon = File:Ring_of_Piercing_Icon.png
}}
<span class="no-decoration">[[{{{name|Mods Name?}}}|<span style="color: #D3D3D3">{{{name| <big>'''Mods Name?'''</big>}}}</span>]]</span>
* ''{{{description|Description?}}}''
{{ #if: {{{item|}}}
| * '''Item:''' ''{{{item}}}''
}}{{#if: {{{found_in|}}}
| * '''Found in:''' ''{{{found_in}}}''
}}{{#if: {{{valid_for|}}}
| * '''Valid For:''' ''{{{valid_for}}}''
}}
|}
 
__NOEDITSECTION__
</noinclude>
WikiDefender, bureaucrat, administrator
736
edits