Menú alternativo
Menú alternativo personal
No has accedido
Tu dirección IP será visible si haces alguna edición

Diferencia entre revisiones de «Plantilla:Obra de biblioteca»

De ProleWiki, la enciclopedia proletaria
Sin resumen de edición
m (Página blanqueada)
Etiquetas: Vaciado Revertido
Línea 1: Línea 1:
{{DISPLAYTITLE:{{{title}}}{{#if: {{{autor|}}}| ({{{autor|}}})|}} }}


<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|{{{titulo|}}}|{{BASEPAGENAME}}}}</div></div>
| subheaderstyle = font-size:100%;
| subheader = {{{subtitulo|}}}
| imageclass = logo
| imagestyle = padding-top:.4em;padding-bottom:.3em;
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{imagen|}}}|upright={{{image_upright|0.8}}}|alt={{{image_alt|}}}|size={{{image_size|}}}}}
| caption = {{{caption|}}}
| headerstyle = line-height: 0.8em; padding-top:0.5em; padding-bottom:0;
| labelstyle = line-height:1.3em;
| datastyle = line-height:1.3em;
| label1  = Autor
|  data1  = {{#ifexist:{{{autor|}}}|[[{{{autor}}}]]|{{{autor|}}}}}
| label2  = Escrito&nbsp;en
|  data2  = {{{escrito en|}}}
| label3  = Hablado en
|  data3  = {{{hablado en|}}}
| label4  = Editora
|  data4  = {{{editora|}}}
| label5  = Publicado por primera vez
|  data5  = {{{fecha_de_publicacion|}}}{{#if:{{{lugar_de_publicacion|}}}|<br/>{{{lugar_de_publicacion}}}}}
| label6  = Edición
|  data6  = {{{fecha_de_edicion|}}}
| label7  = Tipo
|  data7  = {{{tipo|}}}
| label8  = ISBN
|  data8  = {{{isbn|}}}
| label9  = Fuente
|  data9  = {{{fuente|}}}
| label0 = Audiolibro
| data10 = {{{audiolibro|}}}
}}
<noinclude>
How to use this template:
<nowiki>
{{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 =
}}
</nowiki>
<templatedata>
{
"params": {
"titulo": {
"label": "Título",
"description": "Título de la obra",
"type": "string",
"required": true
},
"_subheader": {},
"autor": {
"label": "Autor",
"description": "Autor del trabajo fuente. No hay necesidad de agregar braquetes de enlace [[ ]]. La infobox lo hace automáticamente. ",
"type": "string",
"required": true
},
"imagen": {
"label": "Imagen",
"description": "Book cover",
"type": "wiki-file-name",
"suggested": true
},
"image_upright": {},
"image_alt": {},
"image_size": {},
"caption": {
"label": "Caption",
"description": "Caption of the image, usually for information about the edition of the cover",
"type": "string"
},
"escrito en": {
"label": "Escrito en",
"description": "Date or period the work was written",
"type": "date",
"suggested": true
},
"tipo": {
"label": "Tipo",
"description": "Type of work",
"example": "Book, pamphlet, leaflet, speech, video",
"type": "string",
"suggested": true
},
"fuente": {
"label": "Fuente",
"description": "URL of the work",
"type": "url",
"suggested": true
},
"audiolibro": {
"label": "Audiolibro",
"description": "URL of an audiobook reading of the work",
"type": "url",
"suggested": true
},
"isbn": {
"label": "ISBN",
"description": "ISBN number of the work",
"type": "number",
"suggested": true
},
"editora": {
"label": "Editorial",
"description": "Who published this edition",
"type": "string",
"suggested": true
},
"fecha_de_publicacion": {
"label": "Primeramente publicado en",
"description": "Date the book was first published",
"type": "date",
"suggested": true
},
"lugar_de_publicacion": {
"label": "Lugar donde fue publicado",
"description": "Location the work was published",
"type": "string",
"suggested": true
},
"fecha_de_edicion": {
"label": "Edición",
"description": "When was this edition printed",
"type": "string",
"suggested": true
},
"hablado_en": {
"label": "Hablado_en",
"description": "For speeches, the date it was spoken on",
"type": "string",
"suggested": true
}
},
"description": "Adds a small infobox with information for Library works",
"paramOrder": [
"titulo",
"imagen",
"caption",
"autor",
"escrito en",
"hablado_en",
"editora",
"fecha_de_publicacion",
"lugar_de_publicacion",
"fecha_de_edicion",
"tipo",
"isbn",
"fuente",
"audiolibro",
"_subheader",
"image_upright",
"image_alt",
"image_size"
]
}
</templatedata></noinclude>

Revisión del 05:35 9 dic 2023