From Dark and Darker Wiki

(Removing unnecessary width.)
(tabtoggle example)
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Testing==
<tabber>
<div class="mw-collapsible mw-collapsed" style="width:fit-content">
|-|Tab1=
&nbsp;
content1
<div class="mw-collapsible-content">
|-|Tab2=
{{:Bard|HarmonicShield|GoodPersuasivenessInaccurateNote}}
content2
<br>
|-|{{TabNameTest}}=
{{:Bard|HarmonicShield|BadPersuasivenessInaccurateNote}}
content3
</div>
</tabber>
</div>


==Uncommented version of Wiki documentation==
Slightly out of date; leaving this here to link some people to if they are curious anyways


Color Legend:<div style="white-space:pre">&#9;<span style="color:#c58a30">Template Calls</span>
{{TabToggle|1|Tab1}}
&#9;<span style="color:#8229d3">Transclusion Calls</span>
{{TabToggle|2|Tab2}}
&#9;<span style="color:white">Links to non-template and non-transcluded pages, or plain text.</span>
{{TabToggle|3|{{TabNameTest}}}}
</div>The text of the hierarchy nodes links to the template page itself.<br>
For Template nodes, the leading arrow links to the template edit page.<br><br>


-------
<div class="1-data All-data" style="display:none;">
The main pages use the following template and transclusion structures:
content1</div>
 
