From Dark and Darker Wiki

m (Updated Weapons Page hieararchy)
mNo edit summary
Line 206: Line 206:
{{#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:ArmorTable|ArmorTable]]
&#9;{{#var:arrow}}[[Template:GenerateArmorRows|GenerateArmorRows]]
&#9;{{#var:arrow}}[[Template:GenerateArmorRows|GenerateArmorRows]]
&#9;&#9;{{#var:arrow}}[[Template:Item_Data|Item_Data]]
&#9;&#9;{{#var:arrow}}[[Template:Item_Data|Item_Data]]

Revision as of 09:48, 16 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

Artifacts Page:

  ⤷  {{:TODO|Weapons}}   ⤷  GenerateWeaponInfobox   ⤷  Item_Data   ⤷  Infobox   ⤷  Iconbox   ⤷  {{:Droptable: [Insert Artifact Name]}}

Weapons Page:

  ⤷  {{:TODO|Weapons}}   ⤷  {{:Swords}} / ... / {{:Shields}}   ⤷  WeaponTable   ⤷  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   ⤷  GenerateArtifact   ⤷  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:

  ⤷  AutoGenerateAccessoryTabs   ⤷  {{:TODO|Accessory}}   ⤷  GenerateAccessoryTabs   ⤷  Tabs   ⤷  GenerateAccessoryInfobox   ⤷  Item_Data   ⤷  Infobox   ⤷  Iconbox   ⤷  Necklaces/Pendants / Rings   ⤷  {{:Droptable: [Insert Accessory Name]}}

[Insert Consumable Name] Page:

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

[Insert Utility Name] Page:

  ⤷  Infobox   ⤷  Iconbox   ⤷  Utilities   ⤷  History