From Dark and Darker Wiki

m (→‎Class Templates: included Class_Data)
m (→‎Class Templates: Added Infobox Class and GenerateDetailsPage)
Line 109: Line 109:
==Class Templates==
==Class Templates==
*[[Template:Class_Data]]
*[[Template:Class_Data]]
**Currently only holds attribute data for each Class. Used in Class infoboxes that display their attributes.
**Currently only holds attribute data for each Class.
*[[Template:Infobox Class]]
**Displays basic attributes of a Class in a simple infobox.
*[[Template:GenerateDetailsPage]]
**Using Template:Class Data, this template Generates a Details Page similar to that found in game.
*[[Template:ListWeaponsForClass]]
*[[Template:ListWeaponsForClass]]
**Generate list of Weapons that a Class can equip.  Categorizes the weapons by hand types: One Handed, Two Handed.
**Generate list of Weapons that a Class can equip.  Categorizes the weapons by hand types: One Handed, Two Handed.

Revision as of 15:47, 29 February 2024

I recommend using "Edit Source" as Visual Edit doesn't work well.

Edits

When making an edit with the intention of bring it up to date with a hotfix/patch release, specify that the page is up to date and change the status color from red/orange to green in TODO.

Extensions

Tabber extension allows content to be created under tabs. Unfortunately, doesn't support visual edit

<tabber>
|-|Content1=
Here is your content 1
|-|Spells=
Spells here etc.
</tabber>

becomes:

Here is your content 1

Spells here etc.

Templates

The data for items are pulled from templates:

also planning to add monster data(actively WIP) and jewelry data. Also could combine every item on Item Data, that might not be good for load times tho.

Infobox Templates:

Weapon Templates

Templates for Individual Weapon pages:

Templates for class pages:


Info Templates:

Armor Templates

Info Templates:

Craft Templates

Monster Templates

Race Templates

Class Templates

Drops Templates

Utility Templates

  • Redirect
    • Not a template - upon entering source page user is redirected to another page
  • Template:Transclude
    • Pastes all content from a section of a given page
  • TODO
    • Not a template - shows last patch a page was manually entered as up-to-date for


Special:BatchUpload