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

À propos du contenu du site Web

Toutes les informations contenues dans ce site Web sont uniquement destinées à des fins éducatives. Pour obtenir des conseils, des diagnostics et des traitements médicaux spécifiques, adressez-vous à votre médecin. L'utilisation de ce site est strictement à vos propres risques. Si vous trouvez quelque chose qui, selon vous, nécessite une correction ou une clarification, veuillez nous en faire part à l'adresse suivante : 

Envoyez un courriel : info@cdlsWorld.org