Help:Drops

From EQ KnowledgePit

Jump to: navigation, search
This is a Help article.
This page is designed to help members of the KnowledgePit community edit articles on this site. To find articles that need editing, see Category:Articles in need of an editor. See Help:Contents for an overview of all the help pages.

Contents

[edit] Mob Drops

Here on EQ KnowledgePit, we have an easy way for editors to include a mob's drops. In an article about a mob (for instance, Zi-Thuuli of the Granite Claw), simply adding the code <drops /> will provide empty output; however, <drops zone="Demi-Plane of Blood" /> will include all items linked to Zi-Thuuli's drop table. It will display them as a normal wiki section, complete with an [edit] link.

[edit] "zone" Parameter

This is the only required parameter. It is used to specify the zone that the drops come from; it could be omitted for the display, but it's required for editing reasons. To pass the parameter, you would use something like the above; <drops zone="Demi-Plane of Blood" /> would output all the drops for the current article's mob, for the mob's Demi-Plane of Blood incarnation.

[edit] Complete Syntax

The <drops /> tag supports more than just a list of the current mob's drops, however; it has a couple parameters that can be used to modify the function and display of the tag's output.

[edit] "for" Parameter

Let's take Zi-Thuuli for example again. He only drops the Rune-Etched Stone and a few trash items; all the real loot comes from a battered steel chest, which spawns when Zi-Thuuli is killed. It would be inconvenient, however, to have to follow a link from Zi-Thuuli's article to the chest's article just to see the loot, when the loot is clearly a reward for the Zi-Thuuli event.

This is where the for parameter comes into play. To display all the items that can be dropped by a battered steel chest in any article, one would type the tag as <drops for="a battered steel chest" zone="Demi-Plane of Blood" />. The output of this tag is displayed below:

[edit] Output

[edit] Items Dropped by A battered steel chest in Demi-Plane of Blood

[edit] "h" Parameter

Now, let's say you don't want a full top-level <h2> tag for your loot table's header. Using Zi-Thuuli and his chest as the example once again, you would for instance want to display Zi-Thuuli's drops with a top-level <h2>, with the chest's drops as an <h3> subsection.

The h parameter is useful here. We would output Zi-Thuuli's drops (in his own article) with a simple <drops zone="Demi-Plane of Blood" /> call, then on the next line we would get the chest's drops with <drops for="a battered steel chest" zone="Demi-Plane of Blood" h="3" />, so it would be displayed as a subsection, rather than its own full section. The display would be as follows:

[edit] Output

[edit] Items Dropped by Zi-Thuuli of the Granite Claw in Demi-Plane of Blood

[edit] Items Dropped by A battered steel chest in Demi-Plane of Blood

[edit] See Also

Personal tools
character profiles
Secrets of Faydwer
Your Ad Here

  Supreme Top 100 List
Supreme Top 100 List
EverQuest sitesEverQuest sites Top 100 Gaming Sites