FANDOM


This page exists to test templates.

Testing some Lua (potential solution for page size limits and linking items on different pages)Edit

{{#switch:{{{Book|}}} |1=

{{#switch:{{{Rarity of the book|}}} |c=Book: {{#if:{{{Type of the book|}}}| Gather }} {{{Name|}}}
|u=Book: {{#if:{{{Type of the book|}}}| Gather }} {{{Name|}}}
|r=Book: {{#if:{{{Type of the book|}}}| Gather }} {{{Name|}}}
|e=Book: {{#if:{{{Type of the book|}}}| Gather }} {{{Name|}}}
|l=Book: {{#if:{{{Type of the book|}}}| Gather }} {{{Name|}}}
}}

{{#switch:{{{Binding of the book}}} |1=Binds on use
|2=Binds on pickup
}}
SkillBook

{{#if:{{{Type of the book}}}|Teaches you to gather:|Learn to craft:}}

|#default=}}

{{#switch: {{{Points}}} | death = {{#switch: {{{Amount of points}}} | 1 = | 2 = | 3 = | 4 = }} | earth = {{#switch: {{{Amount of points}}} | 1 = | 2 = | 3 = | 4 = }} | fire = {{#switch: {{{Amount of points}}} | 1 = | 2 = | 3 = | 4 = }} | holy = {{#switch: {{{Amount of points}}} | 1 = | 2 = | 3 = | 4 = }} | physical = {{#switch: {{{Amount of points}}} | 1 = | 2 = | 3 = | 4 = }} | soul = {{#switch: {{{Amount of points}}} | 1 = | 2 = | 3 = | 4 = }} | water = {{#switch: {{{Amount of points}}} | 1 = | 2 = | 3 = | 4 = }} | truedamage = {{#switch: {{{Amount of points}}} | 1 = | 2 = | 3 = | 4 = }}}} {{#switch:{{{Rarity|}}} |c={{{Name|}}}
|u={{{Name|}}}
|r={{{Name|}}}
|e={{{Name|}}}
|l={{{Name|}}}
}}

{{#switch:{{{Binding}}} |1=Binds on use
|2=Binds on pickup
}}
{{{Category|}}}

{{{Function|}}}

{{#if: {{{Energy usage|}}} | {{{Energy usage|}}} Energy
}}{{#if: {{{Mana usage|}}} | {{{Mana usage|}}} Mana
}}
{{#if: {{{Casttime|}}} | Casttime: {{{Casttime|}}} sec
}}

{{#if:420| Range ]]..data.test_tool.range..[[
}}
{{#if: {{{Cooldown|}}} | Cooldown: {{{Cooldown|}}} sec
}}

{{#if: {{{Armor|}}} | +{{{Armor|}}} Armor
}}{{#if: {{{Cooldown Reduction Rating|}}} | +{{{Cooldown Reduction Rating|}}} Cooldown Reduction Rating
}}{{#if: {{{Critical Bonus Rating|}}} | +{{{Critical Bonus Rating|}}} Critical Bonus Rating
}}{{#if: {{{Critical Chance Rating|}}} | +{{{Critical Chance Rating|}}} Critical Chance Rating
}}{{#if: 69 | +69 Death Damage
}}{{#if: {{{Energy Regeneration|}}} | +{{{Energy Regeneration|}}} Energy Regeneration
}}{{#if: {{{Fire Damage|}}} | +{{{Fire Damage|}}} Fire Damage
}}{{#if: {{{Heal|}}} | +{{{Heal|}}} Heal
}}{{#if: {{{Life|}}} | +{{{Life|}}} Life
}}{{#if: {{{Life Regeneration|}}} | +{{{Life Regeneration|}}} Life Regeneration
}}{{#if: {{{Magic Damage|}}} | +{{{Magic Damage|}}} Magic Damage
}}{{#if: {{{Mana|}}} | +{{{Mana|}}} Mana
}}{{#if: {{{Mana Regeneration|}}} | +{{{Mana Regeneration|}}} Mana Regeneration
}}{{#if: {{{Physical Damage|}}} | +{{{Physical Damage|}}} Physical Damage
}}{{#if: {{{Threat|}}} | +{{{Threat|}}}% Threat
}}{{#if: {{{Water Damage|}}} | +{{{Water Damage|}}} Water Damage
}}

{{#if: {{{Flavor text|}}} | "{{{Flavor text|}}}"
}}

{{#if: {{{Effect|}}} | {{{Effect|}}}
}}

{{#if: {{{Selling value|}}} | {{{Selling value}}} Currency gold
}}
{{#if: {{{Level|}}} | Level: {{{Level|}}}
}}

{{#switch:{{{Book|}}} |1=

{{#if: {{{Profession|}}} | {{{Profession}}}
}}
{{#if: {{{Learn time|}}} | Learn time: {{{Learn time|}}}
}}

{{#if: {{{Selling value of the book|}}} | {{{Selling value of the book|}}} Currency gold
}}
{{#if: {{{Book Level|}}} | Level: {{{Book Level|}}}
}}

|#default=}}<noinclude>{{Documentation}}</noinclude>

Testing some extensionsEdit

QuickbarEdit


MapEdit

tr

Roseen Greenhill NPC

Does not have a shop

Quest icon Talk to Gilbert Greenhill


tl

Roseen Greenhill NPC

Does not have a shop

Quest icon Talk to Gilbert Greenhill



br

Roseen Greenhill NPC

Does not have a shop

Quest icon Talk to Gilbert Greenhill



bl

Roseen Greenhill NPC

Does not have a shop

Quest icon Talk to Gilbert Greenhill


TemplatesEdit

Collectible serezith

Stats template

NPC

but for things on the map

Stats template
Obtained from Serezith Brakrud

Prof book armorsmith

Book: Gather Copper Plate

SkillBook

Teaches you to gather:

Copper Plate

Resource

1 Currency gold

Armorsmith 1
Learn time: 30s

1 Currency gold
Level: 20

Book: Gather Copper Plate
Obtained from Sirbumri Cavefeet

Item Stats

Club wood

Drops #1
Drops #2
Larry Grey's Shop

Sturdy Stick

Binds on use
Tool

physical

6 Energy
Casttime: 0.50 sec

Range 10
Cooldown: 1.00 sec

+1 Cooldown Reduction Rating
+1 Critical Bonus Rating
+1 Critical Chance Rating
+1 Energy Regeneration
+1 Life Regeneration
+1 Mana Regeneration

"Test"

Prevent templates from breaking for 13 every 37 seconds

1 Currency gold
Level: 1

Club wood

Drops #1
Drops #2
Larry Grey's Shop

Sturdy Stick

Tool

physical

6 Energy
Casttime: 0.50 sec

Cooldown: 1.00 sec

Level: 1

Fighter t 2 4

Sedulus Rane

Reos

Binds on pickup
Tool

death

6 Energy
Casttime: 0.52 sec

Cooldown: 19.12 sec

"Tear"

Buff yourself with: +22 Death Damage for 10.00 secs

143 Currency gold
Level: 30

Citizen shirt cloth blue

Cleaning Lady

Used Shirt

Chest

+1 Armor

Legs priest t 1-5 cCrafting

Crafted Runebound Legguards

Binds on pickup
Legs

+25 Armor
+12 Critical Chance Rating
+150 Heal
+346 Life
+195 Mana

130 Currency gold
Level: 30

Prof tool old sickleHerbalism Profession Vendor

Old Sickle

Tool

herbalism

Casttime: 0.50 sec

Cooldown: 0.50 sec

1 Currency gold
Level: 1

Prof LivisumWindsor Hold

Livisum

Resource

20 Currency gold

Mana potion mediumTraders
Farshore Province
Rocky Passage

Greater Mana Potion

Consumable

Casttime: 0.50 sec

Cooldown: 60.00 sec

Restores 26 Mana

2 Currency gold
Level: 5

Prof book weaponsmithQuest

Book:Typhoon

SkillBook

Learn to craft:

Damage-type-death Damage-type-death Typhoon

Binds on use
Tool

262-487 Death Damage (+100% Bonus)

8 Energy
Casttime: 0.48 sec

Cooldown: 2.40 sec

"Cleaving Strike"

137 Currency gold
Level: 29

Weaponsmith 26
Learn time: 4m 30s

5 Currency gold


Key bitterburgLvl 30 Enemies in Bitterburg

Bitterburg Key

Key

Backpack travelerShop

Traveler Backpack

Consumable
Use this item in the quickbar.

backpack

Casttime: 0.00 sec

Cooldown: 1.00 sec

Level: 1

Broken bonesEnemies

Pile of Bones

Trash

2 Currency gold

Collectible armorsmithIntermediate Armorsmith Quest

Banner Armorsmith

Binds on pickup
Collectible

collectible

Trash stoneShop

Token - 180 Days

Consumable
Use this item in the quickbar.

account

Casttime: 0.50 sec

Cooldown: 0.50 sec

"180 Days of Stein.Account"

Level: 1

Book: Refined

Binds on pickup
SkillBook

Teaches you to gather:

Refined

Binds on use
Tool

death

1 Energy
Casttime: 0.50 sec

Range 10
Cooldown: 0.50 sec

"Test"

Test

1 Currency gold
Level: 1

Crafting 1
Learn time: 1m 30s

1 Currency gold







Quest TemplateEdit

Sturdy Stick

physical

Casttime: 0.50 sec

Cooldown: 1.00 sec

Level: 1


Get your clothes back

Cleaning Lady

""



Rewards: 55 EXP
Used Trousers
Used Shoes

Cleaning Lady

Help: The first quest: Talk to the cleaning lady to get your clothes back. [Press E to talk to npcs or press and hold on mobile.]





OtherEdit

Feet mage t 2

Vampiric Boots

Binds on pickup
Feet

+16 Armor
+6 Critical Chance Rating
+100 Mana
+1.6 Mana Regeneration

122 Currency gold
Level: 30

Vampiric Boots
Obtained from Inachaus

Community content is available under CC-BY-SA unless otherwise noted.