User:JimTittsler/Quiz GIFT Formatting
Experiments in GIFT Quiz Format rendering in the wiki.
Import
// question: 0 name: Switch category to $system$/Default for System $CATEGORY: $system$/Default for System
// question: 28 name: Question name here
- Question name here::[html]
Question text here
{
- Question name here::[html]
choice 1
#feedback 1
~choice 2
#feedback 2
~choice 3
#feedback 3
####General feedback here
}
// question: 29 name: True/False Question Name
- True/False Question Name::[html]
True/False Question text
{FALSE#Feedback for True
#Feedback for False
####True/False General feedback
}// question: 0 name: Switch category to $course$/Default for MBT
- True/False Question Name::[html]
$CATEGORY: $course$/Default for MBT
// question: 31 name: Description name
- Description name::[html]
Description text
- Description name::[html]
// question: 30 name: Short answer name
- Short answer name::[html]
Short answer text
{
- Short answer name::[html]
=%100%answer1#
####Short answer general feedback
}
Original recovery
dl\s*dd\s*\dl\s*\dd | :: |
/dl | {} |
/dd | {} |
p | {} |
/p | space |
br_/ | \n |
Import Pre
Import NoWiki
// question: 0 name: Switch category to $system$/Default for System $CATEGORY: $system$/Default for System // question: 28 name: Question name here ::Question name here::[html]<p>Question text here</p>{ =<p>choice 1</p>#<p>feedback 1</p> ~<p>choice 2</p>#<p>feedback 2</p> ~<p>choice 3</p>#<p>feedback 3</p> ####<p>General feedback here</p> } // question: 29 name: True/False Question Name ::True/False Question Name::[html]<p>True/False Question text</p>{FALSE#<p>Feedback for True</p>#<p>Feedback for False</p>####<p>True/False General feedback</p>} // question: 0 name: Switch category to $course$/Default for MBT $CATEGORY: $course$/Default for MBT // question: 31 name: Description name ::Description name::[html]<p>Description text</p> // question: 30 name: Short answer name ::Short answer name::[html]<p>Short answer text</p>{ =%100%answer1# ####<p>Short answer general feedback</p> }