From Dark and Darker Wiki

Line 28: Line 28:
*[[Template:Crafting_Data]]
*[[Template:Crafting_Data]]
*[[Template:Monster_Data]]
*[[Template:Monster_Data]]
[[Template:Jewelry_Data]] (WIP)
*[[Template:Jewelry_Data]] (WIP)


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

Revision as of 05:53, 15 March 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). 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

  • Template:Class_Data
    • 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:ListGearForClass
    • Using Template:ListWeaponsForClass and Template:ListArmorForClass, this ListGearForClass Generates a table of categorized weapons and armors available to a class.
  • Template:ListWeaponsForClass
    • Generate list of Weapons that a Class can equip. Categorizes the weapons by hand types: One Handed, Two Handed.
  • Template:ListArmorsForClass
    • Generate list of Armors that a Class can equip. Categorizes the armors by slot types: Head, Chest, Legs, Foot, Hands, Back.

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

Color Legend:
Template Calls
Transclusion Calls

The main pages use the following template and transclusion structures:

Beginners Guide Page: Classes Page:

  ⤷  {{:TODO|Classes}}   ⤷  Infobox_Class   ⤷  Iconbox   ⤷  Class_Data   ⤷  ListGearForClass   ⤷  ListWeaponsForClass   ⤷  Weapon_Data   ⤷  ListArmorsForClass   ⤷  Armor_Data   ⤷  GenerateDetailsPage   ⤷  Class_Data

Stats Page:

  ⤷  {{:TODO|Stats}}   ⤷  Stats_Data

Dungeon Page:

  ⤷  Transclude   ⤷  {{:Shrines#Shrines}}

Mechanics Page:

  ⤷  MechanicsBar   ⤷  "Template:Topbar/styles.css"

Monsters Page:

  ⤷  {{:TODO|Monsters}}   ⤷  RegularMonsterTable   ⤷  GenerateMonsterRows   ⤷  GenerateMonsterRow   ⤷  Iconbox   ⤷  Monster_Data

Uniques Page:

  ⤷  {{:TODO|Weapons}}   ⤷  GenerateWeaponInfobox   ⤷  Weapon_Data   ⤷  Infobox   ⤷  Iconbox   ⤷  {{:Droptable: [Insert Unique Name]}}

Weapons Page:

  ⤷  {{:TODO|Weapons}}   ⤷  {{:Swords}} / ... / {{:Shields}}   ⤷  RegularWeaponTable / ... / ShieldTable   ⤷  GenerateWeaponRows   ⤷  Weapon_Data   ⤷  GenerateWeaponRow   ⤷  Weapon_Data   ⤷  Iconbox   ⤷  Rarity   ⤷  Item_Data

Armors Page:

  ⤷  {{:TODO|Armors}}   ⤷  {{:Head}} / ... / {{:Back}}   ⤷  GenerateArmorRows   ⤷  Armor_Data   ⤷  GenerateArmorRow   ⤷  Armor_Data   ⤷  Iconbox   ⤷  Rarity   ⤷  Item_Data

Accessories Page:

  ⤷  {{:TODO|Jewelry}}   ⤷  Iconbox

Consumables Page:

  ⤷  {{:TODO|Consumables}}   ⤷  Iconbox

Utility Page:

  ⤷  {{:TODO|Utility}}   ⤷  Iconbox

Containers Page:

  ⤷  {{:TODO|Containers}}   ⤷  Iconbox

Treasures Page:

  ⤷  WIP   ⤷  Iconbox   ⤷  {{:Quest_Items}}   ⤷  {{:TODO|Loottables}}   ⤷  Iconbox

Materials Page:

  ⤷  Iconbox   ⤷  {{:Quest_Items}}   ⤷  {{:TODO|Loottables}}   ⤷  Iconbox

Crafting Page:

  ⤷  {{:TODO|Crafting}}   ⤷  CraftingTable   ⤷  GenerateCraftingRows   ⤷  Crafting_Data   ⤷  GenerateCraftingRow   ⤷  Crafting_Data   ⤷  Iconbox   ⤷  Rarity   ⤷  Item_Data

Merchants Page:

  ⤷  {{:TODO|Merchants}}   ⤷  WIP   ⤷  {{:Quests}}   ⤷  TabToggle   ⤷  Transclude   ⤷  {{:Crafting}}   ⤷  {{:TODO|Crafting}}   ⤷  CraftingTable   ⤷  GenerateCraftingRows   ⤷  Crafting_Data   ⤷  GenerateCraftingRow   ⤷  Crafting_Data   ⤷  Iconbox   ⤷  Rarity   ⤷  Item_Data

Ranks Page:
Maps Page: Enchantments Page:

  ⤷  {{:TODO|Enchantments}}

Shrines Page: Portals Page: Patch Notes Page: Guides Page:


The main pages link to individual item pages.

[Insert Monster Name] Page:

  ⤷  GenerateMonsterInfobox   ⤷  {{:TODO|Monsters}}   ⤷  Monster_Data   ⤷  Tabs   ⤷  Infobox   ⤷  Iconbox   ⤷  ListMonsterTypes   ⤷  GenerateLootDrops   ⤷  {{:TODO|Loottables}}   ⤷  Monster_Data   ⤷  TabToggle   ⤷  ListLootDrops   ⤷  Monster_Data   ⤷  TabToggle   ⤷  {{:LootTable: [Insert Monster Name]}}   ⤷  LoottableTable   ⤷  Tooltip   ⤷  Iconbox

[Insert Weapon Name] Page:

  ⤷  AutoGenerateWeaponTabs   ⤷  {{:TODO|Weapons}}   ⤷  GenerateWeaponTabs   ⤷  Tabs   ⤷  GenerateWeaponInfobox   ⤷  Weapon_Data   ⤷  Infobox   ⤷  Iconbox   ⤷  Sword / ... / Shields   ⤷  GenerateHitbox   ⤷  Weapon_Data   ⤷  GenerateWeaponCombo   ⤷  Weapon_Data   ⤷  GenerateBlock   ⤷  Weapon_Data   ⤷  ActionMoveSlow   ⤷  Weapon_Data   ⤷  GenerateUnique   ⤷  Weapon_Data   ⤷  GenerateDropTables   ⤷  Weapon_Data   ⤷  {{:TODO|Loottables}}   ⤷  TabToggle   ⤷  {{:Droptable: [Insert Weapon Name]}}   ⤷  Weapons   ⤷  Weapon_Data

[Insert Armor Name] Page:

  ⤷  AutoGenerateArmorTabs   ⤷  {{:TODO|Armors}}   ⤷  GenerateArmorTabs   ⤷  Tabs   ⤷  GenerateArmorInfobox   ⤷  Armor_Data   ⤷  Infobox   ⤷  Iconbox   ⤷  Armor_Data   ⤷  GenerateDropTables   ⤷  Weapon_Data   ⤷  {{:TODO|Loottables}}   ⤷  TabToggle   ⤷  {{:Droptable: [Insert Weapon Name]}}   ⤷  Armors   ⤷  Armor_Data

[Insert Accessory Name] Page:

  ⤷  Infobox   ⤷  Iconbox   ⤷  Necklaces/Pendants   ⤷  {{:Droptable: [Insert Accessory Name]}}   ⤷  History

[Insert Consumable Name] Page:

  ⤷  Infobox   ⤷  Iconbox   ⤷  Consumables   ⤷  {{:Droptable: [Insert Consumable Name]}}

[Insert Utility Name] Page:

  ⤷  Infobox   ⤷  Iconbox   ⤷  Utilities   ⤷  History