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

Om indholdet af hjemmesiden

Alle oplysninger på dette websted er udelukkende til undervisningsformål. Det er din læge, der er det rette sted at få specifik medicinsk rådgivning, diagnoser og behandling. Brug af dette websted sker udelukkende på eget ansvar. Hvis du finder noget, som du mener, der skal rettes eller præciseres, bedes du give os besked på: 

Send en e-mail: info@cdlsWorld.org