Difference between revisions of "Template:Related"

From MCEWiki
Line 1: Line 1:
<div style="border: 1px solid black; float: right"><div style="background: #DDD; text-align: center; font-weight: bold">Related pages:</div>{{#categorytree:{{{1}}}|style=padding-left: 1em; padding-right: 1em|mode=parents|hideroot|depth=1}}{{#categorytree:{{{1}}}|style=padding-left: 1em; padding-right: 1em|mode=pages|showcount|depth=1}}</div><noinclude>
+
<div style="border: 1px solid black; float: right"><div style="background: #DDD; text-align: center; font-weight: bold">Related topics:</div>{{#categorytree:{{{1}}}|style=padding-left: 1em; padding-right: 1em|mode=parents|hideroot|depth=1}}{{#categorytree:{{{1}}}|style=padding-left: 1em; padding-right: 1em|mode=pages|showcount|depth=1}}</div><noinclude>
 
== Documentation ==
 
== Documentation ==
 
This template puts a drop-down category tree on the right side of the page.  To use it, add
 
This template puts a drop-down category tree on the right side of the page.  To use it, add

Revision as of 19:29, 31 August 2016

Related topics:

Documentation

This template puts a drop-down category tree on the right side of the page. To use it, add

{{Related|CATEGORY_NAME}}

at the top of the page. For example:

{{Related|Accessories}}

produces: