Here is your content 1
From Dark and Darker Wiki
m (wiki editing guide - added how to update TODO page) |
(added monster templates and race template) |
||
Line 25: | Line 25: | ||
*[[Template:Item_Data]] | *[[Template:Item_Data]] | ||
*[[Template:Crafting_Data]] | *[[Template:Crafting_Data]] | ||
*[[Template:Monster_Data]] | |||
also planning to add monster data and | 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: | Infobox Templates: | ||
Line 89: | Line 90: | ||
*[[Template:Craftable]] | *[[Template:Craftable]] | ||
**Used on individual page like [[Cobalt Hat]], Shows its crafting recipe | **Used on individual page like [[Cobalt Hat]], Shows its crafting recipe | ||
==Monster Templates== | |||
*[[Template:Monster_Data]] | |||
**Database (actively WIP) | |||
*[[Template:GenerateMonsterRow]] | |||
**Single monster row | |||
*[[Template:GenerateMonsterRows]] | |||
**Generate multiple rows, according to type of monster | |||
*[[Template:RegularMonsterTable]] | |||
**Generate within a table | |||
==Race Templates== | |||
*[[Template:Monster_Data]] | |||
**Source data that race comes from | |||
*[[Template:GenerateRacePage]] | |||
**Generate Monster Race page like [[Beast]] | |||
==Drops Templates== | ==Drops Templates== |
Revision as of 19:36, 20 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:
Templates
The data for items are pulled from templates:
- Template:Weapon_Data
- Template:Armor_Data
- Template:Item_Data
- Template:Crafting_Data
- Template:Monster_Data
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:
- Template:Infobox
- Used for pretty much all items/monsters
- Template:Infobox_Class
- Used only for classes atm, will merge it into Infobox in future
Weapon Templates
- Template:Weapons
- Menu of weapons
Templates for Individual Weapon pages:
- Template:GenerateWeaponRow
- Template:GenerateHitbox
- Template:GenerateWeaponCombo
- Template:GenerateBlock
- Template:GenerateUnique
- Template:ActionMoveSlow
- Template:AutoGenerateWeaponTabs
- calls Template:GenerateWeaponTabs with
{{PAGENAME}}
- calls Template:GenerateWeaponTabs with
Templates for class pages:
Info Templates:
- Template:Sword
- Template:Maces
- Template:Daggers
- Template:Polearms
- Template:Axes
- Template:Bows
- Template:Crossbows
- Template:Magical Weapons
- Template:Musical Instrument
- Template:Shields
Armor Templates
Info Templates:
- Template:Head Armor
- Template:Chest Armor
- Template:Legs Armor
- Template:Hands Armor
- Template:Foot Armor
- Template:Back Armor
Craft Templates
- Template:Crafting_Data
- Database
- Template:GenerateCraftingRow
- Single crafting recipe row
- Template:GenerateCraftingRows
- Generate multiply, according to ingredient or trader etc.
- Template:Ingredient
- Used on individual page like Bone, Gives info on ingredient, shows all recipes that uses it
- Template:Craftable
- Used on individual page like Cobalt Hat, Shows its crafting recipe
Monster Templates
- Template:Monster_Data
- Database (actively WIP)
- Template:GenerateMonsterRow
- Single monster row
- Template:GenerateMonsterRows
- Generate multiple rows, according to type of monster
- Template:RegularMonsterTable
- Generate within a table
Race Templates
- Template:Monster_Data
- Source data that race comes from
- Template:GenerateRacePage
- Generate Monster Race page like Beast
Drops Templates
- Template:GenerateLootDrops
- Generates loot drops and tables of a given creature
- Template:GenerateDropTables
- Generates list of creatures that a given item is dropped by
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