Template:Paragraph Sub Location: Difference between revisions
Jump to navigation
Jump to search
→Sub-location Block: expand |
actually pages can be in category that doesn't exist |
||
Line 5: | Line 5: | ||
[[:Category:Sub-Location of {{PAGENAME}}|Sub-Locations of {{PAGENAME}}]] | [[:Category:Sub-Location of {{PAGENAME}}|Sub-Locations of {{PAGENAME}}]] | ||
| | | | ||
<span style="color:darkred"> | <span style="color:darkred">The category '[[:Category:Sub-Location of {{PAGENAME}}]]' does not exist; create category or remove [[Template:Paragraph Sub Location]].</span> | ||
}}<!-- | }}<!-- | ||
</includeonly> --><noinclude> | </includeonly> --><noinclude> | ||
Line 13: | Line 13: | ||
==Usage== | ==Usage== | ||
Place the following text on the location page. | Place the following text on the location page. Note the sub heading ==Sub-Locations== is added as part of the template. | ||
<pre>{{Paragraph Sub Location}} | <pre>{{Paragraph Sub Location}} |
Latest revision as of 00:01, 14 December 2019
The category 'Category:Sub-Location of Paragraph Sub Location' does not 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. Note the sub heading ==Sub-Locations== is added as part of the template.
{{Paragraph Sub Location}}