Template:Tree/doc

From Hearts of Iron 4 Wiki
Jump to navigation Jump to search
This is the documentation page for Template:Tree.
When it is viewed directly, links using variables may appear broken; do not replace these with hardcoded page names or URLs.

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}}:
⇐ either or ⇒

{{{1}}}

{{{2}}}

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

{{tree/split2xor | colour1=1 |colour2=3 }}:
⇐ either or ⇒

{{{1}}}

{{{2}}}

It is also possible to name the branches.

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


Left branch
Right branch
⇐ either or ⇒

{{{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.