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 40: Riga 40:
| _ = <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:#F7F7F7; 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>
}}
}}
}}
}}
Riga 82: Riga 83:
| _ =  
| _ =  
| 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>
}}
}}
}}
}}
Riga 166: Riga 168:
<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>'''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>
</tr>
</tr>
</table>
</table>

Versione delle 16:16, 9 mag 2017

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:

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