Template:Familytree/element: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
No edit summary |
Bongolium500 (talk | contribs) No edit summary |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
{{#ifexpr: {{#len:{{{1}}}}} <= 1 | | {{#ifexpr: {{#len:{{{1}}}}} <= 1 | | ||
<!-- -->{{#ifeq: {{{1}}}|_|</tr><tr>| | <!-- -->{{#ifeq: {{{1}}}|_|</tr><tr>| | ||
<!-- --><td | <!-- --><td class="family-tree-table-cell"> | ||
<!-- --><table | <!-- --><table class="family-tree-line-table"><tr> | ||
<!-- --><td | <!-- --><td class="family-tree-line | ||
<!-- -->{{#switch: {{{1}}} <!-- top line --> | <!-- -->{{#switch: {{{1}}} <!-- top line --> | ||
<!-- -->|)|+|(|`|^|'|!= | <!-- -->|)|+|(|`|^|'|!=family-tree-line-solid-right | ||
<!-- -->|D|%|C|L|A|J|:= | <!-- -->|D|%|C|L|A|J|:=family-tree-line-dashed-right | ||
<!-- -->|]|#|[|c|h|j|!= | <!-- -->|]|#|[|c|h|j|!=family-tree-line-solid-right | ||
<!-- -->|}|*|{|b|t|d|:= | <!-- -->|}|*|{|b|t|d|:=family-tree-line-dashed-right | ||
<!-- -->|}} | <!-- -->|}} | ||
<!-- -->{{#switch: {{{1}}} <!-- left line --> | <!-- -->{{#switch: {{{1}}} <!-- left line --> | ||
<!-- -->|v|.|+|(|^|'|-= | <!-- -->|v|.|+|(|^|'|-=family-tree-line-solid-bottom | ||
<!-- -->|V|7|%|C|A|J|~= | <!-- -->|V|7|%|C|A|J|~=family-tree-line-dashed-bottom | ||
<!-- -->|y|n|#|[|h|j|~= | <!-- -->|y|n|#|[|h|j|~=family-tree-line-dashed-bottom | ||
<!-- -->|u|q|*|{|t|d|-= | <!-- -->|u|q|*|{|t|d|-=family-tree-line-solid-bottom | ||
<!-- -->|}}"> </td> | <!-- -->|}}"> </td> | ||
<!-- --><td | <!-- --><td class="family-tree-line | ||
<!-- -->{{#switch: {{{1}}} <!-- right line --> | <!-- -->{{#switch: {{{1}}} <!-- right line --> | ||
<!-- -->|,|v|)|+|`|^|-= | <!-- -->|,|v|)|+|`|^|-=family-tree-line-solid-bottom | ||
<!-- -->|F|V|D|%|L|A|~= | <!-- -->|F|V|D|%|L|A|~=family-tree-line-dashed-bottom | ||
<!-- -->|r|y|]|#|c|h|~= | <!-- -->|r|y|]|#|c|h|~=family-tree-line-dashed-bottom | ||
<!-- -->|p|u|}|*|b|t|-= | <!-- -->|p|u|}|*|b|t|-=family-tree-line-solid-bottom | ||
<!-- -->|}}"> </td> | <!-- -->|}}"> </td> | ||
<!-- --></tr><tr> | <!-- --></tr><tr> | ||
<!-- --><td | <!-- --><td class="family-tree-line | ||
<!-- -->{{#switch: {{{1}}} <!-- bottom line --> | <!-- -->{{#switch: {{{1}}} <!-- bottom line --> | ||
<!-- -->|,|v|.|)|(|+|!= | <!-- -->|,|v|.|)|(|+|!=family-tree-line-solid-right | ||
<!-- -->|F|V|7|D|C|%|:= | <!-- -->|F|V|7|D|C|%|:=family-tree-line-dashed-right | ||
<!-- -->|r|y|n|]|[|#|!= | <!-- -->|r|y|n|]|[|#|!=family-tree-line-solid-right | ||
<!-- -->|p|u|q|}|{|*|:= | <!-- -->|p|u|q|}|{|*|:=family-tree-line-dashed-right | ||
<!-- -->|}}"> </td> | <!-- -->|}}"> </td> | ||
<!-- --><td | <!-- --><td class="family-tree-line"> </td> | ||
<!-- --></tr></table> | <!-- --></tr></table> | ||
<!-- --></td> | <!-- --></td> | ||
<!-- -->}} | <!-- -->}} | ||
| <!-- multi-character params --> | | <!-- multi-character params --> | ||
<!-- --><td | <!-- --><td class="family-tree-element" colspan="3">{{{1}}}</td> | ||
}} | }} | ||
</includeonly><noinclude>{{documentation}}</noinclude> | </includeonly><noinclude>{{documentation}}[[Category:Genealogy templates]]</noinclude> |
Latest revision as of 20:32, 4 June 2023
Instructions for {{Familytree/element}}
This is a main element in the Template:Familytree template.
The only parameter is the char to convert. These can be seen at Template:Familytree/doc.