CitationBox Macro


Prerequisites:

None.

Installation:

Download XAR and import it into your main xwiki with programming rights.

Example Usage:

{{cbox name="Plato" title="Greek author & philosopher in Athens (427 BC - 347 BC)" ruler="yes"}}
Death is not the **worst** that can happen to men.
{{/cbox}}

Note, that you can use \\ or carriage return inside citation to put line break in a desired place.

Result:

Death is not the worst that can happen to men.
Plato
Greek author & philosopher in Athens (427 BC - 347 BC)

Parameters:

NameMandatoryDefault ValueDescription
nameNoNone A name of person citation belongs to. (Eg. 'Heraclitus')
titleNoNone A title of person citation belongs to. (Eg. 'Ancient philosopher')
alignNoright Box align. Options: left, right.
widthNo45% Width of the box. Any css width specification  (Eg. 75% or 300px )
colorNoNoneBackground color of the box. Any css color specification (Eg. red)
shadowNoyes An optional shadow of the citation box. Options: yes, no
textflowNono Text flow around the citation box. Options: yes, no
rulerNono Horizontal line between citation and Authors name. Options: yes, no

CitationBox Macro was inspired by MBox Macro

Sobre el contenido del sitio web

Toda la información contenida en este sitio web tiene únicamente fines educativos. El lugar para obtener consejos médicos específicos, diagnósticos y tratamientos es su médico. El uso de este sitio es estrictamente bajo su propio riesgo. Si encuentra algo que cree que necesita ser corregido o aclarado, por favor háganoslo saber en: 

Envíe un correo electrónico: info@cdlsWorld.org