Template:Paragraph Sub Location: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
give message if subpage category missing
Line 10: Line 10:


==Sub-location Block==
==Sub-location Block==
This template detects when an area has Sub-Locations associated with it & produces a section with a link to the locations.
This template detects when an location has pages in the particular category Sub-Location-<Area> and produces a section with a link to the locations, else display an error message.


==Usage==
==Usage==

Revision as of 14:50, 13 December 2019

No pages in Category:Sub-Location of Paragraph Sub Location and category doesn't exist; create category or remove Template:Paragraph Sub Location.

Sub-location Block

This template detects when an location has pages in the particular category Sub-Location-<Area> and produces a section with a link to the locations, else display an error message.

Usage

Place the following text on the location page.

{{Paragraph Sub Location}}

See also