Template:ModuleGenerator: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:


<onlyinclude>
<onlyinclude>
<templatestyles src="Template:ModuleGenerator/styles.css" />
<templatestyles src="Template:ModuleGenerator/styles.css" wrapper="div.ModuleGenerator-container"/>
<div class="ModuleGenerator-container">
<div class="ModuleGenerator-container">
[[File:UI_RuneSlot_Bg.png|class=ModuleGenerator-bg]]
[[File:UI_RuneSlot_Bg.png|class=ModuleGenerator-bg]]
[[File:UI_RuneSlot_Light.png|class=ModuleGenerator-bg-light]]
[[File:UI_RuneSlot_Light.png|class=ModuleGenerator-bg-light]]
[[File:UI_RuneSlot_Light2.png|class=ModuleGenerator-bg-light2]]
[[File:UI_RuneSlot_Light2.png|class=ModuleGenerator-bg-light2]]
[[File:{{{iconName}}}|class=ModuleGenerator-icon]]
[[File:{{{iconName|Module_Test.png}}}|class=ModuleGenerator-icon]]
[[File:{{#invoke:ModuleGenerator|moduleClassFileName|{{{module-class}}}}}|class=ModuleGenerator-module-class]]
[[File:{{#invoke:ModuleGenerator|moduleClassFileName|{{{module-class}}}}}|class=ModuleGenerator-module-class]]
[[File:{{#invoke:ModuleGenerator|socketFileName|{{{socket-type}}}}}|class=ModuleGenerator-socket-type]]
[[File:{{#invoke:ModuleGenerator|socketFileName|{{{socket-type}}}}}|class=ModuleGenerator-socket-type]]
Line 12: Line 12:
<span class="ModuleGenerator-cost">{{{capacity-cost|0}}}</span>
<span class="ModuleGenerator-cost">{{{capacity-cost|0}}}</span>
<span class="ModuleGenerator-name">{{{name|Missing Name}}}</span>
<span class="ModuleGenerator-name">{{{name|Missing Name}}}</span>
<div class="ModuleGenerator-rarity-mask" style="mask-image: url('https://tfd.wiki/images/8/85/UI_RuneSlot_Tier.png'); background-color:{{#invoke:ModuleGenerator|rarityColor|{{{rarity}}}}}">
<span class="ModuleGenerator-rarity-mask" style="mask-image: url('https://tfd.wiki/images/8/85/UI_RuneSlot_Tier.png'); background-color:{{#invoke:ModuleGenerator|rarityColor|{{{rarity}}}}}"></span>
[[File:{{#invoke:ModuleGenerator|specialSlotFileName|{{{special-slot}}}}}]]
[[File:{{#invoke:ModuleGenerator|specialSlotFileName|tab}}|class=ModuleGenerator-special-mask]]
</div></onlyinclude>
</div></onlyinclude>

Revision as of 08:01, 7 June 2024


0 Missing Name <span class="ModuleGenerator-rarity-mask" style="mask-image: url('https://tfd.wiki/images/8/85/UI_RuneSlot_Tier.png'); background-color:Script error: The function "rarityColor" does not exist.">