Wiki

Template:Navbox Rooms: Difference between revisions

From 2D Tower Wiki
This page was last edited on 6 October 2026, at 18:10.
Gary (talk | contribs)
Group room navbox by category
Gary (talk | contribs)
Allow scoped wrapping rows for narrow embedded navigation
 
(11 intermediate revisions by 2 users not shown)
Line 3: Line 3:
</noinclude><includeonly>{{Navbox
</noinclude><includeonly>{{Navbox
|name=Navbox Rooms
|name=Navbox Rooms
|title=Rooms
|title={{{title|[[:Category:Rooms|Rooms]]}}}
|border={{{border|}}}
|bodystyle={{{bodystyle|}}}
|innerstyle={{{innerstyle|}}}
|groupstyle={{{groupstyle|}}}
|liststyle={{{liststyle|}}}
|oddstyle={{{oddstyle|}}}
|evenstyle={{{evenstyle|}}}
|group1=Facilities
|group1=Facilities
|list1={{#tag:DynamicPageList|
|groupicon1=facilities
category=Facilities
|grouplink1=Facilities
|namespace=0
|list1={{Category list|Facilities|mode=inline}}
|ordermethod=title
|order=ascending
|mode=inline
|inlinetext=&#160;·&#160;
|shownamespace=no
|suppresserrors=true
}}
|group2=Hotels
|group2=Hotels
|list2={{#tag:DynamicPageList|
|groupicon2=hotel
category=Hotels
|grouplink2=Hotels
|namespace=0
|list2={{Category list|Hotels|mode=inline}}
|ordermethod=title
|order=ascending
|mode=inline
|inlinetext=&#160;·&#160;
|shownamespace=no
|suppresserrors=true
}}
|group3=Residential
|group3=Residential
|list3={{#tag:DynamicPageList|
|groupicon3=residential
category=Residential
|grouplink3=Residential
|namespace=0
|list3={{Category list|Residential|mode=inline}}
|ordermethod=title
|order=ascending
|mode=inline
|inlinetext=&#160;·&#160;
|shownamespace=no
|suppresserrors=true
}}
|group4=Restaurant
|group4=Restaurant
|list4={{#tag:DynamicPageList|
|groupicon4=restaurant
category=Restaurant
|grouplink4=Restaurant
|namespace=0
|list4={{Category list|Restaurant|mode=inline}}
|ordermethod=title
|order=ascending
|mode=inline
|inlinetext=&#160;·&#160;
|shownamespace=no
|suppresserrors=true
}}
|group5=Shops
|group5=Shops
|list5={{#tag:DynamicPageList|
|groupicon5=shops
category=Shops
|grouplink5=Shops
|namespace=0
|list5={{Category list|Shops|mode=inline}}
|ordermethod=title
|order=ascending
|mode=inline
|inlinetext=&#160;·&#160;
|shownamespace=no
|suppresserrors=true
}}
|group6=Special
|group6=Special
|list6={{#tag:DynamicPageList|
|groupicon6=special
category=Special
|grouplink6=Special
|namespace=0
|list6={{Category list|Special|mode=inline}}
|ordermethod=title
|group7=Decoration
|order=ascending
|groupicon7=decor1
|mode=inline
|grouplink7=Decoration
|inlinetext=&#160;·&#160;
|list7={{Category list|Decoration|mode=inline}}
|shownamespace=no
|group8=Office
|suppresserrors=true
|groupicon8=office
}}
|grouplink8=Office
|list8={{Category list|Office|mode=inline}}
}}</includeonly>
}}</includeonly>

Latest revision as of 18:10, 6 October 2026

This template displays a navigation box grouping all room pages by category.