Difference between revisions of "Template:Rings"

From Arks-Visiphone
Jump to navigation Jump to search
(Undo revision 10133 by Fhorte (talk))
 
(6 intermediate revisions by 3 users not shown)
Line 6: Line 6:
 
<dd class="col-sm-9">{{{description}}}</dd>
 
<dd class="col-sm-9">{{{description}}}</dd>
 
</dl>
 
</dl>
<div class="card-text mw-collapsible mw-collapsed">
 
<span style="margin-top:10px;">[[File:{{#replace: {{#replace: {{{1}}}| |}}|'|}}|right|64px|link=]]</span>
 
<div style="padding-top:25px;">
 
<dl class="row">
 
<dt class="col-sm-3">Materials</dt>
 
<dd class="col-sm-9">{{{materials}}}</dd>
 
</dl>
 
</div>
 
 
<ul class="list-inline" style="{{#switch: {{{stats}}}  
 
<ul class="list-inline" style="{{#switch: {{{stats}}}  
 
| enabled =  
 
| enabled =  
 
| disabled = display:none;
 
| disabled = display:none;
| default =
+
| #default =
 
}}">
 
}}">
 
<li class="list-inline-item"><strong>Ring Stats:</strong></li>
 
<li class="list-inline-item"><strong>Ring Stats:</strong></li>
Line 35: Line 27:
 
</ul>
 
</ul>
 
{{#if: {{{restrictions|}}}|<div class="card-text"><strong>Classes that cannot use this ring:</strong> {{{restrictions}}}</div>|}}
 
{{#if: {{{restrictions|}}}|<div class="card-text"><strong>Classes that cannot use this ring:</strong> {{{restrictions}}}</div>|}}
<div class="table-responsive-md">
+
<div class="card-text mw-collapsible mw-collapsed">
<table class="table-bordered">
+
<span style="margin-top:10px;">[[File:{{#replace: {{#replace: {{{1}}}| |}}|'|}}|right|64px|link=]]</span>
 +
<div style="padding-top:25px;">
 +
<dl class="row">
 +
<dt class="col-sm-3">Materials</dt>
 +
<dd class="col-sm-9">{{{materials}}}</dd>
 +
</dl>
 +
</div>
 
{{{2}}}
 
{{{2}}}
</table>
 
</div>
 
 
</div>
 
</div>
 
</div>
 
</div>

Latest revision as of 21:01, 9 October 2020

{{{name}}}
Description
{{{description}}}
  • Ring Stats:

[[File:{{{1}}}|right|64px|link=]]

Materials
{{{materials}}}

{{{2}}}

Documentation

To insert this template in a page, copy the template below to get started.

{{Rings
| name = 
| description = 
| filename
| restrictions = (optional) lists class restrictions of rings
| materials = 
| RingMats template
| stats = enabled or disabled, omitting this section will enable it by default
| MEL/RNG/TEC/DEX/MDef/RDef/TDef values
}}

An example usage would look like this:

{{Rings
| name = Perfect Guard Sonic Arrow (L)
| description = Sonic Arrow activates after a Perfect Guard when using Sword-type weapons.
| UIItemPerfectGuardSonicArrow.png
| materials = Naverius Rock x3<br>Ruins Amethyst x1
| {{RingMats| Power | L1 = 175% | L2 = 176% | L3 = 177% | L4= 178% | L5 = 180% | L6 = 182% | L7 = 184% | L8 = 186% | L9 = 188% | L10 = 190% }}

{{RingMats/2| L11 = 192% | L12 = 194% | L13 = 196% | L14 = 198% | L15 = 200% | L16 = 204% | L17 = 208% | L18 = 212% | L19 = 216% | L20 = 220% }}

{{RingMats| PP Consumption | L1 = 20 | L2 = 19 | L3 = 18 | L4 = 17 | L5 = 16 | L6 = 15 | L7 = 14 | L8 = 13 | L9 = 12 | L10 = 11 }}

{{RingMats/2| L11 = 10 | L12 = 9 | L13 = 8 | L14 = 7 | L15 = 6 | L16 = 5 | L17 = 4 | L18 = 3 | L19 = 2 | L20 = 0 }}
| MEL = {{Icons|MEL}} 1~20
| RNG = {{Icons|RNG}} 1~20
| DEX = {{Icons|DEX}} 1~20

}}

Which produces the below template

Perfect Guard Sonic Arrow (L)
Description
Sonic Arrow activates after a Perfect Guard when using Sword-type weapons.
  • Ring Stats:
  • MEL 1~20
  • RNG 1~20
  • Dex 1~20
UIItemPerfectGuardSonicArrow.png
Materials
Naverius Rock x3
Ruins Amethyst x1


Lv.11 Lv.12 Lv.13 Lv.14 Lv.15 Lv.16 Lv.17 Lv.18 Lv.19 Lv.20 192%194%196%198%200%204%208%212%216%220% Lv.11 Lv.12 Lv.13 Lv.14 Lv.15 Lv.16 Lv.17 Lv.18 Lv.19 Lv.20 10987654320