Wiki

Template:Navbox All: Difference between revisions

From 2D Tower Wiki
This page was last edited on 24 September 2026, at 20:49.
Gary (talk | contribs)
Remove extra padding and chrome from nested navboxes
Gary (talk | contribs)
Move Gameplay first and remove Wiki row
Line 2: Line 2:
|name=Navbox All
|name=Navbox All
|title=2D Tower Wiki
|title=2D Tower Wiki
|group1=Rooms
|group1=Special
|groupicon1=facilities
|groupicon1=special
|grouplink1=Rooms
|grouplink1=Special
|list1={{Navbox
|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|
|list1={{#tag:dpl|
category=Facilities
namespace=0
ordermethod=title
order=ascending
mode=inline
inlinetext= · 
shownamespace=no
suppresserrors=true
}}
|group2=Hotels
|groupicon2=hotel
|grouplink2=Hotels
|list2={{#tag:dpl|
category=Hotels
namespace=0
ordermethod=title
order=ascending
mode=inline
inlinetext= · 
shownamespace=no
suppresserrors=true
}}
|group3=Residential
|groupicon3=residential
|grouplink3=Residential
|list3={{#tag:dpl|
category=Residential
namespace=0
ordermethod=title
order=ascending
mode=inline
inlinetext= · 
shownamespace=no
suppresserrors=true
}}
|group4=Restaurant
|groupicon4=restaurant
|grouplink4=Restaurant
|list4={{#tag:dpl|
category=Restaurant
namespace=0
ordermethod=title
order=ascending
mode=inline
inlinetext= · 
shownamespace=no
suppresserrors=true
}}
|group5=Shops
|groupicon5=shops
|grouplink5=Shops
|list5={{#tag:dpl|
category=Shops
namespace=0
ordermethod=title
order=ascending
mode=inline
inlinetext= · 
shownamespace=no
suppresserrors=true
}}
|group6=Special
|groupicon6=special
|grouplink6=Special
|list6={{#tag:dpl|
category=Special
category=Special
namespace=0
namespace=0
Line 87: Line 15:
suppresserrors=true
suppresserrors=true
}}
}}
|group7=Decoration
|group2=Rooms
|groupicon7=decor1
|groupicon2=facilities
|grouplink7=Decoration
|grouplink2=Rooms
|list7={{#tag:dpl|
|list2={{Navbox
category=Decoration
|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
namespace=0
ordermethod=title
ordermethod=title
Line 100: Line 35:
suppresserrors=true
suppresserrors=true
}}
}}
|group8=Office
|group3=Hotels
|groupicon8=office
|groupicon3=hotel
|grouplink8=Office
|grouplink3=Hotels
|list8={{#tag:dpl|
category=Office
namespace=0
ordermethod=title
order=ascending
mode=inline
inlinetext= · 
shownamespace=no
suppresserrors=true
}}}}
|group2=Transports
|groupicon2=elevator
|grouplink2=Transports
|list2={{Navbox
|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]] · [[Express Elevator]] · [[Service Elevator]]
|group2=Stairs
|groupicon2=stairs
|grouplink2=Stairs
|list2=[[Stairs]] · [[Escalator]]
|group3=Other
|groupicon3=special
|grouplink3=Other
|list3=[[Paternoster]]}}
|group3=Architecture
|groupicon3=architecture
|grouplink3=Architecture
|list3={{#tag:dpl|
|list3={{#tag:dpl|
category=Architecture
category=Hotels
namespace=0
namespace=0
ordermethod=title
ordermethod=title
Line 145: Line 48:
suppresserrors=true
suppresserrors=true
}}
}}
|group4=Maps
|group4=Residential
|groupicon4=special
|groupicon4=residential
|grouplink4=Maps
|grouplink4=Residential
|list4={{#tag:dpl|
|list4={{#tag:dpl|
category=Maps
category=Residential
namespace=0
namespace=0
ordermethod=title
ordermethod=title
Line 158: Line 61:
suppresserrors=true
suppresserrors=true
}}
}}
|group5=Updates
|group5=Restaurant
|groupicon5=news
|groupicon5=restaurant
|grouplink5=Updates
|grouplink5=Restaurant
|list5={{#tag:dpl|
|list5={{#tag:dpl|
category=Updates
category=Restaurant
namespace=0
namespace=0
ordermethod=title
ordermethod=title
Line 171: Line 74:
suppresserrors=true
suppresserrors=true
}}
}}
|group6=Gameplay
|group6=Shops
|groupicon6=special
|groupicon6=shops
|grouplink6=Game mechanics
|grouplink6=Shops
|list6={{#tag:dpl|
|list6={{#tag:dpl|
category=Game mechanics
category=Shops
namespace=0
namespace=0
ordermethod=title
ordermethod=title
Line 184: Line 87:
suppresserrors=true
suppresserrors=true
}}
}}
|group7=Wiki
|groupicon7=i
|list7=[[Main Page]] · [[Maps]] · [[Updates]]
}}</includeonly>
}}</includeonly>

Revision as of 20:49, 24 September 2026

This template provides a master navigation box for all 2D Tower Wiki categories and content.