Template:CatSubLink: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<div id="contentSub" class="plainlinks"><span class="subpages">&lt; [{{fullurl:{{#titleparts: {{FULLPAGENAME}} | -1 }}}} Category:{{BASEPAGENAME:{{BASEPAGENAME}}}}]</span></div>
<includeonly><div id="contentSub" class="plainlinks"><span class="subpages">&lt; [{{fullurl:{{#titleparts: {{FULLPAGENAME}} | -1 }}}}]</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 (top parent), 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>

Revision as of 18:05, 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 (top parent), the same way that sub-pages do to their parent automatically.

{{CatSubLink}}
  • The code above can be pasted into sub-category at the top.