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)
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"><p class="wpn-req mobile-text-fix">{{{req}}}</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>
 
<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;">

Revision as of 03:58, 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 }}