Template:Paragraph Sub Location: Difference between revisions
Jump to navigation
Jump to search
test |
actually pages can be in category that doesn't exist |
||
(2 intermediate revisions by the same user not shown) | |||
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}}]] | ||
| | | | ||
<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> | |||
==Sub-location Block== | ==Sub-location Block== | ||
This template detects when an | 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== | ||
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}} | ||
</pre> | </pre> | ||
==See also== | |||
* [[Nottinghack Wiki:Boilerplate for locations]] | |||
* [[:Category:Sub-Location]] | |||
[[Category:Templates auto paragraph]] | [[Category:Templates auto paragraph]] | ||
</noinclude> | </noinclude> |
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}}