DPL Extension Testing Ground

From Project: Gorgon Wiki
Revision as of 21:54, 28 December 2014 by BetaNotus (talk | contribs)
Jump to: navigation, search

This page is used for testing the DPL extension (it should be an orphan page). See DPL Manual.

DPL Cheatsheet

Invocation

We can use <dpl> or {{ #dpl: ... }} to invoke DPL (Dynamic Page Lists). The latter is more powerful:

  • Magic words like {{PAGENAME}} or {{CURRENTDAY}} can be used.
  • Template calls like {{{some template}}} can be used as parameters.
  • Parser function calls like {{#if:...|...|...}} can be used within arguments.

Special characters and escaping

Wiki characters must be escaped in the DPL arguments:

  • Use {{!}} (ie. Template:!) or the special symbol ¦ to escape the pipe character.
  • or \n must be used to insert a linefeed character where linefeeds are required by the wiki formatting.

Example of using an escape pipe character:

{{#dpl:
  |category = cat1¦cat2
  |linksto  = {{{1}}}
}}

Debugging

 resultsheader=«pre»«nowiki»
 resultsfooter=«/nowiki»«/pre»

Using Titlematch

Pulling all news article for 2014 only. Note! : titlematch can create inefficient queries, and should not be necessary if categories can do it.

dplreplace

This could be useful... (manual)

 {{#dplreplace:abrakadabra|ab|AB}}

ABrakadABra

uses (pulling pages using certain templates)

This is the main way we could handle skills/recipes tables with DPL and templating. WORK IN PROGRESS (trying to figure out the templating of table rows with DPL).

Ability table (work in progress)

This can be made to look nice, and the same code can be used to output various skill tables. I don't like the complexity though, simple "row templates" like the NPC Shops would be easier to do and easier to understand. However this is the only way I can think of atm in case developer wants to feed all individual abilities/recipes/etc in separate articles.

We don't really need this automation because there is no real need to pull abilities in various formats across various pages. They are mostly going to be listed on the Skills page, and NPCs only feature a subset of abilities that they can train, which can be maintained manually.

Extension:DynamicPageList (DPL), version 2.3.0 : Warning: No results.

Beta Testing favor

Here is a list of bosses with known curses. If one is missing please edit the corresponding page ("curse" parameter in Template:MOB infobox, and Curse section in the page).

Boss name Curse Curse effects
Asterion - Which way is which? You keep getting turned all around. This is a permanent curse; you must defeat Asterion to remove it.
Baruti - You're feeling sort of itchy and sick. This is a permanent curse; you must defeat Baruti to remove it.

Intuition Warning: Danger Ahead! Text

I sense new presences in my cave. I hear you thinking! Yes, you!

A visitor comes. I shall take their vessels. I shall be free

There must be a way out of this infinite misery

Even with this form I still could control the world... if I only had a face!

There are 3047 caverns within my projected reach and yet here I stay

There is only one creature responsible for my pain. Ormorek!

Whenever I think, it hurts. But I can still do it. And I do. And it still hurts

Will mindless melancholy be my fate yet again?

Existence is meanlingless and I am existence

Ciervos The Shadow Deer Form

You are a cute little deer.

Turns you into a deer. Can also be cured by Un-Deer Juice or Druid's Deer Form.
Claudia - Your body feels unnaturally older. Slightly wiser, but mostly just older. -10% Max Health, +3% Max Power This is a permanent curse; you must defeat Claudia to remove it.
Coldfeather - Magical ice has been embedded in your body. You sometimes lose half your health when not in a cold area. +25% Max Body Heat. This is permanent; defeat Coldfeather to remove it.
Dalvos's Astral Projection - Your spirit has been infected with a dark virus. Suffer +20% damage from Darkness and Psychic attacks. Deal +8% Darkness damage. This effect is permanent; you must disconnect Dalvos's Astral Spirit to remove it.
Dementia Puck - You're prone to forgetting your plan of attack. This is a permanent curse; you must defeat Dementia Puck to remove it.
Doctrine-Keeper - You've been indoctrinated into the culture of the ranalon race. This is a permanent curse; you must defeat the Ranalon Doctrine Enforcer to remove it.
Forgotten Loading Golem - Occasionally you lose motor coordination and can't attack. This is a permanent curse; you must defeat Forgotten Loading Golem to remove it.
Gajus the Big-Headed - Your head and brain have grown! You can't wear headgear, but you gain +25 Power. This is a permanent curse; you must defeat Gajus to remove it.
Gazluk Clutchmaster - Thousands of unfertilized Urak eggs have been injected under your flesh. They keep popping out... This is a permanent curse. You must defeat Gazluk Clutchmaster to remove it.
George Wrath of Enoyos - Enoyos has forbidden you from flowing in his waters freely. Your swimming speed has been reduced by 5. You lose 30% of your lung capacity when underwater. This is a permanent curse; you must defeat George to remove it.
Guardian Crystal - Too much magic crystal has made its way into your body. -10% Health and Armor, Nature Attacks Deal +10% damage This is a permanent curse; to remove it you must defeat the Red Guardian Crystal.
Healing-Suit Tester - Some of your innate recovery potential is gone. Major Healing abilities used on you restore -25% health. This is a permanent curse; you must defeat Healing-Suit Tester to remove it.
Hot Flash - Your armor has been scorched by intense flames making you take more fire damage. Your fire mitigation has been reduced by 10. You take +20% Fire damage from enemy attacks. This is a permanent curse; you must defeat Hot Flash to remove it.
Imarak - Your body is not entirely under your control! When you attack a mantis, you stun yourself. (Once per minute max.) This is a permanent curse; defeat Imarak to remove it.
Khyrulek's True Form - An evil magic has infested your heart. It still beats, but is prone to failing under stress. You occasionally lose half your health while in combat. This is a permanent curse; you must defeat Khyrulek's True Form to remove it.
Lethargy Puck Winter Lethargy - Feeling cold makes you want to stop moving and maybe take a nap. You lose 35 Power when attacked with Cold. This is a permanent curse; you must defeat Lethargy Puck to remove it.


Intuition Warning: Danger Ahead! Text

???'

Lord Sedgewick - Magical darkness clings to you wherever you go. +10% Evasion; Enemies gain +20% Evasion against you. This is a permanent curse; you must defeat Lord Sedgewick to remove it"
Maronesa - You feel your innards shifting... you're turning into a cow!
Nameless Guardian - You can no longer speak your name aloud in chat. This is a permanent curse; to remove it you must defeat the Nameless Warrior.
Peacemaster Guztok Darkness Rebuked - You've lost the ability to fully channel necromantic energy. Darkness Damage -50%. This is permanent; defeat Peacemaster Guztok to remove it.
Ratkin King (SqUUeak) - You've become so afraid of the outdoors that you periodically suffer anxiety bursts. Staying indoors is comforting, however. Periodically suffer -50 Power outdoors. Periodically gain +10 Power indoors. This is a permanent curse; you must defeat Ratkin King [SqUUeak] to remove it.

Intuition Warning: Danger Ahead! Text

These morons have never been outside the sewer. They have no idea how good they have it!

Blah blah xedrite this, blah blah goblin slavery that. What's wrong with the way things are?

I swear to Remga and his Cursed Ship that if one more idiot squeaks about the surface dwellers, I'll...

No! Of course we can't ration cheese! Do these morons want a revolt?

Is this idiot seriously proposing we raid Grackhaven?

I may need to execute [SquuuEaEak]. She's become too influential... and she's an imbecile.

Rhino Guardian - A rhino has gored a giant hole in your storage devices! -5 Inventory. This is a permanent curse; you must defeat Guardian Rhino to remove it.
Sacrificial Scray Defiler of Enoyos - Touching water has become painful and distressing. You are stunned when entering water. This is a permanent curse; you must kill the Sacrificial Scray to remove it.
Scion of Discord - When in groups, you've become petulant, arrogant, short-tempered, and prone to saying things you later regret. This is a permanent curse; you must defeat the Scion of Discord to remove it.
Sherzat - It takes a long time for you to gather your thoughts now, and your temper is getting worse. -50% Out of Combat Power Regeneration, +5 Direct Damage. This is a permanent curse; you must defeat Sherzat to remove it.
Stolen War Golem - Your nerves have been damaged and are extra susceptible to heat. +25% Damage from Fire. This is a permanent curse; you must defeat Stolen War Golem to remove it.
The Big Slime - Your legs are coated in warm, sticky, self-replicating slime! Movement Speed -3, Cold Mitigation +3. This is a permanent curse; you must defeat The Big Slime to remove it.Your legs are coated in warm, sticky, self-replicating slime! Movement Speed -5, Cold Mitigation +5. This is a permanent curse; you must defeat The Shower Slime to remove it.
The Fog - Your lungs have been permanently damaged. Abilities cost +3 Power to use. +2 Nature Mitigation. This is a permanent curse; to remove it you must defeat the The Fog.
The Problem Spider - You've become deathly afraid of spiders, and in fact all arthropods seem way too icky to fight. You can't fully engage them in combat. -33% Direct Damage vs. Arthropods This is a permanent curse; you must defeat the Problem Spider to remove it.

Intuition Warning: Danger Ahead! Text

I'm getting a bit peckish. Might hunt some meals tonight...

I think I hear a ratkin coming! No... it's something else...

Tensed and ready to strike!

I must be patient. It is what I swore to be, after all.

May my mistress forgive me! Someday! Soon...

The Shower Slime - Your legs are coated in warm, sticky, self-replicating slime! Movement Speed -3, Cold Mitigation +3. This is a permanent curse; you must defeat The Big Slime to remove it.Your legs are coated in warm, sticky, self-replicating slime! Movement Speed -5, Cold Mitigation +5. This is a permanent curse; you must defeat The Shower Slime to remove it.
Tidal - You're all soggy! Your fire attacks deal -50% damage. You take +5 Nature, +5 Cold, and -5 Fire damage from enemy attacks. This is a permanent curse; you must defeat Tidal to remove it.
Timothy Elerimon - You seem to have developed a speech disorder. This is a permanent curse; to remove it you must defeat the Timothy Elerimon.
Tolmar the Snake Master - You were splashed with weird chemicals that don't seem to wash off! You suffer +20% damage from poison. This is a permanent curse; you must defeat Tolmar the Snake Master to remove it.

Intuition Warning: Danger Ahead! Text

Down here I am the king! No Onkara can command me!

How DARE they condemn ME for their failings! I will never forget this insult.

Oh my pets, you understand me like none of my so-called kin ever could.

Just a little more time, my friends. Then we shall loose hell upon this miserable city!

When I have finished my secret formula, I will make the world bow down to me!

Every single rakshasa will perish! Okay maybe I'll let Ichin live. But no others!

Tremor - You're having trouble remembering how to perform even the most basic attacks.
Basic Attack Reuse Time +15 seconds
This is a permanent curse; you must defeat Tremor to remove it
Unfun Guy - Your body is not entirely under your control! When you attack fungal creatures, you pull your punches. -10% Damage vs. Fungoids. This is a permanent curse; defeat Unfun Guy to remove it.
Ursula - Hmm, you seem to have a guest inside your head.
Vemuta the Lecturer - You interrupted class and the lecturer stole part of your brain in retaliation. -10% XP Earned. This is permanent; defeat Vemuta to remove it.
Zukelmux The Intransigent - Your head is ringing! Any little hit can disorient you. 50% chance to be briefly stunned whenever you are hit by a melee attack. This is a permanent curse; you must defeat Zukelmux The Intransigent to remove it.