Template:ModuleGenerator: Difference between revisions

Template page
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
<templatestyles src="Template:ModuleGenerator/styles.css" wrapper="div.ModuleGenerator-container"/>
<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|Module_Test.png}}}|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>
<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|tab}}|class=ModuleGenerator-special-mask]]
[[File:{{#invoke:ModuleGenerator|rarityFileName|{{{rarity}}}}}|class=ModuleGenerator-rarity]]
</div></onlyinclude>
 
[[File:{{#invoke:ModuleGenerator|specialSlotFileName|{{{special}}}}}|class=ModuleGenerator-special-mask]]
 
</div>
 
<div class="ModuleGenerator-notice">''module was created with a script''</div>
</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