Diferencia entre revisiones de «Plantilla:Obra de biblioteca»

De ProleWiki, la enciclopedia proletaria
(Página creada con «{{DISPLAYTITLE:{{{title}}}{{#if: {{{author|}}}| ({{{author|}}})|}} }} <span style="display:none;">{{{summary|}}}</span> {{Infobox | bodyclass = vcard | abovestyle = padding-top:0; padding-bottom:0; | above = <div style="padding-top:0.3em; padding-bottom:0.3em; line-height: 1;"><div style="display:inline;" class="fn org">{{if empty|{{{title|}}}|{{BASEPAGENAME}}}}</div></div> | subheaderstyle = font-size:100%; | subheader = {{{subtitle|}}} | imageclass = logo…»)
 
m (Fixing line breaks)
 
(No se muestran 7 ediciones intermedias de 3 usuarios)
Línea 1: Línea 1:
{{DISPLAYTITLE:{{{title}}}{{#if: {{{author|}}}|&nbsp;({{{author|}}})|}} }}
{{DISPLAYTITLE:{{#if:{{{title|}}}|{{{title}}}|{{ROOTPAGENAME}}}}{{#if: {{{autor|}}}|&nbsp;({{{autor|}}})|}} }}
 
<span style="display:none;">{{{summary|}}}</span>
<span style="display:none;">{{{summary|}}}</span>
{{Infobox
{{Infobox
| bodyclass = vcard
| bodyclass = vcard


| abovestyle = padding-top:0; padding-bottom:0;
| abovestyle = padding-top:0; padding-bottom:0;
| above = <div style="padding-top:0.3em; padding-bottom:0.3em; line-height: 1;"><div style="display:inline;" class="fn org">{{if empty|{{{title|}}}|{{BASEPAGENAME}}}}</div></div>
| above = <div style="padding-top:0.3em; padding-bottom:0.3em; line-height: 1;"><div style="display:inline;" class="fn org">{{if empty|{{{titulo|}}}|{{BASEPAGENAME}}}}</div></div>


| subheaderstyle = font-size:100%;
| subheaderstyle = font-size:100%;
| subheader = {{{subtitle|}}}
| subheader = {{{subtitulo|}}}


| imageclass = logo
| imageclass = logo
| imagestyle = padding-top:.4em;padding-bottom:.3em;
| imagestyle = padding-top:.4em;padding-bottom:.3em;
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|upright={{{image_upright|0.8}}}|alt={{{image_alt|}}}|size={{{image_size|}}}}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{imagen|}}}|upright={{{image_upright|0.8}}}|alt={{{image_alt|}}}|size={{{image_size|}}}}}
| caption = {{{caption|}}}
| caption = {{{caption|}}}


Línea 21: Línea 19:
| datastyle = line-height:1.3em;
| datastyle = line-height:1.3em;


| label1  = Author
| label1  = Autor
|  data1  = {{#ifexist:{{{author|}}}|[[{{{author}}}]]|{{{author|}}}}}
|  data1  = {{#ifexist:{{{autor|}}}|[[{{{autor}}}]]|{{{autor|}}}}}


| label2  = Written&nbsp;in
| label2  = Escrito&nbsp;en
|  data2  = {{{written in|}}}
|  data2  = {{{escrito en|}}}


| label3  = Spoken on
| label3  = Hablado en
|  data3  = {{{spoken on|}}}
|  data3  = {{{hablado en|}}}


| label4  = Publisher
| label4  = Editora
|  data4  = {{{publisher|}}}
|  data4  = {{{editora|}}}


| label5  = First published
| label5  = Publicado por primera vez
|  data5  = {{{published_date|}}}{{#if:{{{published_location|}}}|<br/>{{{published_location}}}}}
|  data5  = {{{fecha_de_publicacion|}}}{{#if:{{{lugar_de_publicacion|}}}|<br/>{{{lugar_de_publicacion}}}}}


| label6  = Edition
| label6  = Edición
|  data6  = {{{edition_date|}}}
|  data6  = {{{fecha_de_edicion|}}}


| label7  = Type
| label7  = Tipo
|  data7  = {{{type|}}}
|  data7  = {{{tipo|}}}


| label8  = ISBN
| label8  = ISBN
|  data8  = {{{isbn|}}}
|  data8  = {{{isbn|}}}


| label9  = Source
| label9  = Fuente
|  data9  = {{{source|}}}
|  data9  = {{{fuente|}}}


| label0 = Audiobook
| label0 = Audiolibro
| data10 = {{{audiobook|}}}
| data10 = {{{audiolibro|}}}
}}
}}
<noinclude>
<noinclude>
How to use this template:
How to use this template:
Línea 78: Línea 75:
{
{
"params": {
"params": {
"title": {
"titulo": {
"label": "Title",
"label": "Título",
"description": "Title of the work",
"description": "Título de la obra",
"type": "string",
"type": "string",
"required": true
"required": true
},
},
"_subheader": {},
"_subheader": {},
        "author": {
"autor": {
"label": "Author",
"label": "Autor",
"description": "Author of the source work. No need to add link brackets [[ ]], the infobox checks for it.",
"description": "Autor del trabajo fuente. No hay necesidad de agregar braquetes de enlace [[ ]]. La infobox lo hace automáticamente. ",
"type": "string",
"type": "string",
"required": true
"required": true
        },
},
"image": {
"imagen": {
"label": "Image",
"label": "Imagen",
"description": "Book cover",
"description": "Book cover",
"type": "wiki-file-name",
"type": "wiki-file-name",
Línea 105: Línea 102:
"type": "string"
"type": "string"
},
},
"written in": {
"escrito en": {
"label": "Written in",
"label": "Escrito en",
"description": "Date or period the work was written",
"description": "Date or period the work was written",
"type": "date",
"type": "date",
"suggested": true
"suggested": true
},
},
"type": {
"tipo": {
"label": "Type",
"label": "Tipo",
"description": "Type of work",
"description": "Type of work",
"example": "Book, pamphlet, leaflet, speech, video",
"example": "Book, pamphlet, leaflet, speech, video",
Línea 118: Línea 115:
"suggested": true
"suggested": true
},
},
"source": {
"fuente": {
"label": "Source",
"label": "Fuente",
"description": "URL of the work",
"description": "URL of the work",
"type": "url",
"type": "url",
"suggested": true
"suggested": true
},
},
"audiobook": {
"audiolibro": {
"label": "Audiobook",
"label": "Audiolibro",
"description": "URL of an audiobook reading of the work",
"description": "URL of an audiobook reading of the work",
"type": "url",
"type": "url",
Línea 136: Línea 133:
"suggested": true
"suggested": true
},
},
        "publisher": {
"editora": {
            "label": "Publishing house",
"label": "Editorial",
            "description": "Who published this edition",
"description": "Who published this edition",
            "type": "string",
"type": "string",
            "suggested": true
"suggested": true
        },
},
"published_date": {
"fecha_de_publicacion": {
"label": "First published",
"label": "Primeramente publicado en",
"description": "Date the book was first published",
"description": "Date the book was first published",
"type": "date",
"type": "date",
"suggested": true
"suggested": true
},
},
"published_location": {
"lugar_de_publicacion": {
"label": "Location published",
"label": "Lugar donde fue publicado",
"description": "Location the work was published",
"description": "Location the work was published",
"type": "string",
"type": "string",
"suggested": true
"suggested": true
},
},
        "edition_date": {
"fecha_de_edicion": {
            "label": "Edition",
"label": "Edición",
            "description": "When was this edition printed",
"description": "When was this edition printed",
            "type": "string",
"type": "string",
            "suggested": true
"suggested": true
        },
},
        "spoken on": {
"hablado_en": {
            "label": "Spoken on",
"label": "Hablado_en",
            "description": "For speeches, the date it was spoken on",
"description": "For speeches, the date it was spoken on",
            "type": "string",
"type": "string",
            "suggested": true
"suggested": true
        }
}
},
},
"description": "Adds a small infobox with information for Library works",
"description": "Adds a small infobox with information for Library works",
"paramOrder": [
"paramOrder": [
"title",
"titulo",
"image",
"imagen",
"caption",
"caption",
"author",
"autor",
"written in",
"escrito en",
        "spoken on",
"hablado_en",
        "publisher",
"editora",
"published_date",
"fecha_de_publicacion",
"published_location",
"lugar_de_publicacion",
        "edition_date",
"fecha_de_edicion",
"type",
"tipo",
"isbn",
"isbn",
"source",
"fuente",
"audiobook",
"audiolibro",
"_subheader",
"_subheader",
"image_upright",
"image_upright",

Revisión actual - 22:22 18 abr 2024

Obra de biblioteca

How to use this template:

{{Library work
| title = 
| subtitle = 
| image =
| image_size =
| image_upright =
| image_alt =
| caption =
| author =
| written in =
| spoken on =
| published_date = 
| published_location =
| publisher =
| edition_date =
| type =
| source = 
| audiobook = 
}}

Adds a small infobox with information for Library works

Parámetros de la plantilla[Editar los datos de la plantilla]

ParámetroDescripciónTipoEstado
Títulotitulo

Título de la obra

Cadenaobligatorio
Imagenimagen

Book cover

Archivosugerido
Captioncaption

Caption of the image, usually for information about the edition of the cover

Cadenaopcional
Autorautor

Autor del trabajo fuente. No hay necesidad de agregar braquetes de enlace [[ ]]. La infobox lo hace automáticamente.

Cadenaobligatorio
Escrito enescrito en

Date or period the work was written

Fechasugerido
Hablado_enhablado_en

For speeches, the date it was spoken on

Cadenasugerido
Editorialeditora

Who published this edition

Cadenasugerido
Primeramente publicado enfecha_de_publicacion

Date the book was first published

Fechasugerido
Lugar donde fue publicadolugar_de_publicacion

Location the work was published

Cadenasugerido
Ediciónfecha_de_edicion

When was this edition printed

Cadenasugerido
Tipotipo

Type of work

Ejemplo
Book, pamphlet, leaflet, speech, video
Cadenasugerido
ISBNisbn

ISBN number of the work

Númerosugerido
Fuentefuente

URL of the work

URLsugerido
Audiolibroaudiolibro

URL of an audiobook reading of the work

URLsugerido
_subheader_subheader

sin descripción

Desconocidoopcional
image_uprightimage_upright

sin descripción

Desconocidoopcional
image_altimage_alt

sin descripción

Desconocidoopcional
image_sizeimage_size

sin descripción

Desconocidoopcional