Wiki

Template:Navbox All: Difference between revisions

From 2D Tower Wiki
This page was last edited on 6 October 2026, at 18:11.
Gary (talk | contribs)
Set a readable group-label minimum and wrap shrinking nested lists
Gary (talk | contribs)
Stack nested navigation labels and lists when article columns are narrow
Line 2: Line 2:
|name=Navbox All
|name=Navbox All
|title=2D Tower Wiki
|title=2D Tower Wiki
|groupstyle=min-width:5.5rem;overflow-wrap:anywhere
|groupstyle=min-width:6.5rem;overflow-wrap:anywhere
|liststyle=min-width:0;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 11: 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
|groupstyle=min-width:5.5rem;overflow-wrap:anywhere
|groupstyle=min-width:6.5rem;overflow-wrap:anywhere
|liststyle=min-width:0;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
|group1=Tower basics
|groupicon1=special
|groupicon1=special
Line 33: Line 37:
|groupicon2=facilities
|groupicon2=facilities
|grouplink2=Rooms
|grouplink2=Rooms
|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:5.5rem;overflow-wrap:anywhere|liststyle=min-width:0;overflow-wrap:anywhere}}
|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}}
|group3=Transports
|group3=Transports
|groupicon3=elevator
|groupicon3=elevator
|grouplink3=Transports
|grouplink3=Transports
|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:5.5rem;overflow-wrap:anywhere|liststyle=min-width:0;overflow-wrap:anywhere}}
|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}}
|group4=Architecture
|group4=Architecture
|groupicon4=architecture
|groupicon4=architecture
Line 52: Line 56:
|group7=Player's Guide
|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|groupstyle=min-width:5.5rem;overflow-wrap:anywhere|liststyle=min-width:0;overflow-wrap:anywhere}}
|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|groupstyle=min-width:5.5rem;overflow-wrap:anywhere|liststyle=min-width:0;overflow-wrap:anywhere}}
|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>

Revision as of 18:11, 6 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.