CitationBox Macro
Styled citation box with XWiki content inside |
Type | XAR |
Category | |
Developed by | |
Rating | |
License | GNU Lesser General Public License 2.1 |
Description
Inserts into text styled Citation Box.
Example Usage:
Death is not the **worst** that can happen to men.
{{/cbox}}
Result:
Parameters:
Name | Mandatory | Default Value | Description |
---|---|---|---|
name | No | None | A name of person citation belongs to. (Eg. 'Heraclitus') |
title | No | None | A title of person citation belongs to. (Eg. 'Ancient philosopher') |
align | No | right | Box align. Options: left, right. |
width | No | 45% | Width of the box. Any css width specification (Eg. 75% or 300px ) |
color | No | None | Background color of the box. Any css color specification (Eg. red) |
shadow | No | yes | An optional shadow of the citation box. Options: yes, no |
textflow | No | no | Text flow around the citation box. Options: yes, no |
ruler | No | no | Horizontal line between citation and Authors name. Options: yes, no |
CitationBox Macro was inspired by MBox Macro.
Prerequisites & Installation Instructions
We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.
You can also use the following manual method, which is useful if this extension cannot be installed with the Extension Manager or if you're using an old version of XWiki that doesn't have the Extension Manager:
- Log in the wiki with a user having Administration rights
- Go to the Administration page and select the Import category
- Follow the on-screen instructions to upload the downloaded XAR
- Click on the uploaded XAR and follow the instructions
- You'll also need to install all dependent Extensions that are not already installed in your wiki
In addition:
- Check instructions in Macro.CitationBox in your wiki
- Have fun :-)
Release Notes
v1.1
Support of native XWiki syntax for line break added