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 o conteúdo do sítio web

Toda a informação contida neste WebSite é apenas para fins educativos. O local para obter aconselhamento médico específico, diagnósticos e tratamento é o seu médico. A utilização deste site é estritamente por sua conta e risco. Se encontrar algo que considere necessário corrigir ou esclarecer, por favor informe-nos em: 

Envie um e-mail: info@cdlsWorld.org