Wiki Markup |
---|
{composition-setup |
}
deck.tab.active.background = #6495ED
|
Section |
---|
Column |
---|
|
|
{composition-setup}
{section}
{column:width=15%}
{excerpt-include
pluglib:Advanced Macros
Pluginpluglib:Advanced Macros Plugin | nopanel | true |
---|
Column |
---|
|
Wiki Markup |
---|
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}
{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}
{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%=20%}
{column}
{section}