Template:Tree/doc

< Template:Tree
Hstar讨论 | 贡献2020年8月15日 (六) 18:42的版本 (merge from offical wiki)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
这是Template:Tree的模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。

This template is to display the doctrine trees. The following elements are available:

startbox
{{tree/startbox}}:

{{{1}}}

1box
{{tree/1box}}:

{{{1}}}

split2
{{tree/split2}}:

{{{1}}}

{{{2}}}

split2xor
{{tree/split2xor}}:
⇐  二选一  ⇒

{{{1}}}

{{{2}}}

There is the possibility to illustrate the exclusivity of the branches by colours.

{{tree/split2xor | colour1=1 |colour2=3 }}:
⇐  二选一  ⇒

{{{1}}}

{{{2}}}

It is also possible to name the branches.

{{tree/split2xor | left= Left branch | right= Right branch }}:


Left branch
Right branch
⇐  二选一  ⇒

{{{1}}}

{{{2}}}

2boxes
{{/tree/2boxes}}:

{{{1}}}

{{{2}}}

There is the possibility to illustrate the exclusivity of the branches by colours.

{{tree/2boxes | colour1=2 |colour2=1 }}:

{{{1}}}

{{{2}}}

Unite2
{{tree/unite2}}:

{{{1}}}

Split3
{{tree/split3}}:

{{{1}}}

{{{2}}}

{{{3}}}

3boxes
{{tree/3boxes}}:

{{{1}}}

{{{2}}}

{{{3}}}

Unite3
{{tree/unite3}}:

{{{1}}}

Use the {{Techcell}} template to fill the boxes.