Community Archive
User:Lirmont/Sandbox
File:EastRonfaure.png
{{coords|51.6|28.4|East Ronfaure}}
Coord test: disabled.
[[User:Lirmont/Sandbox2|<span class="itemlink User:Lirmont/Sandbox2">User:Lirmont/Sandbox2</span>]]
Weapon tooltip: disabled.
Zone map test (generated code): works (have to click to the lower right of where you want it on).
Zone map test (same code), smaller: works; -9px is really noticeable.
DPL test {{#dpl:title=Lirmont/Sandbox2|namespace=User|include=item|allowcachedresults=true|debug=5}}:
{{Extension DPL}}<span id="{{{text}}}" class="advanced-tooltip" style="border-bottom:thin dashed grey; cursor:default; display:inline-block;">{{{text}}}<span id="{{{text}}}-tooltip" class="tooltip-contents hidden">{{{tooltip}}}</span></span>
DPL test {{#dpl:title=Gahoo/Sandbox7|namespace=User_talk|include=*|allowcachedresults=true|debug=5}}:
__NOTOC__
<!-- {FFXIbox/Begin|align=left|width=400px}} -->
{{#if:{{{image|}}}|[[File:{{{image}}}|{{{image size|365px}}}|{{{image caption|}}}]]|}}
{|style="border: 0px" cellspacing="0" cellpadding="0"
|'''{{{name}}}'''
|rowspan="2" align="right" valign="top" style="padding: 0px 0px 0px 5px; margin: 0px"|{{#if:{{{tags|}}}|{{{tags}}}|}}
|-
|colspan="2" valign="top" style="padding: 0px; margin: 0px"|{{#if:{{{type|}}}|'''({{#switch:{{lc:{{{type}}}}}|string instrument = [[String Instrument|String Instr.]]|wind instrument = [[Wind Instrument|Wind Instr.]]|scythe = [[Scythes|Scythe]]|#default = [[{{{type}}}]]}})'''|}} {{#switch:{{lc:{{{races}}}}}
| male = {{ht|Male|♂}}
| female = {{ht|Female|♀}}
| hume = '''[[Hume|H]]'''
| hume male = [[Hume|{{ht|Hume Male|'''H'''♂}}]]
| hume female = [[Hume|{{ht|Hume Female|'''H'''♀}}]]
| elvaan = '''[[Elvaan|E]]'''
| elvaan male = [[Elvaan|{{ht|Elvaan Male|'''E'''♂}}]]
| elvaan female = [[Elvaan|{{ht|Elvaan Female|'''E'''♀}}]]
| tarutaru = '''[[Tarutaru|T]]'''
| tarutaru male = [[Tarutaru|{{ht|Tarutaru Male|'''T'''♂}}]]
| tarutaru female = [[Tarutaru|{{ht|Tarutaru Female|'''T'''♀}}]]
| mithra = '''[[Mithra|M]]'''
| galka = '''[[Galka|G]]'''
| #default = '''{{{races|All Races}}}'''
}}<br>{{#if:{{{description|}}}|''{{{description}}}''<br>|{{#if:{{{damage|}}}|'''DMG:''' {{{damage}}} '''Delay:''' {{{delay}}} {{{stats|}}}<br>|{{#if:{{{stats|}}}|{{{stats}}}<br>|}} }} }}{{#if:{{{level|}}}|'''Lv.''' {{{level}}} '''{{{jobs|All Jobs}}}'''|}}
|-
|colspan="2" align="right" style="padding: 0px 0px 0px 20px; margin: 0px"|{{#if:{{{charges|}}}|<includeonly>{{EnchantmentDetails|{{{charges}}}|{{{use delay}}}|{{{recast}}}}}</includeonly>|}}
|}
{{#if:{{{damage|}}}|<br style="line-height:1.1em"/>'''Damage Per Second:''' {{#ifeq:Hand-to-Hand|{{{type}}}|+{{#expr: ({{{damage}}} * 60) / (480 + {{{delay}}}) * 2 round 2}}*|{{#expr: ({{{damage}}} * 60) / {{{delay}}} round 2}} }}<br>
'''TP Per Hit:''' {{#ifeq:Hand-to-Hand|{{{type}}}|+<!---
--->{{#ifeq:1|{{#expr: ({{{delay}}} + 480) >= 530}}|{{#expr: (14.5 + (({{{delay}}} - 50) * 3.5) / 470) - 14.18 round 1}}|<!---
--->{{#ifeq:1|{{#expr: ({{{delay}}} + 480) > 480}}|{{#expr: (13.0 + (({{{delay}}} + 0) * 1.5) / 50) - 13.05 round 1}}|0}} }}%*<br><small>*Base delay for Hand-to-Hand is assumed to be 480.</small>|<!---
--->{{#ifeq:1|{{#expr: {{{delay}}} >= 530}}|{{#expr: (14.5 + (({{{delay}}} - 530) * 3.5) / 470) - 0.05 round 1}}|<!---
--->{{#ifeq:1|{{#expr: {{{delay}}} >= 480}}|{{#expr: (13.0 + (({{{delay}}} - 480) * 1.5) / 50) - 0.05 round 1}}|<!---
--->{{#ifeq:1|{{#expr: {{{delay}}} >= 450}}|{{#expr: (11.5 + (({{{delay}}} - 450) * 1.5) / 30) - 0.05 round 1}}|<!---
--->{{#ifeq:1|{{#expr: {{{delay}}} >= 180}}|{{#expr: (5.0 + (({{{delay}}} - 180) * 6.5) / 270) - 0.05 round 1}}|<!---
--->{{#ifeq:1|{{#expr: {{{delay}}} >= 0}}|{{#expr: (5.0 + (({{{delay}}} - 180) * 1.5) / 180) - 0.05 round 1}}|}} }} }} }} }}%}}<br>
|}}{{#if:{{{stackable|}}}|{{#if:{{{damage|}}}|<br>|<br style="line-height:1.1em"/>}}'''Stackable:''' {{#switch:{{lc:{{{stackable|}}}}}|1 = ''Not Stackable''|not stackable = ''Not Stackable''|#default = {{{stackable}}}}}<br>|}}<!--
--><noinclude>{{#switch:{{lc:{{{1|}}}}}|no categories = |nc = |#default = [[Category:Weapons]]{{#if:{{{type|}}}|[[Category:{{#switch:{{lc:{{{type}}}}}|axe = Axes|club = Clubs|dagger = Daggers|great axe = Great Axes|great sword = Great Swords|polearm = Polearms|scythe = Scythes|staff = Staves|sword = Swords|string instrument = String Instruments|wind instrument = Wind Instruments|fishing tackle = Fishing||#default = {{{type}}}}}]]}}}}</noinclude>
<!-- {{FFXIbox/End}} -->
Switching map coords from text to percentage:
(A-11)
x: 9.58%
y: 73.48%
(D-5)
x: 28.75%
y: 35.14%
{{#sub:coord|0|1}}
{{#sub:coord|2|0}}
x: {{ #expr: 3.19 + {{#switch: {{#sub:coord|0|1}}
| A = 1
| B = 2
| C = 3
| D = 4
| E = 5
| F = 6
| G = 7
| H = 8
| I = 9
| J = 10
| K = 11
| L = 12
| M = 13
| N = 14
| 0 = 15
| 1}}
* 6.39 }}%
y: {{ #expr: 3.19 + ( {{#sub:coord|2|0}} * 6.39 ) }}%
Source entry: User:Lirmont/Sandbox. Cached on this server on 6 November 2026.