Template:Navbox Rooms: Difference between revisions
From 2D Tower Wiki
This page was last edited on 7 September 2026, at 08:52.
Fix category navigation formatting Tag: Manual revert |
Group room navbox by category |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This template displays a navigation box | This template displays a navigation box grouping all room pages by category. | ||
</noinclude><includeonly>{{Navbox | </noinclude><includeonly>{{Navbox | ||
|name=Navbox Rooms | |name=Navbox Rooms | ||
|title=Rooms | |title=Rooms | ||
|group1=Facilities | |||
|list1={{#tag:DynamicPageList| | |list1={{#tag:DynamicPageList| | ||
category= | category=Facilities | ||
|namespace=0 | |namespace=0 | ||
|ordermethod=title | |ordermethod=title | ||
|order=ascending | |order=ascending | ||
|mode= | |mode=inline | ||
|inlinetext= ·  | |||
|shownamespace=no | |||
|suppresserrors=true | |||
}} | |||
|group2=Hotels | |||
|list2={{#tag:DynamicPageList| | |||
category=Hotels | |||
|namespace=0 | |||
|ordermethod=title | |||
|order=ascending | |||
|mode=inline | |||
|inlinetext= ·  | |||
|shownamespace=no | |||
|suppresserrors=true | |||
}} | |||
|group3=Residential | |||
|list3={{#tag:DynamicPageList| | |||
category=Residential | |||
|namespace=0 | |||
|ordermethod=title | |||
|order=ascending | |||
|mode=inline | |||
|inlinetext= ·  | |||
|shownamespace=no | |||
|suppresserrors=true | |||
}} | |||
|group4=Restaurant | |||
|list4={{#tag:DynamicPageList| | |||
category=Restaurant | |||
|namespace=0 | |||
|ordermethod=title | |||
|order=ascending | |||
|mode=inline | |||
|inlinetext= ·  | |||
|shownamespace=no | |||
|suppresserrors=true | |||
}} | |||
|group5=Shops | |||
|list5={{#tag:DynamicPageList| | |||
category=Shops | |||
|namespace=0 | |||
|ordermethod=title | |||
|order=ascending | |||
|mode=inline | |||
|inlinetext= ·  | |||
|shownamespace=no | |||
|suppresserrors=true | |||
}} | |||
|group6=Special | |||
|list6={{#tag:DynamicPageList| | |||
category=Special | |||
|namespace=0 | |||
|ordermethod=title | |||
|order=ascending | |||
|mode=inline | |||
|inlinetext= ·  | |||
|shownamespace=no | |shownamespace=no | ||
|suppresserrors=true | |suppresserrors=true | ||
}} | }} | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 08:52, 7 September 2026
This template displays a navigation box grouping all room pages by category.