Ir al contenido

Plantilla:Charts

De Wikipedia, la enciclopedia libre


Icono de documentación de plantilla Documentación de la plantilla[ver] [editar] [historial] [purgar]

Plantillas de copia

Estandar

{{Charts|chart=.chart}}

Completo

{{Charts
| chart      = 
| data       = 
| thumb      =
| align      = 
| width      = 
| border     = 
| style      = 
| caption    =
| source     = 
}}

o

{{Chart|thumb|align|width|caption|chart=.chart|data=.tab|border=|style=}}

Ejemplo

Completo

{{Charts
| chart = Autobahn network length.Line.chart
}}

No se encontró la página de definición del gráfico.

Otra fuente de datos y frontera

{{Charts
| chart      = Monthly stream discharges.chart
| data       = GRDC-1530100 monthly discharge.tab
| border     = 1
}}
Caudal en m³/sMes0100200300400500EneMarMayJulSepNovMinPromedioMaxHidrograma: Caudal mensual

thumbnail, subtitulo, y fuente

{{Charts
| thumb
| caption = Autobahn network length.
| source  = Autobahn network length.tab
| chart   = Autobahn network length.Line.chart
}}
Length in kilometresYear03 mil6 mil9 mil12 mil15 mil193219551991200220102018ReichsautobahnBundesautobahn (West Germany)Bundesautobahn (Germany)Development of the length of the Reichsautob...
Autobahn network length. View datos de origen.

en contra

alineado y ancho fijo

{{Charts
| chart      = Autobahn network length.Line.chart
| align      = right
| width      = 400px
}}
Length in kilometresYear03 mil6 mil9 mil12 mil15 mil193219551991200220102018ReichsautobahnBundesautobahn (West Germany)Bundesautobahn (Germany)Development of the length of the Reichsautob...

aligned and fixed width thumbnail

{{Charts
| thumb
| chart      = Autobahn network length.Line.chart
| align      = left
| width      = 400px
}}
Length in kilometresYear03 mil6 mil9 mil12 mil15 mil193219551991200220102018ReichsautobahnBundesautobahn (West Germany)Bundesautobahn (Germany)Development of the length of the Reichsautob...

en contra

centrado, ancho fijo, borde, título y fuente

{{Charts
| chart      = Autobahn network length.Line.chart
| align      = center
| width      = 400px
| caption    = Autobahn network length.
| source     = Autobahn network length.tab
}}
Length in kilometresYear03 mil6 mil9 mil12 mil15 mil193219551991200220102018ReichsautobahnBundesautobahn (West Germany)Bundesautobahn (Germany)Development of the length of the Reichsautob...
Autobahn network length. View datos de origen.

Plantilla info

Esta es la documentación de la plantilla, generada mediante TemplateData, que es utilizada también para su inserción y modificación en el editor visual.

TemplateData para Charts

Includes a chart ([[Help:Charts]]) with source attribution and allows adjusting alignment, width, and border.

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

ParámetroDescripciónTipoEstado
Display as thumbnailthumb 1

Set to any value to display in a gray box like an image thumbnail

Valores sugeridos
thumb
Ejemplo
thumb
Líneaopcional
Alignmentalign 2

Chart alignment, either "left", "right", or "center"

Valores sugeridos
left right center
Líneaopcional
Widthwidth 3

Width in pixels or percent

Valores sugeridos
400px 600px 50% 100%
Líneaopcional
Captioncaption 4

Caption to display before the source information. Make sure to use ending punctuation.

Ejemplo
This is a chart caption.
Cadenaopcional
Chart definitionchart definition

Chart on Wikimedia Commons, without the "Data:" prefix

Ejemplo
Example.chart
Líneaobligatorio
Chart datadata

.tab on Wikimedia Commons, without the "Data:" prefix (overrides the specification in the chart definition)

Ejemplo
Example.tab
Líneasugerido
Source attributionsource

Source .tab file to be linked at the bottom, without the "Data:" prefix. If not specified, it will fallback to displaying the value of "data" or "chart".

Ejemplo
Example.tab
Líneasugerido
Borderborder

Set to "1" to enable a border

Valores sugeridos
1
Ejemplo
1
Lógicoopcional
CSS stylesstyle

Additional CSS styles (beyond width and border)

Ejemplo
border-width:5px;
Líneaopcional
Hide sourcehideSource

Set to any value to disable linking to the source

Valores sugeridos
1
Ejemplo
1
Lógicoopcional

Ver tambien

Esta documentación está transcluida desde Plantilla:Charts/doc.
Los editores pueden experimentar en la zona de pruebas (crear) y en los casos de prueba (crear) de la plantilla.
Por favor, añade las categorías en la subpágina de documentación. Subpáginas de esta plantilla.