Template:ModuleGenerator: Difference between revisions

Template page
No edit summary
No edit summary
Line 2: Line 2:
<templatestyles src="Template:ModuleGenerator/styles.css"/>
<templatestyles src="Template:ModuleGenerator/styles.css"/>
<div class="ModuleGenerator-container">
<div class="ModuleGenerator-container">
<div id="bg">
[[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:UI_Rune_Slot_MiddleDeco|class=ModuleGenerator-socket-type-box]]
[[File:UI_Rune_Slot_MiddleDeco.png|class=ModuleGenerator-socket-type-box]]</div>
 
[[File:{{{iconName|Unknown_Module.png}}}|class=ModuleGenerator-icon]]
[[File:{{{iconName|Unknown_Module.png}}}|class=ModuleGenerator-icon]]
<div id="module-class">
[[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:Icon_RunesClass_Mini_Bg.png|class=ModuleGenerator-module-class-bg]]
</div>
<div id="socket">
[[File:{{#invoke:ModuleGenerator|socketFileName|{{{socket-type|cerulean}}}}}|class=ModuleGenerator-socket-type]]
<span class="ModuleGenerator-cost">{{{capacity-cost|??}}}</span>
<span class="ModuleGenerator-cost">{{{capacity-cost|??}}}</span>
</div>
<span class="ModuleGenerator-name">{{{name|Missing Name}}}</span>
<span class="ModuleGenerator-name">{{{name|Missing Name}}}</span>
[[File:{{#invoke:ModuleGenerator|rarityFileName|{{{rarity}}}}}|class=ModuleGenerator-rarity]]
[[File:{{#invoke:ModuleGenerator|rarityFileName|{{{rarity}}}}}|class=ModuleGenerator-rarity]]
[[File:{{#invoke:ModuleGenerator|specialSlotFileName|{{{special}}}}}|class=ModuleGenerator-special-mask]]
[[File:{{#invoke:ModuleGenerator|specialSlotFileName|{{{special}}}}}|class=ModuleGenerator-special-mask]]
</div>
</div>
<div class="ModuleGenerator-notice">''module was created with a script''</div>
<div class="ModuleGenerator-notice">''module was created with a script''</div>
</onlyinclude>
</onlyinclude>

Revision as of 07:33, 30 June 2024

??

Missing Name

module was created with a script


How to use:

{{ModuleGenerator
|name
|iconName
|rarity
|module-class
|socket-type
|capacity-cost
|special}}

Possible Values:

[rarity]: standard, rare, ultimate, transcendent
[module-class]: descendant, general, special, impact, highpower, melee
[socket-type]: cerulean, almandine, malachite, xantic, rutile
[special]: skill, sub

Example: Template:ModuleGenerator/example