Editor-In-Chief: C. Michael Gibson, M.S., M.D. [1]
Overview
An algorithm is a schematic drawing that helps organizing step by step approaches in a visually simplified way. An algorithm is formed by a set of boxes and lines that join them.
Create an Algorithm
Introduction
- To begin an algorithm, you should start with the following code {{family tree/start}} and end it with {{family tree/end}}.
- You can name an algorithm by starting with following: {{family tree/summary= Name of the algorithm}}
- The algorithm consists of boxes that occupy virtual rows:
| | | Box 1 in Row 1 | | | |
| | | | | | Box 2 in Row 2 | | | |
Box 3 in Row 3 | | | | | | | Box 4 in Row 3 |
- Each row is represented by the following where each | | represents a space.:
{{Family tree | | | | | | | | | }}
- Each box is represented by the content that fills the space in | |, for example | A01 | will give:
- In order to link the boxes you need to use symbols. The basic symbols that you will most commonly use are the following:
- ! will link two boxes placed vertically on top of each other
- - will link two boxes placed horizontally next to each other
- ^ will link bifurcate a line arising from a box into two branches.
Algorithm Basics
Linking cells horizontally:
|
You type:
{{Family tree/start}} {{Family tree | | | | A01 |-| A02 | |A01= Box 1 in Row 1| A02= Box in Row 1}} {{Family tree/end}}
|
You get:
| | | Box 1 in Row 1 | | Box in Row 1 | | |
|
You type:
{{Family tree/start}} {{Family tree | | | | A01 |-|-|-| A02 | |A01= Box 1 in Row 1| A02= Box in Row 1}} {{Family tree/end}}
|
You get:
| | | Box 1 in Row 1 | | | | Box in Row 1 | | | | |
|
You type:
{{Family tree/start}} {{Family tree | | | | A01 |~| A02 | |A01= Box 1 in Row 1| A02= Box in Row 1}} {{Family tree/end}}
|
You get:
| | | Box 1 in Row 1 | | Box in Row 1 | | |
|
You type:
{{Family tree/start}} {{Family tree | | | | A01 |~|~|~| A02 | |A01= Box 1 in Row 1| A02= Box in Row 1}} {{Family tree/end}}
|
You get:
| | | Box 1 in Row 1 | | | | Box in Row 1 | | | | |
|
Linking cells vertically:
|
You type:
{{Family tree/start}} {{Family tree | | | | A01 | | | |A01= Box 1 in Row 1}} {{Family tree | | | | |!| | | | | }} {{Family tree | | | | B01 | | | |B01= Box 2 in Row 2}} {{Family tree/end}}
|
You get:
| | | Box 1 in Row 1 | | | |
| | | | | | | | | | |
| | | Box 2 in Row 2 | | | |
|
You type:
{{Family tree/start}} {{Family tree | | | | A01 | | | |A01= Box 1 in Row 1}} {{Family tree | | | | |!| | | | | }} {{Family tree | | | | |!| | | | | }} {{Family tree | | | | |!| | | | | }} {{Family tree | | | | B01 | | | |B01= Box 2 in Row 2}} {{Family tree/end}}
|
You get:
| | | Box 1 in Row 1 | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | Box 2 in Row 2 | | | |
|
You type:
{{Family tree/start}} {{Family tree | | | | A01 | | | |A01= Box 1 in Row 1}} {{Family tree | | | | |:| | | | | }} {{Family tree | | | | B01 | | | |B01= Box 2 in Row 2}} {{Family tree/end}}
|
You get:
| | | Box 1 in Row 1 | | | |
| | | | | | | | | | |
| | | Box 2 in Row 2 | | | |
|
You type:
{{Family tree/start}} {{Family tree | | | | A01 | | | |A01= Box 1 in Row 1}} {{Family tree | | | | |:| | | | | }} {{Family tree | | | | |:| | | | | }} {{Family tree | | | | |:| | | | | }} {{Family tree | | | | B01 | | | |B01= Box 2 in Row 2}} {{Family tree/end}}
|
You get:
| | | Box 1 in Row 1 | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | Box 2 in Row 2 | | | |
|
More
|
You type:
|
You get:
|
You type:
|
You get:
|
You type:
|
You get:
|
Putting it together:
|
You type:
{{Family tree/start}} {{Family tree | | | | A01 | | | |A01= Box 1 in Row 1}} {{Family tree | | | | |!| | | | | }} {{Family tree | | | | B01 | | | |B01= Box 2 in Row 2}} {{Family tree | |,|-|-|^|-|-|.| | }} {{Family tree | C01 | | | | C02 |C01= Box 3 in Row 3| C02= Box 4 in Row 4}} {{Family tree/end}}
|
You get:
| | | Box 1 in Row 1 | | | | |
| | | | | | | | | | |
| | | Box 2 in Row 2 | | | | |
| | | | | | | | | | | | | | | | | | | | |
Box 3 in Row 3 | | | | Box 4 in Row 4 | |
|
Advanced Algorithms
Please find below an image that summarizes the symbols used in creating algorithms.
Samples
Sample 1
|
You type:
{{familytree/start |summary=Sample 1}} {{familytree | | | | | | | | A01 |A01=A01}} {{familytree | | | | |,|-|-|-|^|-|-|-|-|.| | | }} {{familytree | | | B01 | | | | | | | | B02 | | |B01=B01|B02=B02}} {{familytree | | | |!| | | | | | | | | |!| }} {{familytree | | | C01 | | | | | | | | |!| |C01=C01}} {{familytree | |,|-|^|.| | | | | | | | |!| }} {{familytree | D01 | | D02 | | | | | | D03 |D01=D01|D02=D02|D03=D03}} {{familytree | |!| | | | | | | | | |,|-|^|.| }} {{familytree | E01 | | | | | | | E02 | | | E03 |E01=E01|E02=E02|E03=E03}} {{familytree | | | | | | | | | | |!| | | | |!| }} {{familytree | | | | | | | | | | F01 | | | F02 |F01=F01|F02=F02}} {{familytree/end}}
|
You get:
| | | | | | | A01 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | B01 | | | | | | | | B02 | | |
| | | | | | | | | | | | | | | | |
| | C01 | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | |
D01 | | D02 | | | | | | D03 |
| | | | | | | | | | | | | | | | | | | | | | | | |
E01 | | | | | | | E02 | | | E03 |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | F01 | | | F02 |
|
Sample 2
|
You type:
{{familytree/start}}<nowiki>{{familytree | | | | | | | | | A01 | | | | | |A01=A01}} {{familytree | | | | | | | | | |!| | | | | | | | }} {{familytree | | | | | | | | | B01 | | | | | |B01=B01}} {{familytree | | |,|-|-|-|-|-|-|^|-|-|-|-|-|-|.| }} {{familytree | | C01 | | | | | | | | | | | |C02|C01=C01|C02=C02}} {{familytree | | |!| | | | | | | | | | | | | |!| }} {{familytree | | D01 | | | | | | | | | | | |D02|D01=D01'<br>D01''|D02=D02'<br>D02''}} {{familytree | | |!| | | | | | | | | |,|-|-|-|+|-|-|-|-|.|}} {{familytree | | E01 | | | | | | | | E02 | | E03 | | | E04 |E01=E01|E02=E02|E03=E03|E04=E04}} {{familytree | | | | | | | | | | | | |!| | | |!| | | | |!| | }} {{familytree | | | | | | | | | | | | F01 | | F02 | | | F03 |F01=F01|F02=F02|F03=F03}} {{familytree/end}}
|
You get:
| | | | | | | | A01 | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | B01 | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| C01 | | | | | | | | | | | | C02 |
| | | | | | | | | | | | | | | | | | | |
| D01' D01 | | | | | | | | | | | | D02' D02 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| E01 | | | | | | | | E02 | | E03 | | | E04 |
| | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | F01 | | F02 | | | F03 |
|
Sample 3
|
You type:
{{familytree/start}} {{familytree | | | | | | | | | A01 | | | | | |A01=A01}} {{familytree | | | | | | | | | |!| | | | | | | | }} {{familytree | | | | | | | | | B01 | | | | | |B01=B01}} {{familytree | | |,|-|-|-|-|-|-|+|-|-|-|-|-|-|.| }} {{familytree | | C01 | | | | | C02 | | | | | C03 |C01=C01|C02=C02|C03=C03}} {{familytree | | | | | | | | | |!| | | | | | | | }} {{familytree | |,|-|-|-|v|-|-|-|+|-|-|-|v|-|-|-|.| | }} {{familytree | |!| | | |!| | | |!| | | |!| | | |!| | | }} {{familytree | D01 | | D02 | | D03 | | D04 | | D05 |D01=D01|D02=D02|D03=D03|D04=D04|D05=D05}} {{familytree | |!| | | | | | | | | | | | | | | |!| }} {{familytree | E01 | | | | | | | | | | | | | | E02 |E01=E01|E02=E02}} {{familytree/end}}
|
You get:
| | | | | | | | A01 | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | B01 | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| C01 | | | | | C02 | | | | | C03 |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | |
D01 | | D02 | | D03 | | D04 | | D05 |
| | | | | | | | | | | | | | | | | | | | |
E01 | | | | | | | | | | | | | | E02 |
|
Sample 4
|
You type:
{{familytree/start |summary=PE diagnosis Algorithm.}} {{familytree | | | | | | | | | | A01 | | | | |A01=A01}} {{familytree | | | | | | | | | | |!| | | | | | | }} {{familytree | | | | | | | | | | A02 | | | | | |A02=A02}} {{familytree | | | |,|-|-|-|-|-|-|^|-|-|-|-|-|-|-|.| | | | | | }} {{familytree | | | B01 | | | | | | | | | | | | | B02 | | |B01=B01|B02=B02}} {{familytree | | | |!| | | | | | | | | | | | | | |!| | | | }} {{familytree | | | C01 | | | | | | | | | | | | | C02 | | |C01=C01|C02=C02}} {{familytree | |,|-|^|-|.| | | | | | | | | | |,|-|^|-|.| | }} {{familytree | D01 | | D02 | | | | | | | | | D03 | | D04 |D01=D01|D02=D02|D03=D03|D04=D04}} {{familytree | |!| | | |!| | | | | | | | | | |!| | | |!| | }} {{familytree | E01 | | E02 | | | | | | | | | E03 | | |!| |E01=E01|E02=E02|E03=E03}} {{familytree | | | | | |!| | | | | | | | | | |!| | | |!| | | | }} {{familytree | | | | | F01 | | | | | | | | | F02 | | |!| |F01=F01|F02=F02}} {{familytree | | | |,|-|^|-|.| | | | | | |,|-|^|-|.| |!| | }} {{familytree | | | G01 | | G02 | | | | | G03 | | G04 |!| | |G01=G01|G02=G02|G03=G03|G04=G04}} {{familytree | | | |!| | | |!| | | | | | |!| | | |!| |!| | }} {{familytree | | | H01 | | H02 | | | | | |!| | | H03 |'| | | |H01=H01|H02=H02|H03=H03}} {{familytree | | | |!| | | | | | | | | | |!| | | |!| | | | | }} {{familytree | | | I01 | | | | | | | | | |!| | | I02 | | | |I01=I01|I02=I02}} {{familytree | |,|-|^|-|.| | | | | | | | |!| |,|-|^|-|.| | | |}} {{familytree | J01 | | J02 | | | | | | | |!| J03 | | J04 | | | |J01=J01|J02=J02|J03=J03|J04=J04}} {{familytree | |!| | | | | | | | | | | | |!| |!| | | |!| | |}} {{familytree | K01 |-|-|-|-|-|-|-|-|-|-|-|'| |!| | | K02 | |K01=K01|K02=K02}} {{familytree | |!| | | | | | | | | | | | | | |!| | | | | | |}} {{familytree | |`|-|-|-|-|-|-|-|-|-|-|-|-|-|-|'| | | | | | |}} {{familytree/end}}
|
You get:
| | | | | | | | | A01 | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | A02 | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | B01 | | | | | | | | | | | | | B02 | | |
| | | | | | | | | | | | | | | | | | | | | | | | |
| | C01 | | | | | | | | | | | | | C02 | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
D01 | | D02 | | | | | | | | | D03 | | D04 |
| | | | | | | | | | | | | | | | | | | | | | | | | | |
E01 | | E02 | | | | | | | | | E03 | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | F01 | | | | | | | | | F02 | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | G01 | | G02 | | | | | G03 | | G04 | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | H01 | | H02 | | | | | | | | | | H03 | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | |
| | I01 | | | | | | | | | | | | | | I02 | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
J01 | | J02 | | | | | | | | | | J03 | | J04 | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
K01 | | | | | | | | | | | | | | | | | | | K02 | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
|
Sample 5
|
You type:
{{familytree/start |summary=PE diagnosis Algorithm.}}
{{familytree | | | | | | | | | |,|-| A01 |-| A02 | | | |A01= |A02= }}
{{familytree | | | | | | | | | |!| | | | | | | | | | | | | | | | | | }}
{{familytree | | | | | | | | | |)|-| B01 |-| B02 | | | |B01= |B02= }}
{{familytree | | | | | | | | | |!| | | | | | | | | | | | | | | | | | }}
{{familytree | | | | | | C01 |-|+|-| C02 |-| C03 | | | |C01= |C02= |C03= }}
{{familytree | | | | | | | | | |!| | | | | | | | | | | | | | | | | | }}
{{familytree | | | | | | | | | |)|-| D01 |-| D02 | | | |D01= |D02= }}
{{familytree | | | | | | | | | |!| | | | | | | | | | | | | | | | | | }}
{{familytree | | | | | | | | | |`|-| E01 |-| E02 | | | |E01= |E02= }}
{{familytree/end}}
|
You get:
|
Sample 6: Alignment and Bulleting
|
You type:
{{familytree/start |summary=Sample 6}} {{familytree | | | | | | | | A01 |A01=A01}} {{familytree | | | | |,|-|-|-|^|-|-|-|-|.| | | }} {{familytree | | | B01 | | | | | | | | B02 | | |B01=B01|B02=B02}} {{familytree | | | |!| | | | | | | | | |!| }} {{familytree | | | C01 | | | | | | | | |!| |C01=C01}} {{familytree | |,|-|^|-|.| | | | | | | |!| }} {{familytree |boxstyle=text-align: left; | D01 | | D02 | | | | | | D03 |D01=• A<br>• B<br>• C<br>• D|D02=• E<br>• F<br>• G<br>• H|D03=• I<br>• J<br>• K<br>• L}} {{familytree | | | | | | | | | | | |!| | | |!| }} {{familytree | E01 | | | | | | | | E02 | | E03 |E01=E01|E02=E02|E03=E03}} {{familytree | | | | | | | | | | | |!| | | |!| }} {{familytree | | | | | | | | | | | F01 | | F02 |F01=F01|F02=F02}} {{familytree/end}}
|
You get:
| | | | | | | A01 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | B01 | | | | | | | | B02 | | |
| | | | | | | | | | | | | | | | |
| | C01 | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | |
• A • B • C • D | | • E • F • G • H | | | | | | • I • J • K • L |
| | | | | | | | | | | | | | | | | | | | | | | | | | |
E01 | | | | | | | | E02 | | E03 |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | F01 | | F02 |
|
Sample 7
|
You type:
{{familytree/start |summary=Sample 7}}
{{Family tree/start}}
{{Family tree | | | | | | | | | | | | | A01 | | | | |A01=A01}}
{{Family tree | | | | | | | | | | | | | |!| | | | | }}
{{Family tree | | | | | | | | | | | | | B01 | | | |B01=B01}}
{{Family tree | | | | | | | | | | |,|-|-|^|-|-|.| | }}
{{Family tree | | | | | | | | | | C01 | | | | C02 |C01=C01|C02=C02}}
{{Family tree | | | | | | | | | | |!| | | | | |!| | }}
{{Family tree | | | | | | | | | | D01 | | | | |!| |D01=D01}}
{{Family tree | | | | | | | | | | |!| | | | | |!| | }}
{{Family tree | | | | | | | |,|-|-|^|-|-|.| | |!| | }}
{{Family tree | | | | | | | E01 | | | | E02 | |!| |E01=E01| E02=E02}}
{{Family tree | | | | | | | |!| | | | | |!| | |!| | }}
{{Family tree | | | | | | | F01 | | | | |!| | |!| |F01=F01}}
{{Family tree | | | | | |,|-|^|-|.| | | |!| | |!| | }}
{{Family tree | | | | | G01 | | G02 | | |!| | |!| |G01=G01| G02=G02}}
{{Family tree | | | | | |!| | | |!| | | |!| | |!| | }}
{{Family tree | | | | | H01 | | |!| | | |!| | |!| |H01=H01}}
{{Family tree | | | |,|-|^|-|.| |!| | | |!| | |!| | }}
{{Family tree | | | I01 | | I02 |!| | | |!| | |!| |I01=I01| I02=I02}}
{{Family tree | | | |!| | | |!| |!| | | |!| | |!| | }}
{{Family tree | | | J01 | | |!| |!| | | |!| | |!| |J01=J01}}
{{Family tree | |,|-|^|-|.| |!| |!| | | |!| | |!| | }}
{{Family tree | K01 | | K02 |!| |!| | | |!| | |!| |K01=K01| K02=K02}}
{{Family tree | |!| | | |!| |!| |!| | | |!| | |!| | }}
{{Family tree | L01 | | L02 |`| L03 |-|-|^|-|-|'| |L01=L01| L02=L02| L03=L03}}
{{Family tree/end}}
|
You get:
| | | | | | | | | | | | A01 | | | | |
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | B01 | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | C01 | | | | C02 |
| | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | D01 | | | | | | | |
| | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | E01 | | | | E02 | | | | |
| | | | | | | | | | | | | | | | | | | | | |
| | | | | | F01 | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | G01 | | G02 | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | |
| | | | H01 | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | I01 | | I02 | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | |
| | J01 | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
K01 | | K02 | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | |
L01 | | L02 | | | L03 | | | | | | | | | | | | | | | | |
|
Sample 8
|
You type:
{{familytree/start |summary=Sample 8}}{{familytree/start |summary=PE diagnosis Algorithm.}}
{{familytree/start}}
{{familytree | | | | | | | | | | | | | | A01 | | |A01=A01}}
{{familytree | | | | | | | | | | B01 |-|.|!|,|-| B02 | | | | | | | |B01=B01|B02=B02}}
{{familytree | | | | | | C01 |-|-|-|-|-| C02 |-|-|-|-|-| C03 | | | |C01=C01|C02=C02|C03=C03}}
{{familytree | | | | | | | | | | D01 |-|'|!|`|-| D02 | | | | | | | |D01=D01|D02=D02}}
{{familytree | | | | | | | | | | | | | | E01 | | | | | | | | | | | |E01=E01}}
{{familytree | | | | | | | | | | | | | | | | | | | | | | | | | | | |}}
{{familytree/end}}
|
You get:
| | | | | | | | | | | | | A01 | | |
| | | | | | | | | B01 | | | | | | | | | B02 | | | | | | | | | | | | |
| | | | | C01 | | | | | | C02 | | | | | | C03 | | | | | | | | | | | | | |
| | | | | | | | | D01 | | | | | | | | | D02 | | | | | | | | | | | |
| | | | | | | | | | | | | E01 | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
|
Sample 9
|
You type:
{{familytree/start |summary=Sample 9}}{{familytree/start |summary=PE diagnosis Algorithm.}}
{{familytree/start}}
{{familytree | | | | | | | | | | | | | | A01 | | |A01= '''Table'''<br>
<table class="wikitable">
<tr class="v-firstrow"><th>'''A '''</th><th>'''B'''</th><th>'''C'''</th><th>'''D'''</th><th>'''E'''</th></tr>
<tr><td>'''a'''</td><td>a1</td><td>a2</td><td>a3</td><td>a4</td></tr>
<tr><td>'''b'''</td><td>b1</td><td>b2</td><td>b3</td><td>b4</td></tr>
<tr><td>'''c'''</td><td>c1</td><td>c2</td><td>c3</td><td>c4</td></tr>
<tr><td>'''d'''</td><td>d1</td><td>d2</td><td>d3</td><td>d4</td></tr>
</table>}}
{{familytree | | | | | | | | | | |,|-|-|-|^|-|-|-|.| | | }}
{{familytree | | | | | | | | | | B01 | | | | | | B02 | | |B01=B01|B02=B02}}
{{familytree/end}}
|
You get:
| | | | | | | | | | | | | Table
A | B | C | D | E |
a | a1 | a2 | a3 | a4 |
b | b1 | b2 | b3 | b4 |
c | c1 | c2 | c3 | c4 |
d | d1 | d2 | d3 | d4 |
| | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | B01 | | | | | | B02 | | |
|
Sample 10
|
You type:
{{familytree/start |summary=Sample 10}}{{familytree/start |summary=PE diagnosis Algorithm.}}
{{Family tree/start}}
{{familytree | | | | | B01 | | | | | B01=<div style="float: left; text-align: left; height: 10em; width: 17em; padding:1em;"> '''The items:'''<br>
----
❑ a <br> ❑ b <br> ❑ c <br> ❑ d <br> ❑ e </div>}}
{{familytree | | | | | |!| | | | | |}}
{{familytree | | | | | C01 | | | | | C01=<div style="float: left; text-align: left; height: 16em; width: 17em; padding:1em;"> '''The Factors:'''<br>
----
❑ 1 <br> ❑ 2 <br> ❑ 3 <br> ❑ 4 <br>
----
❑ 5 <br> ❑ 6 <br> ❑ 7 <br> ❑ 8 </div>}}
{{familytree | |,|-|-|-|+|-|-|-|.| |}}
|
You get:
Note: Please note that in sample 10, the width of the boxes are the same, but the height is different.
| | | | The items:
❑ a ❑ b ❑ c ❑ d ❑ e | | | | |
| | | | | | | | | | | | |
| | | | The Factors:
❑ 1 ❑ 2 ❑ 3 ❑ 4
❑ 5 ❑ 6 ❑ 7 ❑ 8 | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | |
Sample 11
|
You type:
{{familytree/start |summary=Sample 11}}{{familytree/start |summary=PE diagnosis Algorithm.}}
{{Family tree/start}}
{{familytree |boxstyle=background: #FA8072; color: #F8F8FF;| | | | | B01 | | | | | B01=<div style="float: left; text-align: left; height: 10em; width: 17em; padding:1em;"> '''The items:'''<br>
----
❑ a <br> ❑ b <br> ❑ c <br> ❑ d <br> ❑ e </div>}}
{{familytree/end}}
<br>
{{familytree/start |summary=Sample 11}}{{familytree/start |summary=PE diagnosis Algorithm.}}
{{Family tree/start}}
{{familytree |boxstyle=background: #FFFF00; color: #F8F8FF;| | | | | B01 | | | | | B01=<div style="float: left; text-align: left; height: 10em; width: 17em; padding:1em;"> '''<span style="color:navy;">The items:</span>'''<br>
----
<span style="color:navy;">❑</span> <span style="color:navy;">a</span> <br> <span style="color:navy;">❑</span> <span style="color:navy;">b</span> <br><span style="color:navy;">❑</span> <span style="color:navy;">c</span> <br><span style="color:navy;">❑</span> <span style="color:navy;">d</span> <br> <span style="color:navy;">❑</span> <span style="color:navy;">e</span> </div>}}
{{familytree/end}}
|
You get:
| | | | The items:
❑ a ❑ b ❑ c ❑ d ❑ e | | | | |
| | | | The items:
❑ a ❑ b ❑ c ❑ d ❑ e | | | | |
|
Sample 12
|
You type:
{{familytree/start |summary=Sample 12}}{{familytree/start |summary=PE diagnosis Algorithm.}}
{{Family tree/start}}
{{Family tree/start}}
{{Family tree | | | | A01 | | | |A01= [[File:COVID-19.jpg|300px]]}}
{{Family tree | | | | |!| | | | | }}
{{Family tree | | | | B01 | | | |B01= Box 2 in Row 2}}
{{Family tree | |,|-|-|^|-|-|.| | }}
{{Family tree | C01 | | | | C02 |C01= Box 3 in Row 3| C02= Box 4 in Row 4}}
{{familytree/end}}
|
You get:
| | | | | | |
| | | | | | | | | | |
| | | Box 2 in Row 2 | | | |
| | | | | | | | | | | | | | | | | | | | |
Box 3 in Row 3 | | | | Box 4 in Row 4 |
Sample 13
|
You type:
{{familytree/start |summary=Sample 13}}{{familytree/start |summary=PE diagnosis Algorithm.}}
{{familytree/start |summary=Sample 13}}
{{familytree | E01 | | E02 | | | E03 | | | E04 | | E05 |E01=E01|E02=E02|E03=E03|E04=E04|E05=E05}}
{{familytree | |!| | | |!| | | | |!| | | | |!| | | |!| | }}
{{familytree | D01 | | D02 | | | D03 | | | D04 | | D05 | |D01=D01|D02=D02||D03=D03|D04=D04|D05=D05}}
{{familytree | |`|-|v|-|'| | | | |!| | | | |`|-|v|-|'| | }}
{{familytree | | | B01 | | | | | B03 | | | | | B02 | | |B01=B01|B03=B03|B02=B02}}
{{familytree | | | |`|-|-|-|-|-|-|+|-|-|-|-|-|-|'|}}
{{familytree | | | | | | | | | | A02 | | | | | |A02=A02}}
{{familytree | | | | | | | | | | |!| | | | | | | }}
{{familytree | | | | | | | | | | A01 | | | | |A01=A01}}
|
You get:
E01 | | E02 | | | E03 | | | E04 | | E05 |
| | | | | | | | | | | | | | | | | | | | | | | | | | |
D01 | | D02 | | | D03 | | | D04 | | D05 | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | B01 | | | | | B03 | | | | | B02 | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | A02 | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | A01 | | | | |
Sample 14
|
You type:
{{familytree/start |summary=Sample 14}}{{familytree/start |summary=PE diagnosis Algorithm.}}
{{familytree/start |summary=Sample 14}}
{{familytree | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A01 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |A01=A01}}
{{familytree | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |!| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | }}
{{familytree | | | | | | | |,|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|+|-|-|-|-|-|-|.| | | | | | | | | | | | | | | | | | | | | | | | | | | | | }}
{{familytree | | | | | | | B01 | | | | | | | | | | | | | | | | | | | | | B02 | | | | | B03 |B01=B01|B02=B02|B03=B03}}
{{familytree | | | | | | | |!| | | | | | | | | | | | | | | | | | | | | | |!| | }}
{{familytree | | | |,|-|-|-|^|-|-|-|.| | | | | | | | | | | | | | | | | | |!| | | | | | | | }}
{{familytree | | | C01 | | | | | | |!| | | | | | | | | | | | | | | | | | C02 | | | | |C01=C01|C02=C02}}
{{familytree | | | | | | | | | | | |!| | |,|-| A01 | | | | | | | | | | | |!| | | | | | | |A01= | }}
{{familytree | | | | | | | | | | | |!| | |!| | | | | | | |,|-|-|-|v|-|-|-|+|-|-|-|v|-|-|-|.}}}}
{{familytree | | | | | | | | | | | |!| | |)|-| B01 | | | |!| | | |!| | | |!| | | |!| | | |!| |B01= | }}
{{familytree | | | | | | | | | | | |!| | |!| | | | | | | D01 | | D02 | | D03 | | D04 | | D05 |D01=D01|D02=D02|D03=D03|D04=D04|D05=D05}}
{{familytree | | | | | | | | | | | C01 |-|+|-| C02 | | | | | | | | | | | |!| | | |C01= |C02= }}
{{familytree | | | | | | | | | | | | | | |!| | | | | | | | | | | | |,|-|-|^|-|-|.}} | | | | | }}
{{familytree | | | | | | | | | | | | | | |)|-| D01 | | | | | | | | E01 | | | | E02 |D01= |E01=E01|E02=E02}}
{{familytree | | | | | | | | | | | | | | |!| | | | | | | | | | | | | | | | | | }}
{{familytree | | | | | | | | | | | | | | |`|-| E01 | | | | |E01= |E02= }}
{{familytree/end}}
|
You get:
}}
| | | | | }}
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | A01 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | B01 | | | | | | | | | | | | | | | | | | | | | B02 | | | | | B03 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | C01 | | | | | | | | | | | | | | | | | | | | | | | | | | C02 | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | D01 | | D02 | | D03 | | D04 | | D05 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | E01 | | | | E02 | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | |
Template:WikiDoc Sources
|
|
|
|