Main Page

Difference between revisions of "Template:WpnRow2"

From Arks-Visiphone
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
<td class="text-center">{{Rarity|{{{rarity}}}}}</td>
 
<td class="text-center">{{Rarity|{{{rarity}}}}}</td>
 
<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}}}<br>{{{jpnname}}}</p></td>
+
<td class="text-center"><p class="wpn-name mobile-text-fix">[[{{{name}}}]]<br>{{{jpnname}}}</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 class="text-center">
+
<td>
<ul class="wpn-max mobile-text-fix list-unstyled" style="margin: unset;">
+
<ul class="ml-2 mr-2 wpn-max mobile-text-fix list-unstyled" style="margin: unset;width: 60px;">
 
{{#if: {{{SATK|}}}|<li>{{icons|S-ATK|}} {{{SATK|}}}</li>|}}<!--
 
{{#if: {{{SATK|}}}|<li>{{icons|S-ATK|}} {{{SATK|}}}</li>|}}<!--
  
-->{{#if: {{{RATK|}}}|<li>{{icons|R-ATK|}}{{{RATK|}}}</li>|}}<!--
+
-->{{#if: {{{RATK|}}}|<li>{{icons|R-ATK|}} {{{RATK|}}}</li>|}}<!--
  
-->{{#if: {{{TATK|}}}|<li>{{icons|R-ATK|}}{{{TATK|}}}</li>|}}
+
-->{{#if: {{{TATK|}}}|<li>{{icons|T-ATK|}} {{{TATK|}}}</li>|}}
 
</ul>
 
</ul>
 
</td>
 
</td>
<td class="text-center">
+
<td>
<ul class="wpn-max mobile-text-fix list-unstyled" style="margin: unset;">
+
<ul class="ml-2 mr-2 wpn-max mobile-text-fix list-unstyled" style="margin: unset;width: 60px;">
 
{{#if: {{{SMAX|}}}|<li>{{icons|S-ATK|}} {{{SMAX|}}}</li>|}}<!--
 
{{#if: {{{SMAX|}}}|<li>{{icons|S-ATK|}} {{{SMAX|}}}</li>|}}<!--
  
-->{{#if: {{{RMAX|}}}|<li>{{icons|R-ATK|}}{{{RMAX|}}}</li>|}}<!--
+
-->{{#if: {{{RMAX|}}}|<li>{{icons|R-ATK|}} {{{RMAX|}}}</li>|}}<!--
  
-->{{#if: {{{TMAX|}}}|<li>{{icons|R-ATK|}}{{{TMAX|}}}</li>|}}
+
-->{{#if: {{{TMAX|}}}|<li>{{icons|T-ATK|}} {{{TMAX|}}}</li>|}}
 
</ul>
 
</ul>
 
</td>
 
</td>

Latest revision as of 03:11, 22 April 2020

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

[[{{{name}}}]]
{{{jpnname}}}

  • {{{req}}}

{{{2}}}

{{{3}}}

{{{4}}}

Documentation

{{WpnRow2
| rarity  = Rarity Number
| Filename with extension  
| name    = English patch name
| jpnname = Japanese name
| req     = Weapon Requirement
| SATK    = Base S-ATK
| RATK    = Base R-ATK
| TATK    = Base T-ATK
| SMAX    = Max S-ATK
| RMAX    = Max R-ATK
| TMAX    = Max T-ATK
| 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
{{WpnRow2
| rarity=13
| UIItemVortexGeselle.png
| name = Vortex Geselle
| jpnname = ヴォルテクスゲゼル
| req = {{icons|S-ATK}} 920
| SATK = 1652
| SMAX = 2230
| {{Pots|Katana Vortex}}<br>Supported SSAs: {{icons|SSA 1}}
| {{icons|Braver}}{{icons|Phantom}}
| Lv.91+ Shiva<br>Divide Quest Exchange
}}

Horizontal configuration
{{WpnRow2|rarity=13|UIItemVortexGeselle.png|name=Vortex Geselle|jpnname=ヴォルテクスゲゼル|req={{icons|S-ATK}} 920|SATK=1652|SMAX=2230|{{Pots|Katana Vortex}}<br>Supported SSAs: {{icons|SSA 1}}|{{icons|Braver}}{{icons|Phantom}}|Lv.91+ Shiva<br>Divide Quest Exchange}}

See User:SynthSy/weaponrow for a demo on how it looks.