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= | + | <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> |
+ | == 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: | ||
+ | {{Related|Accessories}} | ||
+ | </noinclude> |
Revision as of 18:20, 31 August 2016
Related pages:
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:
Related topics:
► Hardware