Here is your content 1
From Dark and Darker Wiki
m (Added Template:ListGearForClass) |
(Added Template Hierarchy in a Tab.) |
||
Line 18: | Line 18: | ||
Spells here etc. | Spells here etc. | ||
</tabber> | </tabber> | ||
<tabber> | |||
|-|Template List= | |||
=Templates= | =Templates= | ||
The data for items are pulled from templates: | The data for items are pulled from templates: | ||
Line 135: | Line 136: | ||
**Not a template - shows last patch a page was manually entered as up-to-date for | **Not a template - shows last patch a page was manually entered as up-to-date for | ||
[[Special:BatchUpload]] | |||
|-|Template Hierarchy= | |||
=Template Hierarchy= | |||
{{#vardefine:arrow| ⤷ }} | |||
Color Legend:<br> | |||
<span style="color:#c58a30;">Template Calls</span><br> | |||
<span style="color:#8229d3;">Transclusion Calls</span> | |||
The main pages use the following template and transclusion structures: | |||
{| class="wikitable" cellspacing="0" style="text-align:left;" | |||
|- style="vertical-align:top;" | |||
|<span style="white-space:pre;">Beginners Guide Page:</span> | |||
|<span style="white-space:pre;">Classes Page: | |||
{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Classes}}</nowiki></span>]] | |||
{{#var:arrow}}[[Template:Infobox_Class|Infobox_Class]] | |||
	{{#var:arrow}}[[Template:Iconbox|Iconbox]] | |||
	{{#var:arrow}}[[Template:Class_Data|Class_Data]] | |||
{{#var:arrow}}[[Template:ListGearForClass|ListGearForClass]] | |||
	{{#var:arrow}}[[Template:ListWeaponsForClass|ListWeaponsForClass]] | |||
		{{#var:arrow}}[[Template:Weapon_Data|Weapon_Data]] | |||
	{{#var:arrow}}[[Template:ListArmorsForClass|ListArmorsForClass]] | |||
		{{#var:arrow}}[[Template:Armor_Data|Armor_Data]] | |||
{{#var:arrow}}[[Template:GenerateDetailsPage|GenerateDetailsPage]] | |||
	{{#var:arrow}}[[Template:Class_Data|Class_Data]]</span> | |||
|<span style="white-space:pre;">Stats Page: | |||
{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Stats}}</nowiki></span>]] | |||
{{#var:arrow}}[[Template:Stats_Data|Stats_Data]]</span> | |||
|<span style="white-space:pre;">Dungeon Page: | |||
{{#var:arrow}}[[Template:Transclude|Transclude]] | |||
{{#var:arrow}}[[:Shrines#Shrines|<span style="color:blueviolet;"><nowiki>{{:Shrines#Shrines}}</nowiki></span>]]</span> | |||
|<span style="white-space:pre;">Mechanics Page: | |||
{{#var:arrow}}[[Template:MechanicsBar|MechanicsBar]] | |||
	{{#var:arrow}}"Template:Topbar/styles.css"</span> | |||
|<span style="white-space:pre;">Monsters Page: | |||
{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Monsters}}</nowiki></span>]] | |||
{{#var:arrow}}[[Template:RegularMonsterTable|RegularMonsterTable]] | |||
	{{#var:arrow}}[[Template:GenerateMonsterRows|GenerateMonsterRows]] | |||
		{{#var:arrow}}[[Template:GenerateMonsterRow|GenerateMonsterRow]] | |||
			{{#var:arrow}}[[Template:Iconbox|Iconbox]] | |||
			{{#var:arrow}}[[Template:Monster_Data|Monster_Data]]</span> | |||
|- style="vertical-align: top; margin-left:5px;" | |||
|<span style="white-space:pre;">Uniques Page: | |||
{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Weapons}}</nowiki></span>]] | |||
{{#var:arrow}}[[Template:GenerateWeaponInfobox|GenerateWeaponInfobox]] | |||
	{{#var:arrow}}[[Template:Weapon_Data|Weapon_Data]] | |||
	{{#var:arrow}}[[Template:Infobox|Infobox]] | |||
		{{#var:arrow}}[[Template:Iconbox|Iconbox]] | |||
{{#var:arrow}}<span style="color:blueviolet;"><nowiki>{{:Droptable: [Insert Unique Name]}}</nowiki></span> | |||
|</span><span style="white-space:pre;">Weapons Page: | |||
{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Weapons}}</nowiki></span>]] | |||
{{#var:arrow}}[[:Swords|<span style="color:blueviolet;"><nowiki>{{:Swords}}</nowiki></span>]] / ... / [[:Shields|<span style="color:blueviolet;"><nowiki>{{:Shields}}</nowiki></span>]] | |||
	{{#var:arrow}}[[Template:RegularWeaponTable|RegularWeaponTable]] / ... / [[Template:ShieldTable|ShieldTable]] | |||
	{{#var:arrow}}[[Template:GenerateWeaponRows|GenerateWeaponRows]] | |||
		{{#var:arrow}}[[Template:Weapon_Data|Weapon_Data]] | |||
		{{#var:arrow}}[[Template:GenerateWeaponRow|GenerateWeaponRow]] | |||
			{{#var:arrow}}[[Template:Weapon_Data|Weapon_Data]] | |||
			{{#var:arrow}}[[Template:Iconbox|Iconbox]] | |||
			{{#var:arrow}}[[Template:Rarity|Rarity]] | |||
				{{#var:arrow}}[[Template:Item_Data|Item_Data]]</span> | |||
|<span style="white-space:pre;">Armors Page: | |||
{{#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}}[[Template:GenerateArmorRows|GenerateArmorRows]] | |||
		{{#var:arrow}}[[Template:Armor_Data|Armor_Data]] | |||
		{{#var:arrow}}[[Template:GenerateArmorRow|GenerateArmorRow]] | |||
			{{#var:arrow}}[[Template:Armor_Data|Armor_Data]] | |||
			{{#var:arrow}}[[Template:Iconbox|Iconbox]] | |||
			{{#var:arrow}}[[Template:Rarity|Rarity]] | |||
				{{#var:arrow}}[[Template:Item_Data|Item_Data]]</span> | |||
|<span style="white-space:pre;">Accessories Page: | |||
{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Jewelry}}</nowiki></span>]] | |||
{{#var:arrow}}[[Template:Iconbox|Iconbox]]</span> | |||
|<span style="white-space:pre;">Consumables Page: | |||
{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Consumables}}</nowiki></span>]] | |||
{{#var:arrow}}[[Template:Iconbox|Iconbox]]</span> | |||
|<span style="white-space:pre;">Utility Page: | |||
{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Utility}}</nowiki></span>]] | |||
{{#var:arrow}}[[Template:Iconbox|Iconbox]]</span> | |||
[[ | |- style="vertical-align: top; margin-left:5px;" | ||
|<span style="white-space:pre;">Containers Page: | |||
{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Containers}}</nowiki></span>]] | |||
{{#var:arrow}}[[Template:Iconbox|Iconbox]]</span> | |||
|<span style="white-space:pre;">Treasures Page: | |||
{{#var:arrow}}[[Template:WIP|WIP]] | |||
{{#var:arrow}}[[Template:Iconbox|Iconbox]] | |||
{{#var:arrow}}[[Quest_Items|<span style="color:blueviolet;"><nowiki>{{:Quest_Items}}</nowiki></span>]] | |||
	{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Loottables}}</nowiki></span>]] | |||
	{{#var:arrow}}[[Template:Iconbox|Iconbox]]</span> | |||
|<span style="white-space:pre;">Materials Page: | |||
{{#var:arrow}}[[Template:Iconbox|Iconbox]] | |||
{{#var:arrow}}[[Quest_Items|<span style="color:blueviolet;"><nowiki>{{:Quest_Items}}</nowiki></span>]] | |||
	{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Loottables}}</nowiki></span>]] | |||
	{{#var:arrow}}[[Template:Iconbox|Iconbox]]</span> | |||
|<span style="white-space:pre;">Crafting Page: | |||
{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Crafting}}</nowiki></span>]] | |||
{{#var:arrow}}[[Template:CraftingTable|CraftingTable]] | |||
{{#var:arrow}}[[Template:GenerateCraftingRows|GenerateCraftingRows]] | |||
	{{#var:arrow}}[[Template:Crafting_Data|Crafting_Data]] | |||
	{{#var:arrow}}[[Template:GenerateCraftingRow|GenerateCraftingRow]] | |||
		{{#var:arrow}}[[Template:Crafting_Data|Crafting_Data]] | |||
		{{#var:arrow}}[[Template:Iconbox|Iconbox]] | |||
		{{#var:arrow}}[[Template:Rarity|Rarity]] | |||
			{{#var:arrow}}[[Template:Item_Data|Item_Data]]</span> | |||
|<span style="white-space:pre;">Merchants Page: | |||
{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Merchants}}</nowiki></span>]] | |||
{{#var:arrow}}[[Template:WIP|WIP]] | |||
{{#var:arrow}}[[Quests|<span style="color:blueviolet;"><nowiki>{{:Quests}}</nowiki></span>]] | |||
	{{#var:arrow}}[[Template:TabToggle|TabToggle]] | |||
	{{#var:arrow}}[[Template:Transclude|Transclude]] | |||
{{#var:arrow}}[[Crafting|<span style="color:blueviolet;"><nowiki>{{:Crafting}}</nowiki></span>]] | |||
	{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Crafting}}</nowiki></span>]] | |||
	{{#var:arrow}}[[Template:CraftingTable|CraftingTable]] | |||
	{{#var:arrow}}[[Template:GenerateCraftingRows|GenerateCraftingRows]] | |||
		{{#var:arrow}}[[Template:Crafting_Data|Crafting_Data]] | |||
		{{#var:arrow}}[[Template:GenerateCraftingRow|GenerateCraftingRow]] | |||
			{{#var:arrow}}[[Template:Crafting_Data|Crafting_Data]] | |||
			{{#var:arrow}}[[Template:Iconbox|Iconbox]] | |||
			{{#var:arrow}}[[Template:Rarity|Rarity]] | |||
				{{#var:arrow}}[[Template:Item_Data|Item_Data]]</span> | |||
|<span style="white-space:pre;">Ranks Page:</span> | |||
|- style="vertical-align: top; margin-left:5px;" | |||
|<span style="white-space:pre;">Maps Page:</span> | |||
|<span style="white-space:pre;">Enchantments Page: | |||
{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Enchantments}}</nowiki></span>]]</span> | |||
|<span style="white-space:pre;">Shrines Page:</span> | |||
|<span style="white-space:pre;">Portals Page:</span> | |||
|<span style="white-space:pre;">Patch Notes Page:</span> | |||
|<span style="white-space:pre;">Guides Page:</span> | |||
|} | |||
The main pages link to individual item pages. | |||
{| class="wikitable" cellspacing="0" style="text-align:left;" | |||
|- style="vertical-align:top;" | |||
|<span style="white-space:pre;">[Insert Monster Name] Page: | |||
{{#var:arrow}}[[Template:GenerateMonsterInfobox|GenerateMonsterInfobox]] | |||
	{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Monsters}}</nowiki></span>]] | |||
	{{#var:arrow}}[[Template:Monster_Data|Monster_Data]] | |||
	{{#var:arrow}}[[Template:Tabs|Tabs]] | |||
	{{#var:arrow}}[[Template:Infobox|Infobox]] | |||
		{{#var:arrow}}[[Template:Iconbox|Iconbox]] | |||
	{{#var:arrow}}[[Template:ListMonsterTypes|ListMonsterTypes]] | |||
{{#var:arrow}}[[Template:GenerateLootDrops|GenerateLootDrops]] | |||
	{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Loottables}}</nowiki></span>]] | |||
	{{#var:arrow}}[[Template:Monster_Data|Monster_Data]] | |||
	{{#var:arrow}}[[Template:TabToggle|TabToggle]] | |||
	{{#var:arrow}}[[Template:ListLootDrops|ListLootDrops]] | |||
		{{#var:arrow}}[[Template:Monster_Data|Monster_Data]] | |||
		{{#var:arrow}}[[Template:TabToggle|TabToggle]] | |||
		{{#var:arrow}}<span style="color:blueviolet;"><nowiki>{{:LootTable: [Insert Monster Name]}}</nowiki></span> | |||
			{{#var:arrow}}[[Template:LoottableTable|LoottableTable]] | |||
			{{#var:arrow}}[[Template:Tooltip|Tooltip]] | |||
			{{#var:arrow}}[[Template:Iconbox|Iconbox]]</span> | |||
|<span style="white-space:pre;">[Insert Weapon Name] Page: | |||
{{#var:arrow}}[[Template:AutoGenerateWeaponTabs|AutoGenerateWeaponTabs]] | |||
	{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Weapons}}</nowiki></span>]] | |||
	{{#var:arrow}}[[Template:GenerateWeaponTabs|GenerateWeaponTabs]] | |||
		{{#var:arrow}}[[Template:Tabs|Tabs]] | |||
		{{#var:arrow}}[[Template:GenerateWeaponInfobox|GenerateWeaponInfobox]] | |||
			{{#var:arrow}}[[Template:Weapon_Data|Weapon_Data]] | |||
			{{#var:arrow}}[[Template:Infobox|Infobox]] | |||
				{{#var:arrow}}[[Template:Iconbox|Iconbox]] | |||
{{#var:arrow}}[[Template:Sword|Sword]] / ... / [[Template:Shields|Shields]] | |||
{{#var:arrow}}[[Template:GenerateHitbox|GenerateHitbox]] | |||
	{{#var:arrow}}[[Template:Weapon_Data|Weapon_Data]] | |||
{{#var:arrow}}[[Template:GenerateWeaponCombo|GenerateWeaponCombo]] | |||
	{{#var:arrow}}[[Template:Weapon_Data|Weapon_Data]] | |||
{{#var:arrow}}[[Template:GenerateBlock|GenerateBlock]] | |||
	{{#var:arrow}}[[Template:Weapon_Data|Weapon_Data]] | |||
{{#var:arrow}}[[Template:ActionMoveSlow|ActionMoveSlow]] | |||
	{{#var:arrow}}[[Template:Weapon_Data|Weapon_Data]] | |||
{{#var:arrow}}[[Template:GenerateUnique|GenerateUnique]] | |||
	{{#var:arrow}}[[Template:Weapon_Data|Weapon_Data]] | |||
{{#var:arrow}}[[Template:GenerateDropTables|GenerateDropTables]] | |||
	{{#var:arrow}}[[Template:Weapon_Data|Weapon_Data]] | |||
	{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Loottables}}</nowiki></span>]] | |||
	{{#var:arrow}}[[Template:TabToggle|TabToggle]] | |||
	{{#var:arrow}}<span style="color:blueviolet;"><nowiki>{{:Droptable: [Insert Weapon Name]}}</nowiki></span> | |||
{{#var:arrow}}[[Template:Weapons|Weapons]] | |||
	{{#var:arrow}}[[Template:Weapon_Data|Weapon_Data]]</span> | |||
|<span style="white-space:pre;">[Insert Armor Name] Page: | |||
{{#var:arrow}}[[Template:AutoGenerateArmorTabs|AutoGenerateArmorTabs]] | |||
	{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Armors}}</nowiki></span>]] | |||
	{{#var:arrow}}[[Template:GenerateArmorTabs|GenerateArmorTabs]] | |||
		{{#var:arrow}}[[Template:Tabs|Tabs]] | |||
		{{#var:arrow}}[[Template:GenerateArmorInfobox|GenerateArmorInfobox]] | |||
			{{#var:arrow}}[[Template:Armor_Data|Armor_Data]] | |||
			{{#var:arrow}}[[Template:Infobox|Infobox]] | |||
				{{#var:arrow}}[[Template:Iconbox|Iconbox]] | |||
{{#var:arrow}}[[Template:Armor_Data|Armor_Data]] | |||
{{#var:arrow}}[[Template:GenerateDropTables|GenerateDropTables]] | |||
	{{#var:arrow}}[[Template:Weapon_Data|Weapon_Data]] | |||
	{{#var:arrow}}[[TODO|<span style="color:blueviolet;"><nowiki>{{:TODO|Loottables}}</nowiki></span>]] | |||
	{{#var:arrow}}[[Template:TabToggle|TabToggle]] | |||
	{{#var:arrow}}<span style="color:blueviolet;"><nowiki>{{:Droptable: [Insert Weapon Name]}}</nowiki></span> | |||
{{#var:arrow}}[[Template:Armors|Armors]] | |||
	{{#var:arrow}}[[Template:Armor_Data|Armor_Data]]</span> | |||
|<span style="white-space:pre;">[Insert Accessory Name] Page: | |||
{{#var:arrow}}[[Template:Infobox|Infobox]] | |||
	{{#var:arrow}}[[Template:Iconbox|Iconbox]] | |||
{{#var:arrow}}[[Template:Necklaces/Pendants|Necklaces/Pendants]] | |||
{{#var:arrow}}<span style="color:blueviolet;"><nowiki>{{:Droptable: [Insert Accessory Name]}}</nowiki></span> | |||
{{#var:arrow}}[[Template:History|History]]</span> | |||
|<span style="white-space:pre;">[Insert Consumable Name] Page: | |||
{{#var:arrow}}[[Template:Infobox|Infobox]] | |||
	{{#var:arrow}}[[Template:Iconbox|Iconbox]] | |||
{{#var:arrow}}[[Template:Consumables|Consumables]] | |||
{{#var:arrow}}<span style="color:blueviolet;"><nowiki>{{:Droptable: [Insert Consumable Name]}}</nowiki></span> | |||
|</span><span style="white-space:pre;">[Insert Utility Name] Page: | |||
{{#var:arrow}}[[Template:Infobox|Infobox]] | |||
	{{#var:arrow}}[[Template:Iconbox|Iconbox]] | |||
{{#var:arrow}}[[Template:Utilities|Utilities]] | |||
{{#var:arrow}}[[Template:History|History]]</span> | |||
|} | |||
</tabber> |
Revision as of 22:30, 9 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:
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
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
- 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
Template Hierarchy
Color Legend:
Template Calls
Transclusion Calls
The main pages use the following template and transclusion structures:
The main pages link to individual item pages.