Difference between revisions of "Template:WpnRow"
Jump to navigation
Jump to search
(Icons can't go first because it breaks sorting) |
|||
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">< | + | <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>{{ | + | {{#if: {{{MEL|}}}|<li>{{icons|MEL|}} {{{MEL|}}}</li>|}}<!-- |
− | -->{{#if: {{{RNG|}}}|<li>{{ | + | -->{{#if: {{{RNG|}}}|<li>{{icons|RNG|}} {{{RNG|}}}</li>|}}<!-- |
− | -->{{#if: {{{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>{{ | + | {{#if: {{{MMAX|}}}|<li>{{icons|MEL|}} {{{MMAX|}}}</li>|}}<!-- |
− | -->{{#if: {{{RMAX|}}}|<li>{{ | + | -->{{#if: {{{RMAX|}}}|<li>{{icons|RNG|}} {{{RMAX|}}}</li>|}}<!-- |
− | -->{{#if: {{{TMAX|}}}|<li>{{ | + | -->{{#if: {{{TMAX|}}}|<li>{{icons|TEC|}} {{{TMAX|}}}</li>|}} |
</ul> | </ul> | ||
</td> | </td> |
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 }}