Difference between revisions of "User:Valento/Sandbox"
Jump to navigation
Jump to search
Line 42: | Line 42: | ||
* partial max: {{#vardefineecho:item_max_qty|}} | * partial max: {{#vardefineecho:item_max_qty|}} | ||
* {{#replace:{{#replace:{{#var:the5}}|{{#var:item_min_qty}} (|}}|)|}} | * {{#replace:{{#replace:{{#var:the5}}|{{#var:item_min_qty}} (|}}|)|}} | ||
== Search map template idea (map with flags, etc) == | |||
; Structure idea | |||
<pre>{{Search map | |||
| {{{1|}}} = <pagename> | |||
| image = <optional image instead of preset pagename> | |||
| label = <optional default label> | |||
| icon = <optional default icon image> | |||
| coordinates = coordinates in the form: <x1,y1,z1>|label1|icon1; <x2,y2,z2>|label2|icon2; <x3,y3,z3>|label3|icon3 | |||
}}</pre> | |||
; Example | |||
<pre>{{Search map | |||
| North Shroud | |||
| label = Elite Mark | |||
| icon = Flag.png | |||
| coordinates = 12.5,7.8,-0.4|Elite Mark|Elite Mark Flag.png;5.3,10.4 | |||
}}</pre> | |||
Important evaluations: | |||
* Use <code>label</code> and <code>icon</code> as default label/icon for map flags. | |||
* Arraymap will cross semi-colons (<code>;</code>), splitting tokens with these values: <code><coordinates>|<optional label>|<optional icon></code> | |||
** Optional label and icon aren't mandatory, so explode three times (<code>|</code>) and besides 0, check for 1 and 2. | |||
** In the total absence of value, omit the flag. | |||
** Define explode 0 as coordinates, always. | |||
== Check subobjects == | == Check subobjects == |
Revision as of 21:16, 29 August 2018
Valento's Sexy Sandbox
Hey, this is my sandbox. I'm going to toy around some css here and there to see if I can come up with pretty things. Please, don't mind me, just keep on writing and contributing. <3
Rewards format
"13"
"0"
"Wind"
13- in
"1"
"0"
"Hi-Potion,"
1- i-Potion
1 (13, 0, Wind Shard, Item, false),
"13"
"0"
"Wind Shard"
Table within infobox
- MP Cost
- 102~700
|