Template:Genealogia: differenze tra le versioni

Da La Barriera Wiki.
Vai alla navigazione Vai alla ricerca
Nessun oggetto della modifica
Nessun oggetto della modifica
 
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 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>

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