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 Gameplay row and category link
m Link directly to the sentence-case Main page title after its move.
 
(19 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
|group1=Categories
|groupstyle=min-width:6.5rem;overflow-wrap:anywhere
|groupicon1=architecture
|liststyle=min-width:0;overflow-wrap:anywhere;flex:1 1 16rem
|list1=[[:Category:Rooms|Rooms]]&#160;·&#160;[[:Category:Facilities|Facilities]]&#160;·&#160;[[:Category:Hotels|Hotels]]&#160;·&#160;[[:Category:Residential|Residential]]&#160;·&#160;[[:Category:Restaurant|Restaurant]]&#160;·&#160;[[:Category:Shops|Shops]]&#160;·&#160;[[:Category:Special|Special]]&#160;·&#160;[[:Category:Decoration|Decoration]]&#160;·&#160;[[:Category:Office|Office]]&#160;·&#160;[[:Category:Transports|Transports]]&#160;·&#160;[[:Category:Elevators|Elevators]]&#160;·&#160;[[:Category:Stairs|Stairs]]&#160;·&#160;[[:Category:Other|Other]]&#160;·&#160;[[:Category:Architecture|Architecture]]&#160;·&#160;[[:Category:Wallpaper|Wallpaper]]&#160;·&#160;[[:Category:Wallpapers|Wallpapers]]&#160;·&#160;[[:Category:Maps|Maps]]&#160;·&#160;[[:Category:Updates|Updates]]&#160;·&#160;[[:Category:Game mechanics|Gameplay]]
|oddstyle=flex-wrap:wrap
|evenstyle=flex-wrap:wrap
|group1=Gameplay
|groupicon1=special
|grouplink1=Game mechanics
|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
|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=Tower basics
|groupicon1=special
|grouplink1=Tower basics
|list1={{Category list|Tower basics|mode=inline}}
|group2=Tenants and demand
|groupicon2=residential
|grouplink2=Tenants and demand
|list2={{Category list|Tenants and demand|mode=inline}}
|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={{#tag:dpl|
|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}}
category=Rooms
namespace=0
ordermethod=title
order=ascending
mode=inline
inlinetext=&#160;·&#160;
shownamespace=no
suppresserrors=true
}}
|group3=Transports
|group3=Transports
|groupicon3=elevator
|groupicon3=elevator
|grouplink3=Transports
|grouplink3=Transports
|list3={{#tag:dpl|
|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}}
category=Transports
namespace=0
ordermethod=title
order=ascending
mode=inline
inlinetext=&#160;·&#160;
shownamespace=no
suppresserrors=true
}}
|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
}}
|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
}}
|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
|grouplink7=Guides
ordermethod=title
|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}}
order=ascending
|group8=Modding
mode=inline
|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}}
inlinetext=&#160;·&#160;
shownamespace=no
suppresserrors=true
}}
|group7=Gameplay
|groupicon7=special
|grouplink7=Game mechanics
|list7={{#tag:dpl|
category=Game mechanics
namespace=0
ordermethod=title
order=ascending
mode=inline
inlinetext=&#160;·&#160;
shownamespace=no
suppresserrors=true
}}
|group8=Wiki
|groupicon8=i
|list8=[[Main Page]]&#160;·&#160;[[Maps]]&#160;·&#160;[[Updates]]
}}</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.