<div class="2-data All-data" style="display:none;">
Temporarily disabling this page as it is out of date.
content2</div>
{| class="wikitable" cellspacing="0" style="text-align:left; white-space:pre;"
<div class="3-data All-data" style="display:none;">
|- style="vertical-align:top;"
content3</div>
|Beginners Guide Page:
 
| {{NodeMarkup|Classes|link=t|no_arrow=t}} Page:
{{NodeMarkup|TODO|Classes|transclusion=t}}
{{NodeMarkup|Infobox_Class}}
&#9;{{NodeMarkup|Iconbox}}
&#9;{{NodeMarkup|Class_Data}}
{{NodeMarkup|AutoGenerateGearTable}}
&#9;{{NodeMarkup|HyperlinkListElements}}
&#9;{{NodeMarkup|Item_Data}}
&#9;{{NodeMarkup|FilterListForClass}}
&#9;&#9;{{NodeMarkup|Weapon_Data}}
&#9;&#9;{{NodeMarkup|Armor_Data}}
{{NodeMarkup|GenerateDetailsPage}}
&#9;{{NodeMarkup|Class_Data}}
 
| {{NodeMarkup|Stats|link=t|no_arrow=t}} Page:
{{NodeMarkup|TODO|Stats|transclusion=t}}
{{NodeMarkup|Stats_Data}}
 
| {{NodeMarkup|Dungeon|link=t|no_arrow=t}} Page:
{{NodeMarkup|Transclude}}
{{NodeMarkup|Shrines#Shrines|transclusion=t}}
 
| {{NodeMarkup|Mechanics|link=t|no_arrow=t}} Page:
{{NodeMarkup|MechanicsBar}}
&#9;"{{NodeMarkup|Template:Topbar/styles.css|link=t|no_arrow=t}}"
 
| {{NodeMarkup|Monsters|link=t|no_arrow=t}} Page:
{{NodeMarkup|TODO|Monsters|transclusion=t}}
{{NodeMarkup|RegularMonsterTable}}
&#9;{{NodeMarkup|GenerateMonsterRows}}
&#9;&#9;{{NodeMarkup|GenerateMonsterRow}}
&#9;&#9;&#9;{{NodeMarkup|Iconbox}}
&#9;&#9;&#9;{{NodeMarkup|Monster_Data}}
 
|- style="vertical-align: top; margin-left:5px;"
| {{NodeMarkup|Artifacts|link=t|no_arrow=t}} Page:
{{NodeMarkup|TODO|Weapons|transclusion=t}}
{{NodeMarkup|GenerateWeaponInfobox}}
&#9;{{NodeMarkup|Weapon_Data}}
&#9;{{NodeMarkup|Infobox}}
&#9;&#9;{{NodeMarkup|Iconbox}}
&#9;&#9;{{NodeMarkup|IconboxInventorySize}}
{{NodeMarkup|2=Droptable:[Artifact Name]|transclusion=t}}
 
|{{NodeMarkup|Weapons|link=t|no_arrow=t}} Page:
{{NodeMarkup|TODO|Weapons|transclusion=t}}
{{NodeMarkup|Shields|transclusion=t}} / ...
&#9;{{NodeMarkup|WeaponTable}}
&#9;{{NodeMarkup|GenerateWeaponRows}}
&#9;&#9;{{NodeMarkup|Item_Data}}
&#9;&#9;{{NodeMarkup|GenerateWeaponRow}}
&#9;&#9;&#9;{{NodeMarkup|Weapon_Data}}
&#9;&#9;&#9;{{NodeMarkup|Iconbox}}
&#9;&#9;&#9;{{NodeMarkup|IconboxInventorySize}}
 
|{{NodeMarkup|Armors|link=t|no_arrow=t}} Page:
{{NodeMarkup|TODO|Armors|transclusion=t}}
{{NodeMarkup|Back|transclusion=t}} / ...
&#9;{{NodeMarkup|ArmorTable}}
&#9;{{NodeMarkup|GenerateArmorRows}}
&#9;&#9;{{NodeMarkup|Item_Data}}
&#9;&#9;{{NodeMarkup|GenerateArmorRow}}
&#9;&#9;&#9;{{NodeMarkup|Armor_Data}}
&#9;&#9;&#9;{{NodeMarkup|Iconbox}}
&#9;&#9;&#9;{{NodeMarkup|IconboxInventorySize}}
 
| {{NodeMarkup|Accessories|link=t|no_arrow=t}} Page:
{{NodeMarkup|TODO|Jewelry|transclusion=t}}
{{NodeMarkup|Iconbox}}
 
| {{NodeMarkup|Consumables|link=t|no_arrow=t}} Page:
{{NodeMarkup|TODO|Consumables|transclusion=t}}
{{NodeMarkup|Iconbox}}
 
| {{NodeMarkup|Utilities|link=t|no_arrow=t}} Page:
{{NodeMarkup|TODO|Utility|transclusion=t}}
{{NodeMarkup|Iconbox}}
 
|- style="vertical-align: top; margin-left:5px;"
| {{NodeMarkup|Containers|link=t|no_arrow=t}} Page:
{{NodeMarkup|TODO|Containers|transclusion=t}}
{{NodeMarkup|Iconbox}}
 
|{{NodeMarkup|Treasures|link=t|no_arrow=t}} Page:
{{NodeMarkup|WIP}}
{{NodeMarkup|Iconbox}}
{{NodeMarkup|Quest_Items|transclusion=t}}
&#9;{{NodeMarkup|TODO|Loottables|transclusion=t}}
&#9;{{NodeMarkup|Iconbox}}
 
|{{NodeMarkup|Materials|link=t|no_arrow=t}} Page:
{{NodeMarkup|Iconbox}}
{{NodeMarkup|Quest_Items|transclusion=t}}
&#9;{{NodeMarkup|TODO|Loottables|transclusion=t}}
&#9;{{NodeMarkup|Iconbox}}
 
|{{NodeMarkup|Crafting|link=t|no_arrow=t}} Page:
{{NodeMarkup|TODO|Crafting|transclusion=t}}
{{NodeMarkup|CraftingTable}}
{{NodeMarkup|GenerateCraftingRows}}
&#9;{{NodeMarkup|Merchant_Data}}
&#9;{{NodeMarkup|GenerateCraftingRow}}
&#9;&#9;{{NodeMarkup|Merchant_Data}}
&#9;&#9;{{NodeMarkup|Iconbox}}
 
|{{NodeMarkup|Merchants|link=t|no_arrow=t}} Page:
{{NodeMarkup|TODO|Merchants|transclusion=t}}
{{NodeMarkup|WIP}}
{{NodeMarkup|Quests|transclusion=t}}
&#9;{{NodeMarkup|TabToggle}}
&#9;{{NodeMarkup|Transclude}}
{{NodeMarkup|Crafting|transclusion=t}}
&#9;{{NodeMarkup|TODO|Crafting|transclusion=t}}
&#9;{{NodeMarkup|CraftingTable}}
&#9;{{NodeMarkup|GenerateCraftingRows}}
&#9;&#9;{{NodeMarkup|Merchant_Data}}
&#9;&#9;{{NodeMarkup|GenerateCraftingRow}}
&#9;&#9;&#9;{{NodeMarkup|Merchant_Data}}
&#9;&#9;&#9;{{NodeMarkup|Iconbox}}
 
|{{NodeMarkup|Ranks|link=t|no_arrow=t}} Page:
 
|- style="vertical-align: top; margin-left:5px;"
|Maps Page:
 
|{{NodeMarkup|Enchantments|link=t|no_arrow=t}} Page:
{{NodeMarkup|TODO|Enchantments|transclusion=t}}
 
|{{NodeMarkup|Shrines|link=t|no_arrow=t}} Page:
|{{NodeMarkup|Portals|link=t|no_arrow=t}} Page:
|{{NodeMarkup|Patch Notes|link=t|no_arrow=t}} Page:
|{{NodeMarkup|Guides|link=t|no_arrow=t}} Page:
|}
 
 
The main pages link to individual item pages.
{| class="wikitable" cellspacing="0" style="text-align:left; white-space:pre;"
|- style="vertical-align:top;"
| <span class="plainlink">[https://darkanddarker.wiki.spellsandguns.com/index.php?title=Special:WhatLinksHere/Template:GenerateLootDrops&limit=500 <span style="color:white">Individual Monster Page:</span>]<span>
{{NodeMarkup|GenerateMonsterInfobox}}
&#9;{{NodeMarkup|TODO|Monsters|transclusion=t}}
&#9;{{NodeMarkup|Monster_Data}}
&#9;{{NodeMarkup|Tabs}}
&#9;{{NodeMarkup|Infobox}}
&#9;&#9;{{NodeMarkup|Iconbox}}
{{NodeMarkup|GenerateLootDrops}}
&#9;{{NodeMarkup|TODO|Loottables|transclusion=t}}
&#9;{{NodeMarkup|Monster_Data}}
&#9;{{NodeMarkup|TabToggle}}
&#9;{{NodeMarkup|ListLootDrops}}
&#9;&#9;{{NodeMarkup|Monster_Data}}
&#9;&#9;{{NodeMarkup|TabToggle}}
&#9;&#9;{{NodeMarkup|2=LootTable:[Monster Name]|transclusion=t}}
&#9;&#9;&#9;{{NodeMarkup|LoottableTable}}
&#9;&#9;&#9;{{NodeMarkup|Tooltip}}
&#9;&#9;&#9;{{NodeMarkup|Iconbox}}
 
|<span class="plainlink">[https://darkanddarker.wiki.spellsandguns.com/index.php?title=Special:WhatLinksHere/Template:AutoGenerateWeaponTabs&limit=500 <span style="color:white">Individual Weapon Page:</span>]<span>
{{NodeMarkup|AutoGenerateWeaponTabs}}
&#9;{{NodeMarkup|TODO|Weapons|transclusion=t}}
&#9;{{NodeMarkup|GenerateWeaponTabs}}
&#9;&#9;{{NodeMarkup|Tabs}}
&#9;&#9;{{NodeMarkup|GenerateWeaponInfobox}}
&#9;&#9;&#9;{{NodeMarkup|Weapon_Data}}
&#9;&#9;&#9;{{NodeMarkup|Infobox}}
&#9;&#9;&#9;&#9;{{NodeMarkup|Iconbox}}
&#9;&#9;&#9;&#9;{{NodeMarkup|IconboxInventorySize}}
{{NodeMarkup|Sword}} / ... / {{NodeMarkup|Shields|no_arrow=t}}
{{NodeMarkup|GenerateHitbox}}
&#9;{{NodeMarkup|Weapon_Data}}
{{NodeMarkup|GenerateWeaponCombo}}
&#9;{{NodeMarkup|Weapon_Data}}
{{NodeMarkup|GenerateBlock}}
&#9;{{NodeMarkup|Weapon_Data}}
{{NodeMarkup|ActionMoveSlow}}
&#9;{{NodeMarkup|Weapon_Data}}
{{NodeMarkup|GenerateArtifact}}
&#9;{{NodeMarkup|Weapon_Data}}
{{NodeMarkup|GenerateDropTables}}
&#9;{{NodeMarkup|Weapon_Data}}
&#9;{{NodeMarkup|TODO|Loottables|transclusion=t}}
&#9;{{NodeMarkup|TabToggle}}
&#9;{{NodeMarkup|2=Droptable:[Weapon Name]|transclusion=t}}
{{NodeMarkup|Weapons}}
&#9;{{NodeMarkup|HyperlinkListElements}}
 
|<span class="plainlink">[https://darkanddarker.wiki.spellsandguns.com/index.php?title=Special:WhatLinksHere/Template:AutoGenerateArmorTabs&limit=500 <span style="color:white">Individual Armor Page:</span>]<span>
{{NodeMarkup|AutoGenerateArmorTabs}}
&#9;{{NodeMarkup|TODO|Armors|transclusion=t}}
&#9;{{NodeMarkup|GenerateArmorTabs}}
&#9;&#9;{{NodeMarkup|Tabs}}
&#9;&#9;{{NodeMarkup|GenerateArmorInfobox}}
&#9;&#9;&#9;{{NodeMarkup|Armor_Data}}
&#9;&#9;&#9;{{NodeMarkup|Infobox}}
&#9;&#9;&#9;&#9;{{NodeMarkup|Iconbox}}
&#9;&#9;&#9;&#9;{{NodeMarkup|IconboxInventorySize}}
{{NodeMarkup|Armor_Data}}
{{NodeMarkup|GenerateDropTables}}
&#9;{{NodeMarkup|Weapon_Data}}
&#9;{{NodeMarkup|TODO|Loottables|transclusion=t}}
&#9;{{NodeMarkup|TabToggle}}
&#9;{{NodeMarkup|2=Droptable:[Weapon Name]|transclusion=t}}
{{NodeMarkup|Armors}}
&#9;{{NodeMarkup|HyperlinkListElements}}
 
|<span class="plainlink">[https://darkanddarker.wiki.spellsandguns.com/index.php?title=Special:WhatLinksHere/Template:AutoGenerateAccessoryTabs&limit=500 <span style="color:white">Individual Accessory Page:</span>]<span>
{{NodeMarkup|AutoGenerateAccessoryTabs}}
&#9;{{NodeMarkup|TODO|Accessory|transclusion=t}}
&#9;{{NodeMarkup|GenerateAccessoryTabs}}
&#9;&#9;{{NodeMarkup|Tabs}}
&#9;&#9;{{NodeMarkup|GenerateAccessoryInfobox}}
&#9;&#9;&#9;{{NodeMarkup|Accessory_Data}}
&#9;&#9;&#9;{{NodeMarkup|Infobox}}
&#9;&#9;&#9;&#9;{{NodeMarkup|Iconbox}}
{{NodeMarkup|Necklaces/Pendants}} / {{NodeMarkup|Rings|no_arrow=t}}
{{NodeMarkup|2=Droptable:[Accessory Name]|transclusion=t}}</span>
 
|<span class="plainlink">[https://darkanddarker.wiki.spellsandguns.com/index.php?title=Special:WhatLinksHere/Template:Consumables&limit=500 <span style="color:white">Individual Consumable Page:</span>]<span>
{{NodeMarkup|Infobox}}
&#9;{{NodeMarkup|Iconbox}}
{{NodeMarkup|Consumables}}
{{NodeMarkup|2=Droptable:[Consumable Name]|transclusion=t}}
 
|<span class="plainlink">[https://darkanddarker.wiki.spellsandguns.com/index.php?title=Special:WhatLinksHere/Template:AutoGenerateUtilityTabs&limit=500 <span style="color:white">Individual Utility Page:</span>]<span>
{{NodeMarkup|Infobox}}
&#9;{{NodeMarkup|Iconbox}}
{{NodeMarkup|Utilities}}
 
{{NodeMarkup|AutoGenerateUtilityTabs}}
&#9;{{NodeMarkup|TODO|Utility|transclusion=t}}
&#9;{{NodeMarkup|GenerateUtilityTabs}}
&#9;&#9;{{NodeMarkup|Tabs}}
&#9;&#9;{{NodeMarkup|GenerateUtilityInfobox}}
&#9;&#9;&#9;{{NodeMarkup|Utility_Data}}
&#9;&#9;&#9;{{NodeMarkup|Infobox}}
&#9;&#9;&#9;&#9;{{NodeMarkup|Iconbox}}
&#9;&#9;&#9;&#9;{{NodeMarkup|IconboxInventorySize}}
 
 
 
|<span class="plainlink">[https://darkanddarker.wiki.spellsandguns.com/index.php?title=Special:WhatLinksHere/Template:AutoGenerateMiscTabs&limit=500 <span style="color:white">Individual Misc Page:</span>]<span>
{{NodeMarkup|AutoGenerateMiscTabs}}
&#9;{{NodeMarkup|TODO|Misc|transclusion=t}}
&#9;{{NodeMarkup|GenerateMiscTabs}}
&#9;&#9;{{NodeMarkup|Tabs}}
&#9;&#9;{{NodeMarkup|GenerateMiscInfobox}}
&#9;&#9;&#9;{{NodeMarkup|Misc_Data}}
&#9;&#9;&#9;{{NodeMarkup|Infobox}}
&#9;&#9;&#9;&#9;{{NodeMarkup|Iconbox}}
&#9;&#9;&#9;&#9;{{NodeMarkup|IconboxInventorySize}}
|}

Latest revision as of 14:58, 25 September 2024

content1

content2
content3


Tab1
Tab2
MyCoolTabName