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
{
Wiki Markup
Composition Setup
}
deck.tab.active.background = #6495ED
{composition-setup}
{section}
{column:width=15%}
{
Section
Column
width15%
Excerpt Include
:
Advanced
Macros
Plugin
|
nopanel
=true} {column} {column:width=60%} {deck:id=Survey|width=907px} {card:label=Overview} h4. Survey Macros Creates a survey in a Wiki page. h5. This plugin includes the following macros: * *vote* - Creates a simple survey. * *survey* - Creates a more complex survey, with multiple 'questions', the ability to add comments, and a survey summary. {card} {card:label=Documentation} {deck:id=surveym} {card:label=vote} Creates a simple survey. h3. The Code Simple survey with changeable votes: {code}
true
Advanced Macros Plugin
Column
width60%
Deck of Cards
width907px
idSurvey
Card
labelOverview

Survey Macros

Creates a survey in a Wiki page.

This plugin includes the following macros:
  • vote - Creates a simple survey.
  • survey - Creates a more complex survey, with multiple 'questions', the ability to add comments, and a survey summary.
Card
labelDocumentation
Deck of Cards
idsurveym

Card
labelvote

Creates a simple survey.

The Code

Simple survey with changeable votes:

Code Block

{vote}
{vote:What is your favorite color?|changeableVotes=true}
Red
Green
Blue
{vote}
{code} h3. {

Toggle Cloak

:

id

=

1

} Result {cloak:id=1} *Simple survey with changeable votes*: {vote:What is your favorite color?|changeableVotes=true} Red Green Blue {vote} {cloak} h3. {toggle-cloak:id=2} Parameters {cloak:id=2} {code} {vote:Title} option 1 option 2 option 3 {vote} {code} ||*Name*||*Required?*||*Default*||*Description*|| |changeableVote|(x)|false|Determines whether a user can revote.| |voters|(x)|All users with 'view' permissions on a page where survey is displayed |Determines who can vote (list Kerberos IDs in a comma separated list).| |viewers|(x)|All users with 'view' permissions on a page where survey is displayed |Determines who can view the survey results (list Kerberos IDs in a comma separated list).| {cloak} {card} {card:label=survey} Creates complex survey, with multiple 'questions', the ability to add comments, and a survey summary. h3. The Code A survey with changeable votes: {code}

Result

Cloak
id1

Simple survey with changeable votes:

Toggle Cloak
id2
Parameters

Cloak
id2

Name

Required?

Default

Description

changeableVote

false

Determines whether a user can revote.

voters

All users with 'view' permissions on a page where survey is displayed

Determines who can vote (list Kerberos IDs in a comma separated list).

viewers

All users with 'view' permissions on a page where survey is displayed

Determines who can view the survey results (list Kerberos IDs in a comma separated list).

Card
labelsurvey

Creates complex survey, with multiple 'questions', the ability to add comments, and a survey summary.

The Code

A survey with changeable votes:

Code Block

{survey:changeableVotes=true}
Knowledge - This is the knowledge category.
Communication Skills- This is the communication category.
Teaching skills - How good is he at teaching? 
{survey}
{code} h3. {

Toggle Cloak

:

id

=

3

} Result {cloak:id=3} *A survey with changeable votes*: {survey:changeableVotes=true} Knowledge - This is the knowledge category. Communication Skills- This is the communication category. Teaching skills - How good is he at teaching? {survey} {cloak} h3. {toggle-cloak:id=4} Parameters {cloak:id=4} ||*Name*||*Required?*||*Default*||*Description*|| |changeableVote|(x)|false|Determines whether a user can revote.| |voters|(x)|All users with 'view' permissions on a page where survey is displayed |Determines who can vote (list Kerberos IDs in a comma separated list).| |viewers|(x)|All users with 'view' permissions on a page where survey is displayed |Determines who can view the survey results (list Kerberos IDs in a comma separated list).| {cloak} {card} {deck} {card} {deck} {roundrect:bgcolor=#828282|width=909px|height=50px|corners=false,false,true,true} {roundrect} {column} {column:width=20%} {column} {section}

Result

Cloak
id3

A survey with changeable votes:

Toggle Cloak
id4
Parameters

Cloak
id4

Name

Required?

Default

Description

changeableVote

false

Determines whether a user can revote.

voters

All users with 'view' permissions on a page where survey is displayed

Determines who can vote (list Kerberos IDs in a comma separated list).

viewers

All users with 'view' permissions on a page where survey is displayed

Determines who can view the survey results (list Kerberos IDs in a comma separated list).

Card

Deck of Cards

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

Column
width20%