Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Composition Setup
deck.tab.active.background = #6495ED
HELP
Section
Column
width20%15%
Excerpt Include
pluglib:Advanced Macros Pluginpluglib:
Advanced Macros Plugin
nopaneltrue
Column
width60%
Deck of Cards
width907px
idBasic Macro Plugin
Card
labelOverview

Basic Macros

This plugin includes basic macros for linking and formatting content.

This plugin includes the following macros:
  • anchor - Create an anchor that allows people to link to a specific point in a page.
  • quote - Generate blockquotes that may contain multiple paragraphs or complex markup.
  • noformat - Create blocks of text where other wiki formatting is not applied.
  • panel - Draw Draws a panel with an optional title and border.
  • color - Change the colour of the contained text.
  • loremipsum - Insert paragraphs of "lorem ipsum" space-filler text.
  • nolink and - Suppress rendering of a CamelCase link.
Card
labelDocumentation
Deck of Cards
idbasicm

Card
labelanchor

Anchor
My Anchor
My Anchor

Create an anchor that allows users to link to a specific point in a page. An anchor is composed of the link and the content you are linking to (anchor).

The Code

The anchor :

Code Block

{anchor:My Anchor}

The link:

Code Block

[#My Anchor]

Toggle Cloak
idcloak
Result

Cloak
idcloak

The anchor itself is invisible, but the link will be displayed. Try clicking the link:

#My Anchor

It brings the top of the screen to the line where the anchor is placed. In this case, the anchor is located above the sentence, "Create an anchor that allows users...".

All headings ARE anchors
Card
labelqoute

Generate blockquotes that may contain multiple paragraphs or complex markup.

The Code

Code Block

{quote}
Some quoted content}
{quote}

Toggle Cloak
idcloak1
Result

Cloak
idcloak1

Some 'unqouted' content

Some quoted content

Some more 'unqouted' content.

loremipsum
Card
labelnoformat

The Noformat Macro displays a block of text in monospace font with no other formatting.

The Code

Code Block

{noformat
Card
labelpanel
Card
labelcolor
}
Some non-formatted text.
{noformat}

Toggle Cloak
idcloak2
Result

Cloak
idcloak2

Some formatted text.

Some more formatted text.

Toggle Cloak
idcloak3
Parameters

Cloak
idcloak3

Name

Required?

Default

Description

nopanel

false

Removes the bordering panel.

Card
label

Card
labelnolink
Card
panel

Draws a panel with an optional title and border.

The Code

Default Panel:

Code Block

{panel}
Some content.
{panel}

Panel with a dashed, colored border:

Code Block

{panel:borderStyle=dashed|borderColor=red}
Some content.
{panel}

Panel with a title and solid, colored border:

Code Block

{panel:title=My Panel|borderStyle=solid|borderColor=blue}
Some content.
{panel}

Panel with a colored background and title:

Code Block

{panel:bgColor=#FFCCFF|title=My Title|titleBGColor=yellow }
Some content.
{panel}

Toggle Cloak
idcloak4
Result

Cloak
idcloak4

Default Panel:

Some content.

Panel with a dashed, colored border:

dashedred

Some content.

Panel with a title and solid, colored border:

My Panelsolidblue

Some content.

Panel with a colored background and title:

#FFCCFFMy Titleyellow

Some content.

Toggle Cloak
id5
Parameters

Cloak
id5

Name

Required?

Default

Description

title

none

The title of the panel. If specified, this title will be displayed in its own title-row.

boderStyle

none

The style of the panel's border. Valid values are 'solid', 'dashed' and other valid CSS border styles.

borderColor

Grey

The colour of the panel's border. Accepts color name and hexadecimal color codes.

borderWidth

 

The width of the panel's border (in pixels).

bgColor

Grey

The background colour of the panel. Accepts color name and hexadecimal color codes.

titleBGColor

 

The background colour of the title-row of the panel. Accepts color name and hexadecimal color codes.

Card
labelcolor

Change the color of the contained text. You specify the color using the color name or hexadecimal code.

The Code

Code Block

{color:red}
Some colored text.
{color}

{color:#00FF00}
Some more colored text.
{color}

Toggle Cloak
idcloak6
Result

Cloak
idcloak6


Some colored text.


Some more colored text.

Cloak
loremipsum

Insert paragraphs of "lorem ipsum" space-filler text.

The Code

Three paragraghs:

One paragraph:

cloak7 Result

cloak7

Three paragraphs:

One paragragh:

1

Toggle Cloak
idcloak8
Parameters

Cloak
idcloak8

Name

Required?

Default

Description

N/A

3

Determines the number of paragraphs generated

Card
Card
labelnolink

The Nolink macro allows you to enter a web address or URL, without the browser automatically hyperlinking the URL.

The Code

Code Block

{nolink:https://wikis.mit.edu/confluence/display/MITDASHBOARD/Wikis}

Toggle Cloak
idcloak9
Result

Cloak
idcloak9

https://wikis.mit.edu/confluence/display/MITDASHBOARD/Wikis

Card

Deck of Cards

Round Rectangle
cornersfalse,false,true,true
bgcolor#828282
width909px
height50px

Column
width20%
Column
width20%
Panel
borderColor#828282
bgColorwhite
titleBGColor#828282
borderWidth1
titleTechnical Support
borderStyleridge

Help Desk
If you have encountered a problem using Wikis or have a comment or question about Wikis, please contact the Computing Helpdesk via email or at 617-253-1101, Monday - Friday 8-6 EST

Panel
borderColor#828282
bgColorwhite
titleBGColor#828282
borderWidth1
titleSearch Wiki Help Pages
borderStyleridge
Livesearch
spaceKey