Más idiomas
Más acciones
mSin resumen de edición |
mSin resumen de edición |
||
Línea 60: | Línea 60: | ||
"title": { | "title": { | ||
"label": "Título", | "label": "Título", | ||
"description": "Título | "description": "Título para la caja que contendrá la cita", | ||
"type": "string", | "type": "string", | ||
" | "suggested": true | ||
}, | }, | ||
"author": { | "author": { | ||
"label": "Autor", | "label": "Autor", | ||
"description": "Autor de la obra citada", | "description": "Autor de la obra citada", | ||
"type": "string", | |||
"required": true | |||
}, | |||
"source": { | |||
"label": "Fuente", | |||
"description": "Obra citada", | |||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
Línea 80: | Línea 86: | ||
"title", | "title", | ||
"author", | "author", | ||
"source", | |||
"quote" | "quote" | ||
] | ] |
Revisión del 23:59 15 oct 2024
Usage:
{{Quote box |title = |quote = |author = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyle = |quoted = |salign = |sstyle = }}
Sin descripción.
Parámetro | Descripción | Tipo | Estado | |
---|---|---|---|---|
Título | title | Título para la caja que contendrá la cita | Cadena | sugerido |
Autor | author | Autor de la obra citada | Cadena | obligatorio |
Fuente | source | Obra citada | Cadena | obligatorio |
Cita | quote | Texto a citar | Cadena | obligatorio |
Example:
{{Quote box | author = Karl Marx | quote = The weapon of criticism cannot, of course, replace criticism of the weapon, material force must be overthrown by material force; but theory also becomes a material force as soon as it has gripped the masses. Theory is capable of gripping the masses as soon as it demonstrates ad hominem, and it demonstrates ad hominem as soon as it becomes radical. To be radical is to grasp the root of the matter. | source = ''Critique of Hegel's philosophy of right'', Introduction }}
Karl Marx, Critique of Hegel's philosophy of right, Introduction
Adding width:
{{Quote box | author = Karl Marx | quote = The weapon of criticism cannot, of course, replace criticism of the weapon, material force must be overthrown by material force; but theory also becomes a material force as soon as it has gripped the masses. Theory is capable of gripping the masses as soon as it demonstrates ad hominem, and it demonstrates ad hominem as soon as it becomes radical. To be radical is to grasp the root of the matter. | source = ''Critique of Hegel's philosophy of right'', Introduction | width = 20% }}
Karl Marx, Critique of Hegel's philosophy of right, Introduction
Quote boxes also wrap around text:
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Aligning:
{{Quote box | author = Karl Marx | quote = The weapon of criticism cannot, of course, replace criticism of the weapon, material force must be overthrown by material force; but theory also becomes a material force as soon as it has gripped the masses. Theory is capable of gripping the masses as soon as it demonstrates ad hominem, and it demonstrates ad hominem as soon as it becomes radical. To be radical is to grasp the root of the matter. | source = ''Critique of Hegel's philosophy of right'', Introduction | width = 20% | align = left }}
Karl Marx, Critique of Hegel's philosophy of right, Introduction
Now the template is aligned left. It can be centered as well.