Difference between revisions of "Template:Ahnentafel-chart/testcases"
Jump to navigation
Jump to search
blackwiki>PBS (←Created page with '{{Testcases notice <!--|toc=on-->}} {{Test case|_collapsible=yes|_showcode=yes|_title=Test1 |param1|param2|name3=value3|...}} {{Test case|_collapsible=yes|_sho...') |
m (2 revisions imported) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{Testcases notice <!--|toc=on-->}} | {{Testcases notice <!--|toc=on-->}} | ||
| − | {{Test case| | + | {{Test case nowiki|collapsible=yes|showcode=yes|title=Small test|<nowiki> |
| − | | | + | {{chart top|collapsed=no|width=100%|Bottom up (default) third generation family tree (ahnentafel 7)}} |
| + | {{__TEMPLATENAME__ | ||
| + | |1=subject | ||
| + | |2=father | ||
| + | |3=mother | ||
| + | |4=paternal grandfather | ||
| + | |5=paternal grandmother | ||
| + | |6=maternal grandfather | ||
| + | |7=maternal grandmother | ||
| + | }} | ||
| + | {{chart bottom}} | ||
| + | </nowiki>}} | ||
| + | |||
| + | {{Test case nowiki|collapsible=yes|showcode=yes|title=Small color test|<nowiki> | ||
| + | {{chart top|collapsed=no||width=100%|Top down third generation family tree (ahnentafel 7}} | ||
| + | {{__TEMPLATENAME__ | ||
| + | |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}} | ||
| + | </nowiki>}} | ||
| + | |||
| + | {{Test case nowiki|collapsible=yes|showcode=yes|title=Big test|<nowiki> | ||
| + | {{chart top|collapsed=no|width=100%|Family tree with numbers (ahnentafel 31)}} | ||
| + | {{__TEMPLATENAME__ | ||
| + | |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}} | ||
| + | </nowiki>}} | ||
| − | |||
| − | |||
<!-- | <!-- | ||
Latest revision as of 13:01, 18 October 2020
| This is the template test cases page for the sandbox of Template:Ahnentafel-chart. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
| Small test | ||||
|---|---|---|---|---|
{{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}}
{{Ahnentafel-chart}}
|
| Small color test | ||||
|---|---|---|---|---|
{{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}}
{{Ahnentafel-chart}}
|
| Big test | ||||
|---|---|---|---|---|
{{chart top|collapsed=no|width=100%|Family tree with numbers (ahnentafel 31)}}
{{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}}
{{Ahnentafel-chart}}
|