Difference between revisions of "Template:Ahnentafel-chart/doc"
Jump to navigation
Jump to search
blackwiki>PBS (→Usage) |
blackwiki>PBS (→Examples: top_down example) |
||
| Line 33: | Line 33: | ||
===Examples=== | ===Examples=== | ||
| − | <nowiki>{{chart top|collapsed=no|width=100%| | + | <nowiki>{{chart top|collapsed=no|width=100%|Bottom up (default) third generation family tree (ahnentafel 7)}}</nowiki> |
<nowiki>{{</nowiki>Ahnentafel-chart | <nowiki>{{</nowiki>Ahnentafel-chart | ||
|1=subject | |1=subject | ||
| Line 44: | Line 44: | ||
}} | }} | ||
<nowiki>{{chart bottom}}</nowiki> | <nowiki>{{chart bottom}}</nowiki> | ||
| − | {{chart top|collapsed=no|width=100%| | + | {{chart top|collapsed=no|width=100%|Bottom up (default) third generation family tree (ahnentafel 7)}} |
{{Ahnentafel-chart | {{Ahnentafel-chart | ||
|1=subject | |1=subject | ||
| Line 53: | Line 53: | ||
|6=maternal grandfather | |6=maternal grandfather | ||
|7=maternal mother | |7=maternal mother | ||
| + | }} | ||
| + | {{chart bottom}} | ||
| + | |||
| + | <nowiki>{{chart top|collapsed=no||width=100%|Top down third generation family tree (ahnentafel 7}}</nowiki> | ||
| + | <nowiki>{{</nowiki>Ahnentafel-chart | ||
| + | |top_down=yes | ||
| + | |boxstyle_1=background-color: #bfc; | ||
| + | |boxstyle_2=background-color: #9fe; | ||
| + | |boxstyle_3=background-color: #ffc; | ||
| + | |1=subject | ||
| + | |2=father | ||
| + | |3=mother |4=paternal grandfather |5=paternal grandmother |6=maternal grandfather |7=maternal grandmother | ||
| + | }} | ||
| + | <nowiki>{{chart bottom}}</nowiki> | ||
| + | {{chart top|collapsed=no||width=100%|Top down third generation family tree (ahnentafel 7)}} | ||
| + | {{Ahnentafel-chart | ||
| + | |top_down=yes | ||
| + | |boxstyle_1=background-color: #bfc; | ||
| + | |boxstyle_2=background-color: #9fe; | ||
| + | |boxstyle_3=background-color: #ffc; | ||
| + | |1=subject | ||
| + | |2=father | ||
| + | |3=mother | ||
| + | |4=paternal grandfather |5=paternal grandmother |6=maternal grandfather |7=maternal mother | ||
}} | }} | ||
{{chart bottom}} | {{chart bottom}} | ||
| Line 58: | Line 82: | ||
<nowiki>{{chart top|collapsed=no|width=100%|Family tree with numbers (ahnentafel 31)}}</nowiki> | <nowiki>{{chart top|collapsed=no|width=100%|Family tree with numbers (ahnentafel 31)}}</nowiki> | ||
{{</nowiki>Ahnentafel-chart | {{</nowiki>Ahnentafel-chart | ||
| − | |||
| − | |||
| − | |||
| − | |||
|boxstyle_1=background-color: #bfc; | |boxstyle_1=background-color: #bfc; | ||
|boxstyle_2=background-color: #9fe; | |boxstyle_2=background-color: #9fe; | ||
| Line 78: | Line 98: | ||
{{chart top|collapsed=no|width=100%|Family tree with numbers (ahnentafel 31)}} | {{chart top|collapsed=no|width=100%|Family tree with numbers (ahnentafel 31)}} | ||
{{Ahnentafel-chart | {{Ahnentafel-chart | ||
| − | |||
| − | |||
| − | |||
| − | |||
|boxstyle_1=background-color: #bfc; | |boxstyle_1=background-color: #bfc; | ||
|boxstyle_2=background-color: #9fe; | |boxstyle_2=background-color: #9fe; | ||
Revision as of 12:20, 6 October 2018
| This is a documentation subpage for Template:Ahnentafel-chart. It contains usage information, categories and other content that is not part of the original template page. |
Usage
Continental European style family tree of Sigmund Christoph von Waldburg-Zeil-Trauchburg
The template displays a Continental European style family tree: "bottom up" or "top down". Entries are added using ahnentafel numbering.
Parameters
{{Ahnentafel-chart
|1=subject
|2=father
|3=mother
|4=grandfather
...
31=great-great-grandmother
}}
N.B. Although this template will create a table up to great-great-grandparents (ahnentafel 31) it will be wider than easily represented on most screens and/or printers so consider using {{Ahnentafel}} or {{Ahnentafel-tree}} instead.
Optional parameters:
boxstyle_1=background-color:#fcc; boxstyle_2=background-color:#fb9; boxstyle_3=background-color:#ffc; boxstyle_4=background-color:#bfc; boxstyle_5=background-color:#9fe;
top_down= — inverses the "bottom up" template to be a "top down" style_chart= — add style attritions to the table
Style works on the entries on each line
style_1=style — eg. style_1=font-style: italic; font-weight:bold; .... style_31=style
Examples
{{chart top|collapsed=no|width=100%|Bottom up (default) third generation family tree (ahnentafel 7)}}
{{Ahnentafel-chart
|1=subject
|2=father
|3=mother
|4=paternal grandfather
|5=paternal grandmother
|6=maternal grandfather
|7=maternal grandmother
}}
{{chart bottom}}
| Bottom up (default) third generation family tree (ahnentafel 7) |
|---|
Template:Tree chart Template:Tree chart Template:Tree chart Template:Tree chart
|
{{chart top|collapsed=no||width=100%|Top down third generation family tree (ahnentafel 7}}
{{Ahnentafel-chart
|top_down=yes
|boxstyle_1=background-color: #bfc;
|boxstyle_2=background-color: #9fe;
|boxstyle_3=background-color: #ffc;
|1=subject
|2=father
|3=mother |4=paternal grandfather |5=paternal grandmother |6=maternal grandfather |7=maternal grandmother
}}
{{chart bottom}}
Template:Tree chart Template:Tree chart Template:Tree chart Template:Tree chart
|
{{chart top|collapsed=no|width=100%|Family tree with numbers (ahnentafel 31)}}
{{</nowiki>Ahnentafel-chart
|boxstyle_1=background-color: #bfc;
|boxstyle_2=background-color: #9fe;
|boxstyle_3=background-color: #ffc;
|boxstyle_4=background-color: #fcc;
|boxstyle_5=background-color: #fb9;
|1=1.
|2=2. |3=3.
|4=4. |5=5. |6=6. |7=7.
|8=8. |9=9. |10=10. |11=11. |12=12. |13=13. |14=14. |15=15.
|16=16. |17=17. |18=18. |19=19. |20=20. |21=21. |22=22. |23=23.
|24=24. |25=25. |26=26. |27=27. |28=28. |29=29. |30=30. |31=31.
}}
{{chart bottom}}
| Family tree with numbers (ahnentafel 31) |
|---|
Template:Tree chart Template:Tree chart Template:Tree chart Template:Tree chart Template:Tree chart Template:Tree chart Template:Tree chart Template:Tree chart
|