Template:Genealogia: differenze tra le versioni

Da La Barriera Wiki.
Vai alla navigazione Vai alla ricerca
Nessun oggetto della modifica
Nessun oggetto della modifica
 
(105 versioni intermedie di uno stesso utente non sono mostrate)
Riga 1: Riga 1:
<includeonly>
<includeonly>
{{#vardefine: i | 1}}
{{#vardefine: i | 1}}
<tr style="text-align:center;">
<tr style="text-align:center; border:none;">
{{
{{
  #loop: i
#loop: i
  | 1
| 1
  | {{{Quantità}}}
| {{{Quantità}}}
  | {{#switch: {{{Arg{{#var:i}}}}}
| {{#switch: {{{Arg{{#var:i}}}}}
| A = <td rowspan="2" colspan="8" style="border:2px solid black; padding:0.2em; width:8em; height:2em; font-size:90%">{{{Nome{{#var:i}}}}}</td>
| A = <td rowspan="2" colspan="8" style="border:1px solid black; padding:0.2em; width:12em; height:2em; font-size:95%; background-color:#abb6c2; box-shadow: 5px 5px 2px #888888;">{{{Nome{{#var:i}}}}}</td>
| B = <td rowspan="2" colspan="2"><div style="width:2em; height:3em;"><span style="font:1px/1px serif;">&nbsp;</span></div></td>
| B = <td style="border:none; width:1.5em; height:1em;"></td>
| C = <td rowspan="2"><div style="width:1em; height:3em;"><span style="font:1px/1px serif;">&nbsp;</span></div></td>
| C = <td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
| D = <td colspan="2" style="border-bottom:3px double black;"><div style="width:2em; height:1em;"><span style="font:1px/1px serif">&nbsp;</span></div></td>
| D = <td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
| E = <td colspan="2" style="border-bottom:3px double black;"><div style="width:2em; height:1em;"><span style="font:1px/1px serif">&nbsp;</span></div></td>
| E = <td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
| F = <td rowspan="2" style="border-right:1px solid black;"><div style="width:1em; height:3em;"><span style="font:1px/1px serif;">&nbsp;</span></div></td><td rowspan="2"><div style="width:1em; height:3em;"><span style="font:1px/1px serif;">&nbsp;</span></div></td>
| F = <td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
}}
| G = <td style="border:none; border-bottom:3px double black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:3px double black; width:1.5em; height:1em;"></td>
| H = <td style="border:none; border-bottom:3px double black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:3px double black; width:1.5em; height:1em;"></td>
| I = <td rowspan="2" style="border:none; border-right:1px solid black; width:1.5em; height:2em;"></td><td rowspan="2" style="border:none; width:1.5em; height:2em;"></td>
| J = <td style="border:none; border-bottom:2px dashed black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:2px dashed black; width:1.5em; height:1em;"></td>
| K = <td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:2em;"></td>
| L = <td style="border:none; border-bottom:1px solid black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:1px solid black; width:1.5em; height:1em;"></td>
| M = <td style="border:none; border-bottom:1px solid black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:1px solid black; width:1.5em; height:1em;"></td>
| N = <td style="border:none; border-right:1px solid black; border-bottom:1px solid black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:1px solid black; width:1.5em; height:1em;"></td>
| O = <td style="border:none; border-bottom:3px double black; width:1.5em; height:1em;"></td>
| P = <td style="border:none; border-bottom:1px solid black; width:1.5em; height:1em;"></td>
| Q = <td style="border:none; border-right:1px solid black; border-bottom:1px solid black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:1px solid black; width:1.5em; height:1em;"></td>
| R = <td style="border:none; border-right:1px solid black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:1px solid black; width:1.5em; height:1em;"></td>
| S = <td style="border:none; border-bottom:2px dashed black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:2px dashed black; width:1.5em; height:1em;"></td>
| T = <td style="border:none; border-bottom:2px dashed black; width:1.5em; height:1em;"></td>
| U = <td style="border:none; border-bottom:3px double black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:3px double black; width:1.5em; height:1em;"></td>
| V = <td rowspan="2" style="border:none; border-right:1px dotted black; width:1.5em; height:2em;"></td><td rowspan="2" style="border:none; width:1.5em; height:2em;"></td>
| W = <td style="border:none; border-bottom:1px solid black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:1px solid black; border-right:1px solid black; width:1.5em; height:1em;"></td>
| X = <td style="border:none; border-right:3px double black; width:1.5em; height:1em;"></td>
| Y = <td rowspan="2" style="border:none; border-right:2px dashed black; width:1.5em; height:2em;"></td>
| Z = <td style="border:none; border-right:2px dashed black; width:1.5em; height:1em;"></td>
| , = <td style="border:none; border-right:3px double black; width:1.5em; height:1em;"></td>
| ; = <td style="border:none; border-bottom:3px double black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:3px double black; border-right:3px double black; width:1.5em; height:1em;"></td>
| . = <td style="border:none; border-bottom:1px solid black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:1px solid black; border-right:1px solid black; width:1.5em; height:1em;"></td>
| : = <td style="border:none; border-right:1px solid black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:1px solid black; width:1.5em; height:1em;"></td>
| - = <td style="border:none; border-bottom:2px dashed black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:2px dashed black; width:1.5em; height:1em;"></td>
| _ = <td rowspan="2" colspan="8" style="border:3px double black; padding:0.2em; width:12em; height:2em; font-size:95%; background-color:#abb6c2; box-shadow: 5px 5px 2px #888888;">''{{{Nome{{#var:i}}}}}''</td>
| 1 = <td style="border:none; border-bottom:3px double black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:3px double black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:3px double black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:3px double black; width:1.5em; height:1em;"></td>
| 2 = <td style="border:none; border-bottom:1px solid black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:1px solid black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:1px solid black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:1px solid black; width:1.5em; height:1em;"></td>
| 3 = <td style="border:none; border-right:3px double black; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
| 4 = <td style="border:none; border-bottom:3px double black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:3px double black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:3px double black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:3px double black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:3px double black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:3px double black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:3px double black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:3px double black; width:1.5em; height:1em;"></td>
| 5 = <td style="border:none; border-right:3px double black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:1px solid black; width:1.5em; height:1em;"></td>
| 6 = <td style="border:none; border-bottom:3px double black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:3px double black; height:1em;"></td>
| 7 = <td style="border:none; border-bottom:2px dashed black; width:1.5em; height:1em;"></td><td style="border:none; border-bottom:2px dashed black; width:1.5em; height:1em;"></td>
}}
}}
}}
</tr>
</tr>
<tr style="text-align:center;">
<tr style="text-align:center; border:none;">
{{
{{
  #loop: i
#loop: i
  | 1
| 1
  | {{{Quantità}}}
| {{{Quantità}}}
  | {{#switch: {{{Arg{{#var:i}}}}}
| {{#switch: {{{Arg{{#var:i}}}}}
| A =  
| A =  
| B =  
| B = <td style="border:none; width:1.5em; height:1em;"></td>
| C =
| C = <td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
| D = <td colspan="2"><div style="width:2em; height:1em;"><span style="font:1px/1px serif;">&nbsp;</span></div></td>
| D = <td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
| E = <td style="border-right:1px solid black;"><div style="width:1em; height:1em;"><span style="font:1px/1px serif;">&nbsp;</span></div></td><td><div style="width:1em; height:1em;"><span style="font:1px/1px serif;">&nbsp;</span></div></td>
| E = <td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
| F =  
| F = <td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
}}
| G = <td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
| H = <td style="border:none; border-right:1px solid black; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
| I =
| J = <td style="border:none; border-right:1px solid black; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
| K = <td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; border-right:1px solid black; width:1.5em; height:1em;"></td>
| L = <td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
| M = <td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; border-right:1px solid black; width:1.5em; height:1em;"></td>
| N = <td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
| O = <td style="border:none; width:1.5em; height:1em;"></td>
| P = <td style="border:none; width:1.5em; height:1em;"></td>
| Q = <td style="border:none; border-right:1px solid black; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
| R = <td style="border:none; border-right:1px solid black; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
| S = <td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
| T = <td style="border:none; width:1.5em; height:1em;"></td>
| U = <td style="border:none; border-right:1px dotted black; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
| V =
| W = <td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; border-right:1px solid black; width:1.5em; height:1em;"></td>
| X = <td style="border:none; border-right:3px double black; width:1.5em; height:1em;"></td>
| Y =
| Z = <td style="border:none; width:1.5em; height:1em;"></td>
| , = <td style="border:none; width:1.5em; height:1em;"></td>
| ; = <td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
| . = <td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
| : = <td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
| - = <td style="border:none; border-right:1px dotted black; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
| _ =
| 1 = <td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
| 2 = <td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
| 3 = <td style="border:none; border-top:1px solid black; width:1.5em; height:1em;"></td><td style="border:none; border-top:3px double black; width:1.5em; height:1em;"></td>
| 4 = <td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
| 5 = <td style="border:none; border-right:3px double black; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
| 6 = <td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; border-right:3px double black; width:1.5em; height:1em;"></td>
| 7 = <td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; border-right:2px dashed black;; width:1.5em; height:1em;"></td>
}}
}}
}}
</tr>
</tr>
</includeonly>
</includeonly>
<noinclude>
<noinclude>Il template [[Template:Genealogia|Genealogia]] serve per creare una riga di albero genealogico.
Il template [[Template:Genealogia|Genealogia]] serve per creare una riga di albero genealogico.
 


__TOC__


== Utilizzo ==
== Utilizzo ==
Riga 41: Riga 108:


<nowiki>{{</nowiki>'''Genealogia'''<br />
<nowiki>{{</nowiki>'''Genealogia'''<br />
{{Parametro | Nome = Quantità | Tipologia = O | Commento = Numero di parametri, escluso il parametro Quantità}}
{{Parametro | Nome = Quantità | Tipologia = O | Commento = Numero di parametri ArgXX}}
{{Parametro | Nome = Arg1 | Tipologia = F | Commento = Primo parametro}}
{{Parametro | Nome = Arg1 | Tipologia = F | Commento = Primo parametro}}
{{Parametro | Nome = Arg2 | Tipologia = F | Commento = Secondo parametro}}
{{Parametro | Nome = Arg2 | Tipologia = F | Commento = Secondo parametro}}
Riga 50: Riga 117:
<nowiki>}}</nowiki>
<nowiki>}}</nowiki>


== Parametri ==
Ogni sequenza di template che costituisce il medesimo albero genealogico dovrà essere preceduta da:


=== Quantità ===
<nowiki><table style="border-collapse:collapse;"></nowiki>


Il primo parametro previsto dal template specifica il numero di altri parametri da utilizzare nella riga dell'albero genealogico. Questo parametro è obbligatorio.
e seguita da:


=== ArgXX ===
<nowiki></table></nowiki>


I parametri successivi al primo che iniziano con il prefisso ''Arg'' specificano il tipo di oggetto da inserire nella riga dell'albero genealogico. Questi parametri sono facoltativi.
== Tipologie di blocchi e connettori ==
La lista dei valori ammessi prevede:
*Box: si ottiene valorizzando il parametro con la lettera '''A'''
*''blank'': si ottiene valorizzando il parametro con la lettera '''B'''
*''blank'' ridotto: si ottiene valorizzando il parametro con la lettera '''C'''
*Legame matrimoniale senza figli: si ottiene valorizzando il parametro con la lettera '''D'''
*Legame matrimoniale con figli: si ottiene valorizzando il parametro con la lettera '''E'''
*Legame di sangue verticale: si ottiene valorizzando il parametro con la lettera '''F'''


 
<table>
<table style="border-collapse:collapse;">
<tr>
{{Genealogia | Quantità = 7 | Arg1 = A | Nome1 = [[Jon Arryn]] | Arg2 = C | Arg3 = D | Arg4 = C | Arg5 = E | Arg6 = C | Arg7 = F}}
<td style="width:4em;"><ul><li>'''A''':</li></ul></td><td style="width:15em;"><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = A | Nome1 = [[Jon Snow]]}}</table></td>
<td style="width:4em;"><ul><li>'''B''':</li></ul></td><td style="width:15em;">Celle vuote 2x1</td>
<td style="width:4em;"><ul><li>'''C''':</li></ul></td><td style="width:15em;">Celle vuote 2x2</td>
<td style="width:4em;"><ul><li>'''D''':</li></ul></td><td style="width:15em;">Celle vuote 2x4</td>
</tr>
<tr>
<td><ul><li>'''E''':</li></ul></td><td style="width:15em;">Celle vuote 2x8</td>
<td><ul><li>'''F''':</li></ul></td><td style="width:15em;">Celle vuote 2x16</td>
<td><ul><li>'''G''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = G}}</table></td>
<td><ul><li>'''H''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = H}}</table></td>
</tr>
<tr>
<td><ul><li>'''I''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = I}}</table></td>
<td><ul><li>'''J''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = J}}</table></td>
<td><ul><li>'''K''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = K}}</table></td>
<td><ul><li>'''L''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = L}}</table></td>
</tr>
<tr>
<td><ul><li>'''M''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = M}}</table></td>
<td><ul><li>'''N''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = N}}</table></td>
<td><ul><li>'''O''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = O}}</table></td>
<td><ul><li>'''P''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = P}}</table></td>
</tr>
<tr>
<td><ul><li>'''Q''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = Q}}</table></td>
<td><ul><li>'''R''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = R}}</table></td>
<td><ul><li>'''S''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = S}}</table></td>
<td><ul><li>'''T''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = T}}</table></td>
</tr>
<tr>
<td><ul><li>'''U''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = U}}</table></td>
<td><ul><li>'''V''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = V}}</table></td>
<td><ul><li>'''W''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = W}}</table></td>
<td><ul><li>'''X''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = X}}</table></td>
</tr>
<tr>
<td><ul><li>'''Y''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = Y}}</table></td>
<td><ul><li>'''Z''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = Z}}</table></td>
<td><ul><li>''',''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = ,}}</table></td>
<td><ul><li>''';''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = ;}}</table></td>
</tr>
<tr>
<td><ul><li>'''.''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = .}}</table></td>
<td><ul><li>''':''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = :}}</table></td>
<td><ul><li>'''-''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = -}}</table></td>
<td><ul><li>'''_''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = _ | Nome1 = [[Nobile Casa Stark]]}}</table></td>
</tr>
<tr>
<td><ul><li>'''1''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = 1}}</table></td>
<td><ul><li>'''2''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = 2}}</table></td>
<td><ul><li>'''3''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = 3}}</table></td>
<td><ul><li>'''4''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = 4}}</table></td>
</tr>
<tr>
<td><ul><li>'''5''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = 5}}</table></td>
<td><ul><li>'''6''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = 6}}</table></td>
<td><ul><li>'''7''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = 7}}</table></td>
</tr>
</table>
</table>
=== NomeXX ===
I parametri successivi al primo che iniziano con il prefisso ''Nome'' indicano i nomi da inserire relativamente agli argomenti indicati. Il suffisso numero da specificare deve essere lo stesso dei parametri ''Arg'' corrispondenti parametrizzati con '''A'''.


== Esempi di utilizzo ==
== Esempi di utilizzo ==


Alimentando il template nelle maniere indicate:
  <nowiki>{{Genealogia
 
| Quantità = 5
  <nowiki>{{Genealogia | Quantità = 5 | Arg1 = B | Arg2 = A | Arg3 = D | Arg4 = A | Arg5 = B | Nome2 = [[Edmure Tully]]
| Arg1 = C
| Nome4 = [[Roslin Frey]]}}</nowiki>
| Arg2 = A
 
| Arg3 = H
<nowiki>{{Genealogia | Quantità = 5 | Arg1 = B | Arg2 = A | Arg3 = E | Arg4 = A | Arg5 = B | Nome2 = [[Stannis Baratheon]]
| Arg4 = A
| Arg5 = C
| Nome2 = [[Stannis Baratheon]]
| Nome4 = [[Selyse Florent]]}}
| Nome4 = [[Selyse Florent]]}}
{{Genealogia | Quantità = 11 | Arg1 = B | Arg2 = B | Arg3 = B | Arg4 = B | Arg5 = B | Arg6 = F | Arg7 = B | Arg8 = B | Arg9 = B
{{Genealogia
| Arg10 = B | Arg11 = B}}
| Quantità = 5
{{Genealogia | Quantità = 9 | Arg1 = B | Arg2 = B | Arg3 = B | Arg4 = C | Arg5 = A | Arg6 = C | Arg7 = B | Arg8 = B | Arg9 = B
| Arg1 = E
| Nome5 = [[Shireen Baratheon]]}}</nowiki>
| Arg2 = C
 
| Arg3 = I
Si ottiene:
| Arg4 = C
 
| Arg5 = E}}
<table style="border-collapse:collapse;">
{{Genealogia
{{Genealogia | Quantità = 5 | Arg1 = B | Arg2 = A | Arg3 = D | Arg4 = A | Arg5 = B | Nome2 = [[Edmure Tully]] | Nome4 = [[Roslin Frey]]}}
| Quantità = 7
</table>
| Arg1 = D
 
| Arg2 = C
 
| Arg3 = B
| Arg4 = A
| Arg5 = B
| Arg6 = C
| Arg7 = D
| Nome4 = [[Shireen Baratheon]]}}</nowiki>


<table style="border-collapse:collapse;">
<table style="border-collapse:collapse;">
{{Genealogia | Quantità = 5 | Arg1 = B | Arg2 = A | Arg3 = E | Arg4 = A | Arg5 = B | Nome2 = [[Stannis Baratheon]] | Nome4 = [[Selyse Florent]]}}
{{Genealogia | Quantità = 5 | Arg1 = C | Arg2 = A | Arg3 = H | Arg4 = A | Arg5 = C | Nome2 = [[Stannis Baratheon]] | Nome4 = [[Selyse Florent]]}}
{{Genealogia | Quantità = 11 | Arg1 = B | Arg2 = B | Arg3 = B | Arg4 = B | Arg5 = B | Arg6 = F | Arg7 = B | Arg8 = B | Arg9 = B | Arg10 = B | Arg11 = B}}
{{Genealogia | Quantità = 5 | Arg1 = E | Arg2 = C | Arg3 = I | Arg4 = C | Arg5 = E}}
{{Genealogia | Quantità = 9 | Arg1 = B | Arg2 = B | Arg3 = B | Arg4 = C | Arg5 = A | Arg6 = C | Arg7 = B | Arg8 = B | Arg9 = B
{{Genealogia | Quantità = 7 | Arg1 = D | Arg2 = C | Arg3 = B | Arg4 = A | Arg5 = B | Arg6 = C | Arg7 = D | Nome4 = [[Shireen Baratheon]]}}
| Nome5 = [[Shireen Baratheon]]}}
</table>
</table>


[[Categoria:Template]]</noinclude>
[[Categoria:Template]]</noinclude>

Versione attuale delle 19:40, 7 dic 2020

Il template Genealogia serve per creare una riga di albero genealogico.


Utilizzo

Per utilizzare il template è sufficiente eseguire un copia/incolla del seguente codice:

{{Genealogia
Quantità = <!-- Numero di parametri ArgXX -->

Arg1 = <!-- Primo parametro -->

Arg2 = <!-- Secondo parametro -->

...
Nome1 = <!-- Primo nome -->

Nome2 = <!-- Secondo nome -->

...
}}

Ogni sequenza di template che costituisce il medesimo albero genealogico dovrà essere preceduta da:

<table style="border-collapse:collapse;">

e seguita da:

</table>

Tipologie di blocchi e connettori

  • A:
Jon Snow
  • B:
Celle vuote 2x1
  • C:
Celle vuote 2x2
  • D:
Celle vuote 2x4
  • E:
Celle vuote 2x8
  • F:
Celle vuote 2x16
  • G:
  • H:
  • I:
  • J:
  • K:
  • L:
  • M:
  • N:
  • O:
  • P:
  • Q:
  • R:
  • S:
  • T:
  • U:
  • V:
  • W:
  • X:
  • Y:
  • Z:
  • ,:
  • ;:
  • .:
  • ::
  • -:
  • _:
Nobile Casa Stark
  • 1:
  • 2:
  • 3:
  • 4:
  • 5:
  • 6:
  • 7:

Esempi di utilizzo

{{Genealogia
| Quantità = 5
| Arg1 = C
| Arg2 = A
| Arg3 = H
| Arg4 = A
| Arg5 = C
| Nome2 = [[Stannis Baratheon]]
| Nome4 = [[Selyse Florent]]}}
{{Genealogia
| Quantità = 5
| Arg1 = E
| Arg2 = C
| Arg3 = I
| Arg4 = C
| Arg5 = E}}
{{Genealogia
| Quantità = 7
| Arg1 = D
| Arg2 = C
| Arg3 = B
| Arg4 = A
| Arg5 = B
| Arg6 = C
| Arg7 = D
| Nome4 = [[Shireen Baratheon]]}}
Stannis BaratheonSelyse Florent
Shireen Baratheon