Plantilla:Episode table/part
| Aquesta plantilla utilitza una crida a un mòdul de tipus Lua, nom que li ve del llenguatge Lua que utilitza. Per tant, si volguéssiu modificar-la, abans hauríeu d'estar familiaritzats amb aquest llenguatge i les funcions de l'extensió Scribunto. Vegeu com fer proves de plantilles.
Aquesta plantilla utilitza el següent mòdul: |
Ús
[modifica]The purpose of the {{Episode table/part}} template is to easily add a header row to episode tables for television series that have split a season into multiple parts, titled "Part (number)", as well as including an anchor to this row under the same name.
Sintaxi
[modifica]{{Episode table/part|p=Part number|c=Background colour|nopart=y|r=reference}}
Exemples
[modifica]Per a les temporades que es divideixen en parts, utilitzeu {{Episode table/part}}, com als exemples següents. La fila de la part té un atribut d'ID HTML aplicat, igual al text que es mostra; és a dir, els atributs d'identificació dels exemples següents seran "Part 1" i "Diari d'Athelstan".
Hi ha diversos paràmetres disponibles per a la plantilla de partició:
|act=1deriva Acte 1|chapter=1deriva Capítol 1|part=1deriva Part 1|volume=1deriva Volum 1|week=1deriva Setmana 1
Es pot afegir un subtítol amb |subtitle=Nom del subtítol, i es pot utilitzar per si mateix o combinat amb qualsevol dels paràmetres anteriors. (La cursiva al subtítol s'ha d'introduir manualment.) Per exemple:
|chapter=1|subtitle=Crossoverderiva Capítol 1: Crossover|subtitle=''Crossover''deriva Crossover
(Nota: |p= i |nopart= estan obsolets; feu servir millor |part= i|subtitle=)
Exemples
[modifica]{{Episode table/part|c=#183E54|part=1}}
| Núm. total | Núm. de la temporada | Títol | Direcció | Guió | Data d'estrena original | Espectadors a Catalunya (milions) | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Part 1 | ||||||||||||
{{Episode table/part|c=#061453|subtitle=''Diari d'Athelstan''}}
| Núm. | Títol | Direcció | Guió | Data d'estrena original | Durada (minuts) | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Diari d'Athelstan | ||||||||||||
Paràmetres
[modifica]| Parameter | Description | Type | Status | ||
|---|---|---|---|---|---|
| Background colour | c | The background colour of the row for the split season in question. Format: #1432F5 / blue |
Colour | Required | |
| Type of part | Part # | part | The part number of the split season in question. Format: 1 |
Number | Optional |
| Volume # | volume | The volume number of the split season in question. Format: 1 |
Number | Optional | |
| Chapter # | chapter | The chapter number of the split season in question. Format: 1 |
Number | Optional | |
| Act # | act | The act number of the split season in question. Format: 1 |
Number | Optional | |
| Week # | week | The week number of the split season in question. Format: 1 |
Number | Optional | |
| Subtitle | subtitle | The subtitle of the part. This can be used in conjunction with any of the above five parameters; if so, the subtitle will be inserted after a colon, if not, the subtitle will be displayed by itself. Italics and other formatting to be inserted manually. Format: Name |
Text | Optional | |
| Reference | r | A reference to add to the header, that is not combined with the anchor and uses Module:Episode table/ref. Format: <ref>...</ref> |
Reference | Optional | |
| No bold | nobold | Remove the bold nature of the text. | Text | Optional | |
Vegeu també
[modifica]Els editors poden fer proves amb aquesta plantilla al seu espai de proves (crea | modifica)
Afegiu categories en la subpàgina /ús. Vegeu les subpàgines d'aquesta plantilla, utilització de paràmetres.