Template:ModuleGenerator: Difference between revisions

Template page
No edit summary
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
<templatestyles src="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:{{{iconName}}}|class=ModuleGenerator-icon]]
[[File:UI_Rune_Slot_MiddleDeco.png|class=ModuleGenerator-socket-type-box]]</div>
 
[[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:Icon_RunesClass_Mini_Bg.png|class=ModuleGenerator-module-class-bg]]
</div>
<div id="socket">
[[File:{{#invoke:ModuleGenerator|socketFileName|{{{socket-type}}}}}|class=ModuleGenerator-socket-type]]
[[File:{{#invoke:ModuleGenerator|socketFileName|{{{socket-type}}}}}|class=ModuleGenerator-socket-type]]
[[File:Icon_RuneCapacity.png|class=ModuleGenerator-cost-icon]]
<span class="ModuleGenerator-cost">{{{capacity-cost|??}}}</span>
<span class="ModuleGenerator-cost">{{{capacity-cost|0}}}</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('https://tfd.wiki/images/8/85/UI_RuneSlot_Tier.png'); background-color:{{#invoke:ModuleGenerator|rarityColor|{{{rarity}}}}}">
 
[[File:{{#invoke:ModuleGenerator|specialSlotFileName|{{{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>
How to use:
<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>

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