Diferencia entre revisiones de «Plantilla:Obra de biblioteca»
De ProleWiki, la enciclopedia proletaria
Más idiomas
Más acciones
Sin resumen de edición |
Sin resumen de edición |
||
Línea 1: | Línea 1: | ||
{{DISPLAYTITLE:{{{title}}}{{#if: {{{ | {{DISPLAYTITLE:{{{title}}}{{#if: {{{autor|}}}| ({{{autor|}}})|}} }} | ||
<span style="display:none;">{{{summary|}}}</span> | <span style="display:none;">{{{summary|}}}</span> | ||
Línea 7: | Línea 7: | ||
| 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|{{{ | | 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 = {{{ | | 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 = {{#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 21: | ||
| datastyle = line-height:1.3em; | | datastyle = line-height:1.3em; | ||
| label1 = | | label1 = Autor | ||
| data1 = {{#ifexist:{{{ | | data1 = {{#ifexist:{{{autor|}}}|[[{{{autor}}}]]|{{{autor|}}}}} | ||
| label2 = | | label2 = Escrito en | ||
| data2 = {{{ | | data2 = {{{escrito en|}}} | ||
| label3 = | | label3 = Hablado en | ||
| data3 = {{{ | | data3 = {{{hablado en|}}} | ||
| label4 = | | label4 = Editora | ||
| data4 = {{{ | | data4 = {{{editora|}}} | ||
| label5 = | | label5 = Publicado por primera vez | ||
| data5 = {{{ | | data5 = {{{fecha_de_publicacion|}}}{{#if:{{{lugar_de_publicacion|}}}|<br/>{{{lugar_de_publicacion}}}}} | ||
| label6 = | | label6 = Edición | ||
| data6 = {{{ | | data6 = {{{fecha_de_edicion|}}} | ||
| label7 = | | label7 = Tipo | ||
| data7 = {{{ | | data7 = {{{tipo|}}} | ||
| label8 = ISBN | | label8 = ISBN | ||
| data8 = {{{isbn|}}} | | data8 = {{{isbn|}}} | ||
| label9 = | | label9 = Fuente | ||
| data9 = {{{ | | data9 = {{{fuente|}}} | ||
| label0 = | | label0 = Audiolibro | ||
| data10 = {{{ | | data10 = {{{audiolibro|}}} | ||
}} | }} | ||
Línea 78: | Línea 78: | ||
{ | { | ||
"params": { | "params": { | ||
" | "titulo": { | ||
"label": "Título", | "label": "Título", | ||
"description": "Título de la obra", | "description": "Título de la obra", | ||
Línea 85: | Línea 85: | ||
}, | }, | ||
"_subheader": {}, | "_subheader": {}, | ||
" | "autor": { | ||
"label": "Autor", | "label": "Autor", | ||
"description": "Autor del trabajo fuente. No hay necesidad de agregar braquetes de enlace [[ ]]. La infobox lo hace automáticamente. ", | "description": "Autor del trabajo fuente. No hay necesidad de agregar braquetes de enlace [[ ]]. La infobox lo hace automáticamente. ", | ||
Línea 91: | Línea 91: | ||
"required": true | "required": true | ||
}, | }, | ||
" | "imagen": { | ||
"label": " | "label": "Imagen", | ||
"description": "Book cover", | "description": "Book cover", | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
Línea 105: | Línea 105: | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
" | "escrito en": { | ||
"label": " | "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 | ||
}, | }, | ||
" | "tipo": { | ||
"label": " | "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 118: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "fuente": { | ||
"label": " | "label": "Fuente", | ||
"description": "URL of the work", | "description": "URL of the work", | ||
"type": "url", | "type": "url", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "audiolibro": { | ||
"label": " | "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 136: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "editora": { | ||
"label": " | "label": "Editorial", | ||
"description": "Who published this edition", | "description": "Who published this edition", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "fecha_de_publicacion": { | ||
"label": " | "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 | ||
}, | }, | ||
" | "lugar_de_publicacion": { | ||
"label": " | "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 | ||
}, | }, | ||
" | "fecha_de_edicion": { | ||
"label": " | "label": "Edición", | ||
"description": "When was this edition printed", | "description": "When was this edition printed", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "hablado_en": { | ||
"label": " | "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", | ||
Línea 169: | Línea 169: | ||
"description": "Adds a small infobox with information for Library works", | "description": "Adds a small infobox with information for Library works", | ||
"paramOrder": [ | "paramOrder": [ | ||
" | "titulo", | ||
" | "imagen", | ||
"caption", | "caption", | ||
" | "autor", | ||
" | "escrito en", | ||
" | "hablado_en", | ||
" | "editora", | ||
" | "fecha_de_publicacion", | ||
" | "lugar_de_publicacion", | ||
" | "fecha_de_edicion", | ||
" | "tipo", | ||
"isbn", | "isbn", | ||
" | "fuente", | ||
" | "audiolibro", | ||
"_subheader", | "_subheader", | ||
"image_upright", | "image_upright", |
Revisión del 21:40 4 dic 2023
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ámetro | Descripción | Tipo | Estado | |
---|---|---|---|---|
Título | titulo | Título de la obra | Cadena | obligatorio |
Imagen | imagen | Book cover | Archivo | sugerido |
Caption | caption | Caption of the image, usually for information about the edition of the cover | Cadena | opcional |
Autor | autor | Autor del trabajo fuente. No hay necesidad de agregar braquetes de enlace [[ ]]. La infobox lo hace automáticamente. | Cadena | obligatorio |
Escrito en | escrito en | Date or period the work was written | Fecha | sugerido |
Hablado_en | hablado_en | For speeches, the date it was spoken on | Cadena | sugerido |
Editorial | editora | Who published this edition | Cadena | sugerido |
Primeramente publicado en | fecha_de_publicacion | Date the book was first published | Fecha | sugerido |
Lugar donde fue publicado | lugar_de_publicacion | Location the work was published | Cadena | sugerido |
Edición | fecha_de_edicion | When was this edition printed | Cadena | sugerido |
Tipo | tipo | Type of work
| Cadena | sugerido |
ISBN | isbn | ISBN number of the work | Número | sugerido |
Fuente | fuente | URL of the work | URL | sugerido |
Audiolibro | audiolibro | URL of an audiobook reading of the work | URL | sugerido |
_subheader | _subheader | sin descripción | Desconocido | opcional |
image_upright | image_upright | sin descripción | Desconocido | opcional |
image_alt | image_alt | sin descripción | Desconocido | opcional |
image_size | image_size | sin descripción | Desconocido | opcional |