Template:CatSubLink: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) mNo edit summary |
CptTwinkie (talk | contribs) m (Protected "Template:CatSubLink" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div id="contentSub" class="plainlinks"><span class="subpages">< [{{fullurl:{{#titleparts: {{FULLPAGENAME}} | -1 }}}} {{BASEPAGENAME:{{BASEPAGENAME}}}}]</span></div> | <includeonly><div id="contentSub" class="plainlinks"><span class="subpages">< [{{fullurl:{{#titleparts: {{FULLPAGENAME}} | -1 }}}} Category:{{BASEPAGENAME:{{BASEPAGENAME}}}}]</span></div></includeonly><noinclude><!-- | ||
-->==Usage== | |||
The CatSubLink template is used only at the top of sub-categories. It creates a link back to the parent category, the same way that sub-pages do to their parent automatically. | |||
<pre>{{CatSubLink}}</pre> | |||
*The code above can be pasted into sub-category at the top. | |||
[[Category:Templates/Formatting]]</noinclude> |
Latest revision as of 18:07, 19 January 2018
Usage
The CatSubLink template is used only at the top of sub-categories. It creates a link back to the parent category, the same way that sub-pages do to their parent automatically.
{{CatSubLink}}
- The code above can be pasted into sub-category at the top.