Difference between revisions of "Template:Rings"
Jump to navigation
Jump to search
(9 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> | ||
+ | <ul class="list-inline" style="{{#switch: {{{stats}}} | ||
+ | | enabled = | ||
+ | | disabled = display:none; | ||
+ | | #default = | ||
+ | }}"> | ||
+ | <li class="list-inline-item"><strong>Ring Stats:</strong></li> | ||
+ | {{#if: {{{MEL|}}}|<li class="list-inline-item">{{{MEL}}}</li>|}}<!-- | ||
+ | |||
+ | -->{{#if: {{{RNG|}}}|<li class="list-inline-item">{{{RNG}}}</li>|}}<!-- | ||
+ | |||
+ | -->{{#if: {{{TEC|}}}|<li class="list-inline-item">{{{TEC}}}</li>|}}<!-- | ||
+ | |||
+ | -->{{#if: {{{DEX|}}}|<li class="list-inline-item">{{{DEX}}}</li>|}}<!-- | ||
+ | |||
+ | -->{{#if: {{{MDef|}}}|<li class="list-inline-item">{{{MDef}}}</li>|}}<!-- | ||
+ | |||
+ | -->{{#if: {{{RDef|}}}|<li class="list-inline-item">{{{RDef}}}</li>|}}<!-- | ||
+ | |||
+ | -->{{#if: {{{TDef|}}}|<li class="list-inline-item">{{{TDef}}}</li>|}} | ||
+ | </ul> | ||
+ | {{#if: {{{restrictions|}}}|<div class="card-text"><strong>Classes that cannot use this ring:</strong> {{{restrictions}}}</div>|}} | ||
<div class="card-text mw-collapsible mw-collapsed"> | <div class="card-text mw-collapsible mw-collapsed"> | ||
<span style="margin-top:10px;">[[File:{{#replace: {{#replace: {{{1}}}| |}}|'|}}|right|64px|link=]]</span> | <span style="margin-top:10px;">[[File:{{#replace: {{#replace: {{{1}}}| |}}|'|}}|right|64px|link=]]</span> | ||
Line 14: | Line 35: | ||
</dl> | </dl> | ||
</div> | </div> | ||
− | |||
− | |||
{{{2}}} | {{{2}}} | ||
− | |||
− | |||
</div> | </div> | ||
</div> | </div> | ||
Line 31: | Line 48: | ||
| description = | | description = | ||
| filename | | filename | ||
+ | | restrictions = (optional) lists class restrictions of rings | ||
| materials = | | materials = | ||
| RingMats template | | RingMats template | ||
+ | | stats = enabled or disabled, omitting this section will enable it by default | ||
+ | | MEL/RNG/TEC/DEX/MDef/RDef/TDef values | ||
}} | }} | ||
</pre> | </pre> | ||
Line 51: | Line 71: | ||
{{RingMats/2| L11 = 10 | L12 = 9 | L13 = 8 | L14 = 7 | L15 = 6 | L16 = 5 | L17 = 4 | L18 = 3 | L19 = 2 | L20 = 0 }} | {{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 | ||
}} | }} | ||
Line 66: | Line 89: | ||
{{RingMats| PP Consumption | L1 = 20 | L2 = 19 | L3 = 18 | L4 = 17 | L5 = 16 | L6 = 15 | L7 = 14 | L8 = 13 | L9 = 12 | L10 = 11 }} | {{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 }} | {{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 | ||
}} | }} | ||
+ | <div class="pt-1"> | ||
+ | [[Category: Equipment Templates]] | ||
+ | </div> | ||
</noinclude> | </noinclude> |
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:
- 1~20
- 1~20
- 1~20
- Materials
- Naverius Rock x3
Ruins Amethyst x1