Wiki

Template:Navbox Rooms: Difference between revisions

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

Latest revision as of 18:10, 6 October 2026

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