Template:Ahnentafel/doc: Difference between revisions

add example
(add template calls)
(add example)
Line 14: Line 14:


The column-specific style attributes are included after (and thus override) the generic ones, which are included after the default styles and the border thickness specified by the <code>border</code> parameter(s).
The column-specific style attributes are included after (and thus override) the generic ones, which are included after the default styles and the border thickness specified by the <code>border</code> parameter(s).
=== Example  ===
{| cellspacing="0" border="1" width="100%"
!You type (in the User namespace)
!You get
|-
|
<pre>
{{Ahnentafel
| state = uncollapsed
| 1 = Individual
| 2 = Father
| 3 = Mother
| 4 = Father's father
| 5 = Father's mother
| 6 = Mother's father
| 7 = Mother's mother
}}
</pre>
| style="text-align:center; font-size:90%;" |
{{Ahnentafel
| state = uncollapsed
| 1 = Individual
| 2 = Father
| 3 = Mother
| 4 = Father's father
| 5 = Father's mother
| 6 = Mother's father
| 7 = Mother's mother
| demospace = user
}}


<includeonly>
<includeonly>
90,866

edits