Difference between revisions of "Template:WpnRow"

From Arks-Visiphone
Jump to navigation Jump to search
(Icons can't go first because it breaks sorting)
m (Protected "Template:WpnRow": Do not edit template with destructive edits to how pages are displayed ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
<td>[[File:{{#replace: {{#replace: {{{1}}}| |}}|'|}}|center|64px|link=]]</td>
 
<td>[[File:{{#replace: {{#replace: {{{1}}}| |}}|'|}}|center|64px|link=]]</td>
 
<td class="text-center"><p class="wpn-name mobile-text-fix">[[{{{name}}}]]</p></td>
 
<td class="text-center"><p class="wpn-name mobile-text-fix">[[{{{name}}}]]</p></td>
<td class="text-center"><ul class="ml-2 mr-2 wpn-req mobile-text-fix list-unstyled" style="margin: unset;width: 60px;"><li>{{{req}}}</li></ul></td>
+
<td class="text-center"><p class="wpn-req mobile-text-fix">{{{req}}}</p></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: {{{MEL|}}}|<li>{{{MEL|}}} {{icons|MEL|}}</li>|}}<!--
+
{{#if: {{{MEL|}}}|<li>{{icons|MEL|}} {{{MEL|}}}</li>|}}<!--
  
-->{{#if: {{{RNG|}}}|<li>{{{RNG|}}} {{icons|RNG|}}</li>|}}<!--
+
-->{{#if: {{{RNG|}}}|<li>{{icons|RNG|}} {{{RNG|}}}</li>|}}<!--
  
-->{{#if: {{{TEC|}}}|<li>{{{TEC|}}} {{icons|TEC|}}</li>|}}
+
-->{{#if: {{{TEC|}}}|<li>{{icons|TEC|}} {{{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>{{{MMAX|}}} {{icons|MEL|}}</li>|}}<!--
+
{{#if: {{{MMAX|}}}|<li>{{icons|MEL|}} {{{MMAX|}}}</li>|}}<!--
  
-->{{#if: {{{RMAX|}}}|<li>{{{RMAX|}}} {{icons|RNG|}}</li>|}}<!--
+
-->{{#if: {{{RMAX|}}}|<li>{{icons|RNG|}} {{{RMAX|}}}</li>|}}<!--
  
-->{{#if: {{{TMAX|}}}|<li>{{{TMAX|}}} {{icons|TEC|}}</li>|}}
+
-->{{#if: {{{TMAX|}}}|<li>{{icons|TEC|}} {{{TMAX|}}}</li>|}}
 
</ul>
 
</ul>
 
</td>
 
</td>

Latest revision as of 18:35, 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 }}