Wiki

Template:Navbox Rooms: Difference between revisions

From 2D Tower Wiki
This page was last edited on 7 September 2026, at 18:36.
Link category pages in room navigation
Render linked room categories with icons
Line 4: Line 4:
|name=Navbox Rooms
|name=Navbox Rooms
|title=Rooms
|title=Rooms
|group1={{Icon|facilities}} [[:Category:Facilities|Facilities]]
|group1={{Icon|facilities}} <a href="/wiki/Category:Facilities">Facilities</a>
|list1={{#tag:dpl|
|list1={{#tag:dpl|
category=Facilities
category=Facilities
Line 15: Line 15:
suppresserrors=true
suppresserrors=true
}}
}}
|group2={{Icon|hotel}} [[:Category:Hotels|Hotels]]
|group2={{Icon|hotel}} <a href="/wiki/Category:Hotels">Hotels</a>
|list2={{#tag:dpl|
|list2={{#tag:dpl|
category=Hotels
category=Hotels
Line 26: Line 26:
suppresserrors=true
suppresserrors=true
}}
}}
|group3={{Icon|residential}} [[:Category:Residential|Residential]]
|group3={{Icon|residential}} <a href="/wiki/Category:Residential">Residential</a>
|list3={{#tag:dpl|
|list3={{#tag:dpl|
category=Residential
category=Residential
Line 37: Line 37:
suppresserrors=true
suppresserrors=true
}}
}}
|group4={{Icon|restaurant}} [[:Category:Restaurant|Restaurant]]
|group4={{Icon|restaurant}} <a href="/wiki/Category:Restaurant">Restaurant</a>
|list4={{#tag:dpl|
|list4={{#tag:dpl|
category=Restaurant
category=Restaurant
Line 48: Line 48:
suppresserrors=true
suppresserrors=true
}}
}}
|group5={{Icon|shops}} [[:Category:Shops|Shops]]
|group5={{Icon|shops}} <a href="/wiki/Category:Shops">Shops</a>
|list5={{#tag:dpl|
|list5={{#tag:dpl|
category=Shops
category=Shops
Line 59: Line 59:
suppresserrors=true
suppresserrors=true
}}
}}
|group6={{Icon|special}} [[:Category:Special|Special]]
|group6={{Icon|special}} <a href="/wiki/Category:Special">Special</a>
|list6={{#tag:dpl|
|list6={{#tag:dpl|
category=Special
category=Special
Line 70: Line 70:
suppresserrors=true
suppresserrors=true
}}
}}
|group7={{Icon|decor1}} [[:Category:Decoration|Decoration]]
|group7={{Icon|decor1}} <a href="/wiki/Category:Decoration">Decoration</a>
|list7={{#tag:dpl|
|list7={{#tag:dpl|
category=Decoration
category=Decoration
Line 81: Line 81:
suppresserrors=true
suppresserrors=true
}}
}}
|group8={{Icon|office}} [[:Category:Office|Office]]
|group8={{Icon|office}} <a href="/wiki/Category:Office">Office</a>
|list8={{#tag:dpl|
|list8={{#tag:dpl|
category=Office
category=Office

Revision as of 18:36, 7 September 2026

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