Difference between revisions of "Template:WpnRow"

From Arks-Visiphone
Jump to navigation Jump to search
(Trying to make this table sortable like the jp version)
(Icons can't go first because it breaks sorting)
Line 9: Line 9:
 
<td>
 
<td>
 
<ul class="ml-2 mr-2 wpn-max mobile-text-fix list-unstyled" style="margin: unset;width: 60px;">
 
<ul class="ml-2 mr-2 wpn-max mobile-text-fix list-unstyled" style="margin: unset;width: 60px;">
{{#if: {{{MEL|}}}|<li>{{icons|MEL|}} {{{MEL|}}}</li>|}}<!--
+
{{#if: {{{MEL|}}}|<li>{{{MEL|}}} {{icons|MEL|}}</li>|}}<!--
  
-->{{#if: {{{RNG|}}}|<li>{{icons|RNG|}} {{{RNG|}}}</li>|}}<!--
+
-->{{#if: {{{RNG|}}}|<li>{{{RNG|}}} {{icons|RNG|}}</li>|}}<!--
  
-->{{#if: {{{TEC|}}}|<li>{{icons|TEC|}} {{{TEC|}}}</li>|}}
+
-->{{#if: {{{TEC|}}}|<li>{{{TEC|}}} {{icons|TEC|}}</li>|}}
 
</ul>
 
</ul>
 
</td>
 
</td>
 
<td>
 
<td>
 
<ul class="ml-2 mr-2 wpn-max mobile-text-fix list-unstyled" style="margin: unset;width: 60px;">
 
<ul class="ml-2 mr-2 wpn-max mobile-text-fix list-unstyled" style="margin: unset;width: 60px;">
{{#if: {{{MMAX|}}}|<li>{{icons|MEL|}} {{{MMAX|}}}</li>|}}<!--
+
{{#if: {{{MMAX|}}}|<li>{{{MMAX|}}} {{icons|MEL|}}</li>|}}<!--
  
-->{{#if: {{{RMAX|}}}|<li>{{icons|RNG|}} {{{RMAX|}}}</li>|}}<!--
+
-->{{#if: {{{RMAX|}}}|<li>{{{RMAX|}}} {{icons|RNG|}}</li>|}}<!--
  
-->{{#if: {{{TMAX|}}}|<li>{{icons|TEC|}} {{{TMAX|}}}</li>|}}
+
-->{{#if: {{{TMAX|}}}|<li>{{{TMAX|}}} {{icons|TEC|}}</li>|}}
 
</ul>
 
</ul>
 
</td>
 
</td>

Revision as of 04:19, 9 October 2020

Icon Name Req. Base MAX Properties Class Drop Info
[[File:{{{1}}}|center|64px|link=]]

[[{{{name}}}]]

  • {{{req}}}

{{{2}}}

{{{3}}}

{{{4}}}

Documentation

{{WpnRow2
| rarity  = Rarity Number
| Filename with extension  
| name    = Weapon name
| req     = Weapon Requirement
| MEL    = Base MEL
| RNG    = Base RNG Pwr
| TEC    = Base TEC Pwr
| MMAX    = Max MEL
| RMAX    = Max RNG Pwr
| TMAX    = Max TEC Pwr
| Weapon properties
| Classes the weapon supports
| Drop locations & other info
}}

How to use

Can be used vertically or horizontally. The ATK and MAX values do not need to be all filled out, just what they have. See the example below.

Example:

Vertical configuration
{{WpnRow
| rarity=1
| UIItemSword.png
| name = Sword
| req = {{icons|MEL}} 1
| MEL = 9999
| MMAX = 9999
| OP AFFIXES BRUH
| {{Icons|All Class}}
| NO WHERE
}}

Horizontal configuration
{{WpnRow | rarity=1 | UIItemSword.png | name = Sword | req = {{icons|MEL}} 1 | MEL = 9999 | MMAX = 9999 | OP AFFIXES BRUH | {{Icons|All Class}} | NO WHERE }}