|
|
(8 intermediate revisions by the same user not shown) |
Line 29: |
Line 29: |
|
| |
|
| <div class="ext_background1" style="display:block;color:#fff;text-shadow: 0 0 2px black;padding:8px;width:679px;height:279px;box-sizing: border-box;font-size: 16px;text-align:justify;overflow-y:auto;border:solid black 4px;">{{Lorem}}{{Lorem}}</div> | | <div class="ext_background1" style="display:block;color:#fff;text-shadow: 0 0 2px black;padding:8px;width:679px;height:279px;box-sizing: border-box;font-size: 16px;text-align:justify;overflow-y:auto;border:solid black 4px;">{{Lorem}}{{Lorem}}</div> |
|
| |
| == ==
| |
| <pre>{{#ifexpr:1 <= 6 and 6 <= 5 |yes |no}}</pre>
| |
| {{#ifexpr:1 <= 6 and 6 <= 5 |yes |no}}
| |
|
| |
| <pre>{{#ifexpr:5 >= 1 and 5 <= 5|yes|no}}</pre>
| |
| {{#ifexpr:5 >= 1 and 5 <= 5|yes|no}}
| |
|
| |
| <pre>{{#invoke:String2 |split |Level 5 monster|" "|2|true}}</pre>
| |
| {{#invoke:String2 |split |Level 5 monster|" "|2|true}}
| |
|
| |
| <pre>{{#invoke:String2 |split |Level 1-5 monsters|" "|2|true}}</pre>
| |
| {{#invoke:String2 |split |Level 1-5 monsters|" "|2|true}}
| |
|
| |
| <pre>{{#invoke:String2 |split |{{#invoke:String2 |split |Level 1-5 monsters|" "|2|true}}|-|1|true}}</pre>
| |
| {{#invoke:String2 |split |{{#invoke:String2 |split |Level 1-5 monsters|" "|2|true}}|-|1|true}}
| |
|
| |
| <pre>{{#invoke:String2 |split |{{#invoke:String2 |split |Level 1-5 monsters|" "|2|true}}|-|2|true}}</pre>
| |
| {{#invoke:String2 |split |{{#invoke:String2 |split |Level 1-5 monsters|" "|2|true}}|-|2|true}}
| |
|
| |
| <pre>{{#ifexpr:{{#invoke:String2 |split |Level 5 monster|" "|2|true}}>={{#invoke:String2 |split |{{#invoke:String2 |split |Level 1-5 monsters|" "|2|true}}|-|1|true}} and {{#invoke:String2 |split |Level 5 monster|" "|2|true}}<={{#invoke:String2 |split |{{#invoke:String2 |split |Level 1-5 monsters|" "|2|true}}|-|2|true}}|yes|no}}</pre>
| |
| {{#ifexpr:{{#invoke:String2 |split |Level 5 monster|" "|2|true}}>={{#invoke:String2 |split |{{#invoke:String2 |split |Level 1-5 monsters|" "|2|true}}|-|1|true}} and {{#invoke:String2 |split |Level 5 monster|" "|2|true}}<={{#invoke:String2 |split |{{#invoke:String2 |split |Level 1-5 monsters|" "|2|true}}|-|2|true}}|yes|no}}
| |
|
| |
| Final test:
| |
| <pre>{{#ifexpr:{{#invoke:String2 |split |{{#invoke:String2 |split |Level 1-5 monsters|" "|2|true}}|-|1|true}} <= {{#invoke:String2 |split |Level 10 monster|" "|2|true}} and {{#invoke:String2 |split |Level 10 monster|" "|2|true}} <= {{#invoke:String2 |split |{{#invoke:String2 |split |Level 1-5 monsters|" "|2|true}}|-|2|true}} |Add to Level 1-5 monsters category|Do nothing}}, {{#ifexpr:{{#invoke:String2 |split |{{#invoke:String2 |split |Level 1-5 monsters|" "|2|true}}|-|1|true}} <= {{#invoke:String2 |split |Level 5 monster|" "|2|true}} and {{#invoke:String2 |split |Level 5 monster|" "|2|true}} <= {{#invoke:String2 |split |{{#invoke:String2 |split |Level 1-5 monsters|" "|2|true}}|-|2|true}} |Add to Level 1-5 monsters category|Do nothing}}</pre>
| |
| ''Compare to "Level 1-5 monsters" category:''
| |
| ; Level 10 monster : {{#ifexpr:{{#invoke:String2 |split |{{#invoke:String2 |split |Level 1-5 monsters|" "|2|true}}|-|1|true}} <= {{#invoke:String2 |split |Level 10 monster|" "|2|true}} and {{#invoke:String2 |split |Level 10 monster|" "|2|true}} <= {{#invoke:String2 |split |{{#invoke:String2 |split |Level 1-5 monsters|" "|2|true}}|-|2|true}} |Add to Level 1-5 monsters category|Do nothing}}
| |
| ; Level 5 monster : {{#ifexpr:{{#invoke:String2 |split |{{#invoke:String2 |split |Level 1-5 monsters|" "|2|true}}|-|1|true}} <= {{#invoke:String2 |split |Level 5 monster|" "|2|true}} and {{#invoke:String2 |split |Level 5 monster|" "|2|true}} <= {{#invoke:String2 |split |{{#invoke:String2 |split |Level 1-5 monsters|" "|2|true}}|-|2|true}} |Add to Level 1-5 monsters category|Do nothing}}
| |
|
| |
| {{#ifexpr:{{#invoke:String2 |split |{{#invoke:String2 |split |Level 1-5 monsters|" "|2|true}}|-|1|true}} <= {{#invoke:String2 |split |{{#titleparts:{{PAGENAME}}}}|" "|2|true}} and {{#invoke:String2 |split |{{#titleparts:{{PAGENAME}}}}|" "|2|true}} <= {{#invoke:String2 |split |{{#invoke:String2 |split |Level 1-5 monsters|" "|2|true}}|-|2|true}} |Add to Level 1-5 monsters category|Do nothing}}
| |
|
| |
|
| |
|
| |
| {{String split |This is a piece of text to be split |" "| 4}}
| |
|
| |
|
| <!--{{#mapsdoc:leaflet|parameters=all}}--> | | <!--{{#mapsdoc:leaflet|parameters=all}}--> |
FHX Wiki public sandbox
|
This is the FHX Wiki sandbox. You can test out the wiki code etc. here.
Please be aware that your changes can be overwritten and the sandbox will be blanked from time to time, so don't put anything too important here!
When using this sandbox please follow these simple rules:
- Please do not revert changes.
- Please leave this notice and the comments at the beginning of this page intact.
- Please keep things small enough not to be a hassle to testers.
- This page must not be moved.
- Do not add categories to this page, this includes categories added by templates like deletion templates etc..
- For tests of simple things, you may not even need to modify this page - just try using "Show preview" first.
Happy testing!
|
Name
|
Level
|
Race
|
Boss
|
Drops
|
Location {{#for_external_table:
|
{{{Name}}}
|
{{{Level}}}
|
{{{Race}}}
|
{{{Unique mob (boss)}}}
|
{{{Manufacture lvl, (Drops sheets)}}}, {{{Drops mats}}}, {{{Drops item lvl}}}
|
{{{V1 location}}}, {{{V3 location}}}
|
format=json
}}
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.