Wiki

Template:Navbox All: Difference between revisions

From 2D Tower Wiki
This page was last edited on 13 October 2026, at 05:10.
Gary (talk | contribs)
Add Player's Guide and Modding to the full wiki navigation using shared templates.
m Link directly to the sentence-case Main page title after its move.
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>This template provides a master navigation box for all 2D Tower Wiki categories and content.</noinclude><includeonly>{{Navbox
<noinclude>This template provides a master navigation box for all 2D Tower Wiki categories and content. Gameplay and journey groups match the [[Main page]] and enumerate their actual category members through [[Template:Category list]].</noinclude><includeonly>{{Navbox
|name=Navbox All
|name=Navbox All
|title=2D Tower Wiki
|title=2D Tower Wiki
|groupstyle=min-width:6.5rem;overflow-wrap:anywhere
|liststyle=min-width:0;overflow-wrap:anywhere;flex:1 1 16rem
|oddstyle=flex-wrap:wrap
|evenstyle=flex-wrap:wrap
|group1=Gameplay
|group1=Gameplay
|groupicon1=special
|groupicon1=special
Line 9: Line 13:
|bodystyle=clear:none;width:calc(100% + 1.3rem);margin:-0.45rem -0.65rem;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible
|bodystyle=clear:none;width:calc(100% + 1.3rem);margin:-0.45rem -0.65rem;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible
|innerstyle=padding:0
|innerstyle=padding:0
|group1=Mechanics
|groupstyle=min-width:6.5rem;overflow-wrap:anywhere
|grouplink1=Game mechanics
|liststyle=min-width:0;overflow-wrap:anywhere;flex:1 1 16rem
|list1={{#tag:dpl|
|oddstyle=flex-wrap:wrap
category=Game mechanics
|evenstyle=flex-wrap:wrap
namespace=0
|group1=Tower basics
ordermethod=title
|groupicon1=special
order=ascending
|grouplink1=Tower basics
mode=inline
|list1={{Category list|Tower basics|mode=inline}}
inlinetext=&#160;·&#160;
|group2=Tenants and demand
shownamespace=no
|groupicon2=residential
suppresserrors=true
|grouplink2=Tenants and demand
skipthispage=false
|list2={{Category list|Tenants and demand|mode=inline}}
}}&#160;·&#160;[[Garbage Chute]]&#160;·&#160;[[Garbage Chute Room]]}}
|group3=Services and environment
|groupicon3=facilities
|grouplink3=Services and environment
|list3={{Category list|Services and environment|mode=inline}}
|group4=Transport and parking
|groupicon4=elevator
|grouplink4=Transport and parking
|list4={{Category list|Transport and parking|mode=inline}}
}}
|group2=Rooms
|group2=Rooms
|groupicon2=facilities
|groupicon2=facilities
|grouplink2=Rooms
|grouplink2=Rooms
|list2={{Navbox
|list2={{Navbox Rooms|title=|border=subgroup|bodystyle=clear:none;width:calc(100% + 1.3rem);margin:-0.45rem -0.65rem;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible|innerstyle=padding:0|groupstyle=min-width:6.5rem;overflow-wrap:anywhere|liststyle=min-width:0;overflow-wrap:anywhere;flex:1 1 16rem|oddstyle=flex-wrap:wrap|evenstyle=flex-wrap:wrap}}
|border=subgroup
|bodystyle=clear:none;width:calc(100% + 1.3rem);margin:-0.45rem -0.65rem;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible
|innerstyle=padding:0
|group1=Facilities
|groupicon1=facilities
|grouplink1=Facilities
|list1={{#tag:dpl|
category=Facilities
namespace=0
ordermethod=title
order=ascending
mode=inline
inlinetext=&#160;·&#160;
shownamespace=no
suppresserrors=true
skipthispage=false
}}
|group2=Hotels
|groupicon2=hotel
|grouplink2=Hotels
|list2={{#tag:dpl|
category=Hotels
namespace=0
ordermethod=title
order=ascending
mode=inline
inlinetext=&#160;·&#160;
shownamespace=no
suppresserrors=true
skipthispage=false
}}
|group3=Residential
|groupicon3=residential
|grouplink3=Residential
|list3={{#tag:dpl|
category=Residential
namespace=0
ordermethod=title
order=ascending
mode=inline
inlinetext=&#160;·&#160;
shownamespace=no
suppresserrors=true
skipthispage=false
}}
|group4=Restaurant
|groupicon4=restaurant
|grouplink4=Restaurant
|list4={{#tag:dpl|
category=Restaurant
namespace=0
ordermethod=title
order=ascending
mode=inline
inlinetext=&#160;·&#160;
shownamespace=no
suppresserrors=true
skipthispage=false
}}
|group5=Shops
|groupicon5=shops
|grouplink5=Shops
|list5={{#tag:dpl|
category=Shops
namespace=0
ordermethod=title
order=ascending
mode=inline
inlinetext=&#160;·&#160;
shownamespace=no
suppresserrors=true
skipthispage=false
}}
|group6=Special
|groupicon6=special
|grouplink6=Special
|list6={{#tag:dpl|
category=Special
namespace=0
ordermethod=title
order=ascending
mode=inline
inlinetext=&#160;·&#160;
shownamespace=no
suppresserrors=true
skipthispage=false
}}
|group7=Decoration
|groupicon7=decor1
|grouplink7=Decoration
|list7={{#tag:dpl|
category=Decoration
namespace=0
ordermethod=title
order=ascending
mode=inline
inlinetext=&#160;·&#160;
shownamespace=no
suppresserrors=true
skipthispage=false
}}
|group8=Office
|groupicon8=office
|grouplink8=Office
|list8={{#tag:dpl|
category=Office
namespace=0
ordermethod=title
order=ascending
mode=inline
inlinetext=&#160;·&#160;
shownamespace=no
suppresserrors=true
skipthispage=false
}}}}
|group3=Transports
|group3=Transports
|groupicon3=elevator
|groupicon3=elevator
|grouplink3=Transports
|grouplink3=Transports
|list3={{Navbox
|list3={{Navbox Transports|title=|border=subgroup|bodystyle=clear:none;width:calc(100% + 1.3rem);margin:-0.45rem -0.65rem;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible|innerstyle=padding:0|groupstyle=min-width:6.5rem;overflow-wrap:anywhere|liststyle=min-width:0;overflow-wrap:anywhere;flex:1 1 16rem|oddstyle=flex-wrap:wrap|evenstyle=flex-wrap:wrap}}
|border=subgroup
|bodystyle=clear:none;width:calc(100% + 1.3rem);margin:-0.45rem -0.65rem;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible
|innerstyle=padding:0
|group1=Elevators
|groupicon1=elevator
|grouplink1=Elevators
|list1=[[Basic Elevator]]&#160;·&#160;[[Express Elevator]]&#160;·&#160;[[Service Elevator]]
|group2=Stairs
|groupicon2=stairs
|grouplink2=Stairs
|list2=[[Stairs]]&#160;·&#160;[[Escalator]]
|group3=Other Transports
|groupicon3=special
|grouplink3=Other Transports
|list3=[[Paternoster]]}}
|group4=Architecture
|group4=Architecture
|groupicon4=architecture
|groupicon4=architecture
|grouplink4=Architecture
|grouplink4=Architecture
|list4={{#tag:dpl|
|list4={{Category list|Architecture|mode=inline}}
category=Architecture
namespace=0
ordermethod=title
order=ascending
mode=inline
inlinetext=&#160;·&#160;
shownamespace=no
suppresserrors=true
skipthispage=false
}}
|group5=Maps
|group5=Maps
|groupicon5=special
|groupicon5=special
|grouplink5=Maps
|grouplink5=Maps
|list5={{#tag:dpl|
|list5={{Category list|Maps|mode=inline}}
category=Maps
namespace=0
ordermethod=title
order=ascending
mode=inline
inlinetext=&#160;·&#160;
shownamespace=no
suppresserrors=true
skipthispage=false
}}
|group6=Updates
|group6=Updates
|groupicon6=news
|groupicon6=news
|grouplink6=Updates
|grouplink6=Updates
|list6={{#tag:dpl|
|list6={{Category list|Updates|mode=inline}}
category=Updates
|group7=Player's guide
namespace=0
ordermethod=title
order=ascending
mode=inline
inlinetext=&#160;·&#160;
shownamespace=no
suppresserrors=true
skipthispage=false
}}
|group7=Player's Guide
|grouplink7=Guides
|grouplink7=Guides
|list7={{Navbox Main Page|title=|border=subgroup|bodystyle=clear:none;width:calc(100% + 1.3rem);margin:-0.45rem -0.65rem;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible|innerstyle=padding:0}}
|list7={{Navbox Main Page|title=|border=subgroup|bodystyle=clear:none;width:calc(100% + 1.3rem);margin:-0.45rem -0.65rem;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible|innerstyle=padding:0|groupstyle=min-width:6.5rem;overflow-wrap:anywhere|liststyle=min-width:0;overflow-wrap:anywhere;flex:1 1 16rem|oddstyle=flex-wrap:wrap|evenstyle=flex-wrap:wrap}}
|group8=Modding
|group8=Modding
|list8={{Navbox Mods|title=|border=subgroup|bodystyle=clear:none;width:calc(100% + 1.3rem);margin:-0.45rem -0.65rem;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible|innerstyle=padding:0}}
|list8={{Navbox Mods|title=|border=subgroup|bodystyle=clear:none;width:calc(100% + 1.3rem);margin:-0.45rem -0.65rem;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible|innerstyle=padding:0|groupstyle=min-width:6.5rem;overflow-wrap:anywhere|liststyle=min-width:0;overflow-wrap:anywhere;flex:1 1 16rem|oddstyle=flex-wrap:wrap|evenstyle=flex-wrap:wrap}}
}}</includeonly>
}}</includeonly>

Latest revision as of 05:10, 13 October 2026

This template provides a master navigation box for all 2D Tower Wiki categories and content. Gameplay and journey groups match the Main page and enumerate their actual category members through Template:Category list.