Template:Paragraph Sub Location: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
test
give message if subpage category missing
Line 1: Line 1:
<includeonly>
<!-- <includeonly> -->
{{#ifexist:Category:Sub-Location of {{PAGENAME}}
{{#ifexist:Category:Sub-Location of {{PAGENAME}}
| ==Sub-Locations==
| ==Sub-Locations==
Line 5: Line 5:
[[:Category:Sub-Location of {{PAGENAME}}|Sub-Locations of {{PAGENAME}}]]
[[:Category:Sub-Location of {{PAGENAME}}|Sub-Locations of {{PAGENAME}}]]
|
|
No sub locations
<span style="color:darkred">No pages in [[:Category:Sub-Location of {{PAGENAME}}]] and category doesn't exist; create category or remove [[Template:Paragraph Sub Location]].</span>
|
}}<!--
}}
</includeonly> --><noinclude>
</includeonly>
 
<noinclude>
==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 area has Sub-Locations associated with it & produces a section with a link to the locations.
Line 19: Line 18:
</pre>
</pre>


{{also|Nottinghack Wiki:Boilerplate for locations}}
==See also==
* [[Nottinghack Wiki:Boilerplate for locations]]
* [[:Category:Sub-Location]]
 
[[Category:Templates auto paragraph]]
[[Category:Templates auto paragraph]]
</noinclude>
</noinclude>

Revision as of 14:44, 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 area has Sub-Locations associated with it & produces a section with a link to the locations.

Usage

Place the following text on the location page.

{{Paragraph Sub Location}}

See also