Template:Category tree both

维基百科,自由的百科全书

这是Template:Category tree both当前版本,由RalfX留言 | 贡献编辑于2015年1月14日 (三) 10:46 建立内容为“{{category tree all|mode=parents|alignright=yes|{{{1|{{PAGENAME}}}}}}} {{category tree all|{{{1|{{PAGENAME}}}}}}}<noinclude> {{template doc}}</noinc...”的新页面)。这个网址是本页该版本的固定链接。

(差异) ←上一修订 | 最后版本 (差异) | 下一修订→ (差异)
請點選「►」來展開所有母分類
找不到分類Category tree both
請點選「►」來展開所有子分類
找不到分類Category tree both
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

This navigation template displays two showable lists: subcategories at the left and parent categories at the right.

參數及使用方法[编辑]

  • namespace = category
  • placement = lower, just above categories
  • usage-notes = This template takes one unnamed optional parameter (1). By default parameter 1 is "{{PAGENAME}}", which expands to the current page.

Syntax

  • Parameter 1 = optional (default is name of the category page it is placed on), name of root category for both trees. By default the name of the category page it is placed on is used. For example {{Category tree both|Astronomy}} will make the browser render the template as two boxes, the left side showing subcategories of Astronomy, the right showing parents of Astronomy.

參見[编辑]