Template:Genealogia: differenze tra le versioni

Da La Barriera Wiki.
Vai alla navigazione Vai alla ricerca
Nessun oggetto della modifica
Nessun oggetto della modifica
 
(10 versioni intermedie di uno stesso utente non sono mostrate)
Riga 7: Riga 7:
| {{{Quantità}}}
| {{{Quantità}}}
| {{#switch: {{{Arg{{#var:i}}}}}
| {{#switch: {{{Arg{{#var:i}}}}}
| A = <td rowspan="2" colspan="8" style="border:1px solid black; padding:0.2em; width:12em; height:2em; font-size:95%; background-color:#F7F7F7; box-shadow: 5px 5px 2px #888888;">{{{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 style="border:none; width:1.5em; height:1em;"></td>
| B = <td style="border:none; width:1.5em; height:1em;"></td>
| C = <td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
| C = <td style="border:none; width:1.5em; height:1em;"></td><td style="border:none; width:1.5em; height:1em;"></td>
Riga 30: Riga 30:
| 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>
| 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>
| 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 rowspan="2" style="border:none; border-right:3px double black; width:1.5em; height:2em;"></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>
| 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>
| Z = <td style="border:none; border-right:2px dashed black; width:1.5em; height:1em;"></td>
Riga 38: Riga 38:
| : = <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-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 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:#F7F7F7; box-shadow: 5px 5px 2px #888888;">''{{{Nome{{#var:i}}}}}''</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>
| 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>
| 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>
}}
}}
}}
}}
Riga 73: Riga 78:
| V =  
| 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>
| 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 =  
| X = <td style="border:none; border-right:3px double black; width:1.5em; height:1em;"></td>
| Y =  
| Y =  
| Z = <td style="border:none; width:1.5em; height:1em;"></td>
| Z = <td style="border:none; width:1.5em; height:1em;"></td>
Riga 84: Riga 89:
| 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>
| 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>
| 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>
}}
}}
}}
}}
Riga 169: Riga 179:
<td><ul><li>'''1''':</li></ul></td><td><table style="border-collapse:collapse;">{{Genealogia | Quantità = 1 | Arg1 = 1}}</table></td>
<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>'''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>
</tr>
</table>
</table>

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