From Dark and Darker Wiki

m (Updating Hierarchy tab)
Line 23: Line 23:
|-|Template List=
|-|Template List=
The data for items are pulled from templates:
The data for items are pulled from templates:
*[[Template:Item_Data]]
*[[Template:Weapon_Data]]
*[[Template:Weapon_Data]]
*[[Template:Armor_Data]]
*[[Template:Armor_Data]]
*[[Template:Item_Data]]
*[[Template:Crafting_Data]]
*[[Template:Crafting_Data]]
*[[Template:Monster_Data]]
*[[Template:Monster_Data]]
Line 158: Line 158:
{{#var:arrow}}[[Template:ListGearForClass|ListGearForClass]]
{{#var:arrow}}[[Template:ListGearForClass|ListGearForClass]]
	{{#var:arrow}}[[Template:ListWeaponsForClass|ListWeaponsForClass]]
	{{#var:arrow}}[[Template:ListWeaponsForClass|ListWeaponsForClass]]
		{{#var:arrow}}[[Template:Weapon_Data|Weapon_Data]]
		{{#var:arrow}}[[Template:Item_Data|Item_Data]]
	{{#var:arrow}}[[Template:ListArmorsForClass|ListArmorsForClass]]
	{{#var:arrow}}[[Template:ListArmorsForClass|ListArmorsForClass]]
		{{#var:arrow}}[[Template:Armor_Data|Armor_Data]]
		{{#var:arrow}}[[Template:Item_Data|Item_Data]]
{{#var:arrow}}[[Template:GenerateDetailsPage|GenerateDetailsPage]]
{{#var:arrow}}[[Template:GenerateDetailsPage|GenerateDetailsPage]]
&#9;{{#var:arrow}}[[Template:Class_Data|Class_Data]]</span>
&#9;{{#var:arrow}}[[Template:Class_Data|Class_Data]]</span>
Line 188: Line 188:
{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Weapons}}</nowiki></span>]]
{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Weapons}}</nowiki></span>]]
{{#var:arrow}}[[Template:GenerateWeaponInfobox|GenerateWeaponInfobox]]
{{#var:arrow}}[[Template:GenerateWeaponInfobox|GenerateWeaponInfobox]]
&#9;{{#var:arrow}}[[Template:Weapon_Data|Weapon_Data]]
&#9;{{#var:arrow}}[[Template:Item_Data|Item_Data]]
&#9;{{#var:arrow}}[[Template:Infobox|Infobox]]
&#9;{{#var:arrow}}[[Template:Infobox|Infobox]]
&#9;&#9;{{#var:arrow}}[[Template:Iconbox|Iconbox]]
&#9;&#9;{{#var:arrow}}[[Template:Iconbox|Iconbox]]
Line 198: Line 198:
&#9;{{#var:arrow}}[[Template:RegularWeaponTable|RegularWeaponTable]] / ... / [[Template:ShieldTable|ShieldTable]]
&#9;{{#var:arrow}}[[Template:RegularWeaponTable|RegularWeaponTable]] / ... / [[Template:ShieldTable|ShieldTable]]
&#9;{{#var:arrow}}[[Template:GenerateWeaponRows|GenerateWeaponRows]]
&#9;{{#var:arrow}}[[Template:GenerateWeaponRows|GenerateWeaponRows]]
&#9;&#9;{{#var:arrow}}[[Template:Weapon_Data|Weapon_Data]]
&#9;&#9;{{#var:arrow}}[[Template:Item_Data|Item_Data]]
&#9;&#9;{{#var:arrow}}[[Template:GenerateWeaponRow|GenerateWeaponRow]]
&#9;&#9;{{#var:arrow}}[[Template:GenerateWeaponRow|GenerateWeaponRow]]
&#9;&#9;&#9;{{#var:arrow}}[[Template:Weapon_Data|Weapon_Data]]
&#9;&#9;&#9;{{#var:arrow}}[[Template:Item_Data|Item_Data]]
&#9;&#9;&#9;{{#var:arrow}}[[Template:Iconbox|Iconbox]]
&#9;&#9;&#9;{{#var:arrow}}[[Template:Iconbox|Iconbox]]</span>
&#9;&#9;&#9;{{#var:arrow}}[[Template:Rarity|Rarity]]
&#9;&#9;&#9;&#9;{{#var:arrow}}[[Template:Item_Data|Item_Data]]</span>


|<span style="white-space:pre;">Armors Page:
|<span style="white-space:pre;">Armors Page:
{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Armors}}</nowiki></span>]]
{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Armors}}</nowiki></span>]]
{{#var:arrow}}[[:Head|<span style="color:blueviolet;"><nowiki>{{:Head}}</nowiki></span>]] / ... / [[:Back|<span style="color:blueviolet;"><nowiki>{{:Back}}</nowiki></span>]]
{{#var:arrow}}[[:Head|<span style="color:blueviolet;"><nowiki>{{:Head}}</nowiki></span>]] / ... / [[:Back|<span style="color:blueviolet;"><nowiki>{{:Back}}</nowiki></span>]]
&#9;{{#var:arrow}}[[Template:Template:ArmorTable|ArmorTable ]] / ...
&#9;{{#var:arrow}}[[Template:GenerateArmorRows|GenerateArmorRows]]
&#9;{{#var:arrow}}[[Template:GenerateArmorRows|GenerateArmorRows]]
&#9;&#9;{{#var:arrow}}[[Template:Armor_Data|Armor_Data]]
&#9;&#9;{{#var:arrow}}[[Template:Item_Data|Item_Data]]
&#9;&#9;{{#var:arrow}}[[Template:GenerateArmorRow|GenerateArmorRow]]
&#9;&#9;{{#var:arrow}}[[Template:GenerateArmorRow|GenerateArmorRow]]
&#9;&#9;&#9;{{#var:arrow}}[[Template:Armor_Data|Armor_Data]]
&#9;&#9;&#9;{{#var:arrow}}[[Template:Item_Data|Item_Data]]
&#9;&#9;&#9;{{#var:arrow}}[[Template:Iconbox|Iconbox]]
&#9;&#9;&#9;{{#var:arrow}}[[Template:Iconbox|Iconbox]]</span>
&#9;&#9;&#9;{{#var:arrow}}[[Template:Rarity|Rarity]]
&#9;&#9;&#9;&#9;{{#var:arrow}}[[Template:Item_Data|Item_Data]]</span>


|<span style="white-space:pre;">Accessories Page:
|<span style="white-space:pre;">Accessories Page:
Line 253: Line 250:
&#9;{{#var:arrow}}[[Template:GenerateCraftingRow|GenerateCraftingRow]]
&#9;{{#var:arrow}}[[Template:GenerateCraftingRow|GenerateCraftingRow]]
&#9;&#9;{{#var:arrow}}[[Template:Crafting_Data|Crafting_Data]]
&#9;&#9;{{#var:arrow}}[[Template:Crafting_Data|Crafting_Data]]
&#9;&#9;{{#var:arrow}}[[Template:Iconbox|Iconbox]]
&#9;&#9;{{#var:arrow}}[[Template:Iconbox|Iconbox]]</span>
&#9;&#9;{{#var:arrow}}[[Template:Rarity|Rarity]]
&#9;&#9;&#9;{{#var:arrow}}[[Template:Item_Data|Item_Data]]</span>


|<span style="white-space:pre;">Merchants Page:
|<span style="white-space:pre;">Merchants Page:
Line 270: Line 265:
&#9;&#9;{{#var:arrow}}[[Template:GenerateCraftingRow|GenerateCraftingRow]]
&#9;&#9;{{#var:arrow}}[[Template:GenerateCraftingRow|GenerateCraftingRow]]
&#9;&#9;&#9;{{#var:arrow}}[[Template:Crafting_Data|Crafting_Data]]
&#9;&#9;&#9;{{#var:arrow}}[[Template:Crafting_Data|Crafting_Data]]
&#9;&#9;&#9;{{#var:arrow}}[[Template:Iconbox|Iconbox]]
&#9;&#9;&#9;{{#var:arrow}}[[Template:Iconbox|Iconbox]]</span>
&#9;&#9;&#9;{{#var:arrow}}[[Template:Rarity|Rarity]]
&#9;&#9;&#9;&#9;{{#var:arrow}}[[Template:Item_Data|Item_Data]]</span>


|<span style="white-space:pre;">Ranks Page:</span>
|<span style="white-space:pre;">Ranks Page:</span>
Line 317: Line 310:
&#9;&#9;{{#var:arrow}}[[Template:Tabs|Tabs]]
&#9;&#9;{{#var:arrow}}[[Template:Tabs|Tabs]]
&#9;&#9;{{#var:arrow}}[[Template:GenerateWeaponInfobox|GenerateWeaponInfobox]]
&#9;&#9;{{#var:arrow}}[[Template:GenerateWeaponInfobox|GenerateWeaponInfobox]]
&#9;&#9;&#9;{{#var:arrow}}[[Template:Weapon_Data|Weapon_Data]]
&#9;&#9;&#9;{{#var:arrow}}[[Template:Item_Data|Item_Data]]
&#9;&#9;&#9;{{#var:arrow}}[[Template:Infobox|Infobox]]
&#9;&#9;&#9;{{#var:arrow}}[[Template:Infobox|Infobox]]
&#9;&#9;&#9;&#9;{{#var:arrow}}[[Template:Iconbox|Iconbox]]
&#9;&#9;&#9;&#9;{{#var:arrow}}[[Template:Iconbox|Iconbox]]
{{#var:arrow}}[[Template:Sword|Sword]] / ... / [[Template:Shields|Shields]]
{{#var:arrow}}[[Template:Sword|Sword]] / ... / [[Template:Shields|Shields]]
{{#var:arrow}}[[Template:GenerateHitbox|GenerateHitbox]]
{{#var:arrow}}[[Template:GenerateHitbox|GenerateHitbox]]
&#9;{{#var:arrow}}[[Template:Weapon_Data|Weapon_Data]]
&#9;{{#var:arrow}}[[Template:Item_Data|Item_Data]]
{{#var:arrow}}[[Template:GenerateWeaponCombo|GenerateWeaponCombo]]
{{#var:arrow}}[[Template:GenerateWeaponCombo|GenerateWeaponCombo]]
&#9;{{#var:arrow}}[[Template:Weapon_Data|Weapon_Data]]
&#9;{{#var:arrow}}[[Template:Item_Data|Item_Data]]
{{#var:arrow}}[[Template:GenerateBlock|GenerateBlock]]
{{#var:arrow}}[[Template:GenerateBlock|GenerateBlock]]
&#9;{{#var:arrow}}[[Template:Weapon_Data|Weapon_Data]]
&#9;{{#var:arrow}}[[Template:Item_Data|Item_Data]]
{{#var:arrow}}[[Template:ActionMoveSlow|ActionMoveSlow]]
{{#var:arrow}}[[Template:ActionMoveSlow|ActionMoveSlow]]
&#9;{{#var:arrow}}[[Template:Weapon_Data|Weapon_Data]]
&#9;{{#var:arrow}}[[Template:Item_Data|Item_Data]]
{{#var:arrow}}[[Template:GenerateUnique|GenerateUnique]]
{{#var:arrow}}[[Template:GenerateUnique|GenerateUnique]]
&#9;{{#var:arrow}}[[Template:Weapon_Data|Weapon_Data]]
&#9;{{#var:arrow}}[[Template:Item_Data|Item_Data]]
{{#var:arrow}}[[Template:GenerateDropTables|GenerateDropTables]]
{{#var:arrow}}[[Template:GenerateDropTables|GenerateDropTables]]
&#9;{{#var:arrow}}[[Template:Weapon_Data|Weapon_Data]]
&#9;{{#var:arrow}}[[Template:Item_Data|Item_Data]]
&#9;{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Loottables}}</nowiki></span>]]
&#9;{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Loottables}}</nowiki></span>]]
&#9;{{#var:arrow}}[[Template:TabToggle|TabToggle]]
&#9;{{#var:arrow}}[[Template:TabToggle|TabToggle]]
&#9;{{#var:arrow}}<span style="color:blueviolet;"><nowiki>{{:Droptable: [Insert Weapon Name]}}</nowiki></span>
&#9;{{#var:arrow}}<span style="color:blueviolet;"><nowiki>{{:Droptable: [Insert Weapon Name]}}</nowiki></span>
{{#var:arrow}}[[Template:Weapons|Weapons]]
{{#var:arrow}}[[Template:Weapons|Weapons]]
&#9;{{#var:arrow}}[[Template:Weapon_Data|Weapon_Data]]</span>


|<span style="white-space:pre;">[Insert Armor Name] Page:
|<span style="white-space:pre;">[Insert Armor Name] Page:
Line 345: Line 337:
&#9;&#9;{{#var:arrow}}[[Template:Tabs|Tabs]]
&#9;&#9;{{#var:arrow}}[[Template:Tabs|Tabs]]
&#9;&#9;{{#var:arrow}}[[Template:GenerateArmorInfobox|GenerateArmorInfobox]]
&#9;&#9;{{#var:arrow}}[[Template:GenerateArmorInfobox|GenerateArmorInfobox]]
&#9;&#9;&#9;{{#var:arrow}}[[Template:Armor_Data|Armor_Data]]
&#9;&#9;&#9;{{#var:arrow}}[[Template:Item_Data|Item_Data]]
&#9;&#9;&#9;{{#var:arrow}}[[Template:Infobox|Infobox]]
&#9;&#9;&#9;{{#var:arrow}}[[Template:Infobox|Infobox]]
&#9;&#9;&#9;&#9;{{#var:arrow}}[[Template:Iconbox|Iconbox]]
&#9;&#9;&#9;&#9;{{#var:arrow}}[[Template:Iconbox|Iconbox]]
{{#var:arrow}}[[Template:Armor_Data|Armor_Data]]
{{#var:arrow}}[[Template:Item_Data|Item_Data]]
{{#var:arrow}}[[Template:GenerateDropTables|GenerateDropTables]]
{{#var:arrow}}[[Template:GenerateDropTables|GenerateDropTables]]
&#9;{{#var:arrow}}[[Template:Weapon_Data|Weapon_Data]]
&#9;{{#var:arrow}}[[Template:Item_Data|Item_Data]]
&#9;{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Loottables}}</nowiki></span>]]
&#9;{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Loottables}}</nowiki></span>]]
&#9;{{#var:arrow}}[[Template:TabToggle|TabToggle]]
&#9;{{#var:arrow}}[[Template:TabToggle|TabToggle]]
&#9;{{#var:arrow}}<span style="color:blueviolet;"><nowiki>{{:Droptable: [Insert Weapon Name]}}</nowiki></span>
&#9;{{#var:arrow}}<span style="color:blueviolet;"><nowiki>{{:Droptable: [Insert Weapon Name]}}</nowiki></span>
{{#var:arrow}}[[Template:Armors|Armors]]
{{#var:arrow}}[[Template:Armors|Armors]]
&#9;{{#var:arrow}}[[Template:Armor_Data|Armor_Data]]</span>


|<span style="white-space:pre;">[Insert Accessory Name] Page:
|<span style="white-space:pre;">[Insert Accessory Name] Page:

Revision as of 06:23, 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   ⤷  Item_Data   ⤷  ListArmorsForClass   ⤷  Item_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   ⤷  Item_Data   ⤷  Infobox   ⤷  Iconbox   ⤷  {{:Droptable: [Insert Unique Name]}}

Weapons Page:

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

Armors Page:

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

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

Merchants Page:

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

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   ⤷  Item_Data   ⤷  Infobox   ⤷  Iconbox   ⤷  Sword / ... / Shields   ⤷  GenerateHitbox   ⤷  Item_Data   ⤷  GenerateWeaponCombo   ⤷  Item_Data   ⤷  GenerateBlock   ⤷  Item_Data   ⤷  ActionMoveSlow   ⤷  Item_Data   ⤷  GenerateUnique   ⤷  Item_Data   ⤷  GenerateDropTables   ⤷  Item_Data   ⤷  {{:TODO|Loottables}}   ⤷  TabToggle   ⤷  {{:Droptable: [Insert Weapon Name]}}   ⤷  Weapons

[Insert Armor Name] Page:

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

[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