Template:ModuleGenerator: Difference between revisions

Template page
No edit summary
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
<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:{{{iconPath}}}|class=ModuleGenerator-icon]]
[[File:UI_Rune_Slot_MiddleDeco.png|class=ModuleGenerator-socket-type-box]]</div>
[[File:{{{module-class}}}|class=ModuleGenerator-module-class]]
 
[[File:{{{socket-type}}}|class=ModuleGenerator-socket-type]]
[[File:{{{iconName|Unknown_Module.png}}}|class=ModuleGenerator-icon]]
[[File:Icon_RuneCapacity.png|class=ModuleGenerator-cost-icon]]
 
<span class="ModuleGenerator-cost">{{{capacity-cost|9}}}</span>
<div id="module-class">
[[File:{{#invoke:ModuleGenerator|moduleClassFileName|{{{module-class}}}}}|class=ModuleGenerator-module-class]]
[[File:Icon_RunesClass_Mini_Bg.png|class=ModuleGenerator-module-class-bg]]
</div>
<div id="socket">
[[File:{{#invoke:ModuleGenerator|socketFileName|{{{socket-type}}}}}|class=ModuleGenerator-socket-type]]
<span class="ModuleGenerator-cost">{{{capacity-cost|??}}}</span>
</div>
 
<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(); background-color:{{#invoke:ModuleGenerator|rarityColor|{{{rarity}}}}}"></div>
 
[[File:{{{special-slot}}}|class=ModuleGenerator-special-slot]]
[[File:{{#invoke:ModuleGenerator|rarityFileName|{{{rarity}}}}}|class=ModuleGenerator-rarity]]
 
[[File:{{#invoke:ModuleGenerator|specialSlotFileName|{{{special}}}}}|class=ModuleGenerator-special-mask]]
 
</div>
</div>
<div class="ModuleGenerator-notice">''module was created with a script''</div>
</onlyinclude>
</onlyinclude>
<noinclude>
<noinclude>
How to use:
How to use:
<pre>{{}}</pre>
<pre>
{{ModuleGenerator
|name
|iconName
|rarity
|module-class
|socket-type
|capacity-cost
|special}}
</pre>
 
Possible Values:
<pre>
[rarity]: standard, rare, ultimate, transcendent
[module-class]: descendant, general, special, impact, highpower, melee
[socket-type]: cerulean, almandine, malachite, xantic, rutile
[special]: skill, sub
</pre>
 
Example: [[Template:ModuleGenerator/example]]
</noinclude>
</noinclude>

Latest revision as of 07:36, 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